![]() This API returns raw (as-traded) daily time series (date, daily open, daily high, daily low, daily close, daily volume) of the global equity specified, covering 20+ years of historical data. ❚ If you are a spreadsheet user (e.g., Excel or Google Sheets), please check out our dedicated spreadsheet add-ons. ![]() ❚ Looking for more programming languages? The open-source community has developed over 600 libraries for Alpha Vantage across 20+ programming languages and frameworks - you may want to give them a try. For an informative blog postĭynamic json_data = JsonSerializer.Deserialize>(client.DownloadString(queryUri)) NET Core libraries to parse JSON is more complicated. JavaScriptSerializer js = new JavaScriptSerializer() ĭynamic json_data = js.Deserialize(client.DownloadString(queryUri), typeof(object)) Using (WebClient client = new WebClient()) replace the "demo" apikey below with your own key from This requires including the reference to in your project function=TIME_SERIES_INTRADAY& symbol=IBM& interval=5min& apikey=demo& datatype=csv function=TIME_SERIES_INTRADAY& symbol=IBM& interval=5min& month=2009-01& outputsize=full& apikey=demo Any month in the last 20+ years (since 2000-01) is supported function=TIME_SERIES_INTRADAY& symbol=IBM& interval=5min& outputsize=full& apikey=demo Query intraday data for a given month in history (e.g., 2009-01). function=TIME_SERIES_INTRADAY& symbol=IBM& interval=5min& apikey=demo Query the most recent full 30 days of intraday data by setting outputsize=full Claim your free API key here.Įxamples (click for JSON output) The API will return the most recent 100 intraday OHLCV bars by default when the outputsize parameter is not set Strings json and csv are accepted with the following specifications: json returns the intraday time series in JSON format csv returns the time series as a CSV (comma separated value) file. The "compact" option is recommended if you would like to reduce the data size of each API call.īy default, datatype=json. Strings compact and full are accepted with the following specifications: compact returns only the latest 100 data points in the intraday time series full returns trailing 30 days of the most recent intraday data if the month parameter (see above) is not specified, or the full intraday data for a specific month in history if the month parameter is specified. Any month in the last 20+ years since 2000-01 (January 2000) is supported.īy default, outputsize=compact. You can use the month parameter (in YYYY-MM format) to query a specific month in history. Set extended_hours=false to query regular trading hours (9:30am to 4:00pm US Eastern Time) only.īy default, this parameter is not set and the API will return intraday data for the most recent days of trading. Set adjusted=false to query raw (as-traded) intraday values.īy default, extended_hours=true and the output time series will include both the regular trading hours and the extended trading hours (4:00am to 8:00pm Eastern Time for the US market). The following values are supported: 1min, 5min, 15min, 30min, 60minīy default, adjusted=true and the output time series is adjusted by historical split and dividend events. Time interval between two consecutive data points in the time series. In this case, function=TIME_SERIES_INTRADAY The OHLCV data is sometimes called "candles" in finance literature. You can query both raw (as-traded) and split/dividend-adjusted intraday data from this endpoint. This API returns current and 20+ years of historical intraday OHLCV time series of the equity specified, covering extended trading hours where applicable (e.g., 4:00am to 8:00pm Eastern Time for the US market). A lightweight ticker quote endpoint and several utility functions such as ticker search and market open/closure status are also included for your convenience. This suite of APIs provide global equity data in 4 different temporal resolutions: (1) daily, (2) weekly, (3) monthly, and (4) intraday, with 20+ years of historical depth. Claim your free API key today to explore our full API offerings! Time Series Stock Data APIs Examples in this documentation are for demo purposes. Our stock APIs © are grouped into seven (7) categories: (1) Core Time Series Stock Data APIs, (2) Alpha Intelligence™, (3) Fundamental Data, (4) Physical and Digital/Crypto Currencies (e.g., Bitcoin), (5) Commodities, (6) Economic Indicators, and (7) Technical Indicators.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |