Created
June 14, 2019 07:46
-
-
Save SchlenkR/f44274b775d0436ffc3af0f0fc62556a to your computer and use it in GitHub Desktop.
Some http calls for alphavantage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// paket FsHttp | |
open FSharp.Data | |
open FSharp.Data.JsonExtensions | |
open FsHttp | |
open FsHttp.Dsl | |
let call s = | |
let url = "https://www.alphavantage.co/query?" + s + "&apikey=TODO" | |
get url .> expand | |
call "function=TIME_SERIES_INTRADAY | |
&symbol=MSFT | |
&outputsize=compact | |
&datatype=csv | |
&interval=1min" | |
call "function=SYMBOL_SEARCH | |
&keywords=bmw" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment