You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
397 B
10 lines
397 B
(import :std/net/request) |
|
(define api-output |
|
(lambda (stock-symbol) |
|
(let-values |
|
(((api-url api-function api-key) |
|
(values |
|
"https://www.alphavantage.co/query?function=~a&symbol=~a&apikey=~a" |
|
"TIME_SERIES_DAILY" |
|
"EC4C0NRKZAK1Q2UG" ) )) |
|
(request-text (http-get (format api-url api-function stock-symbol api-key))) ) ) )
|
|
|