get_timeseries
Fetch historical time series data (OHLCV, funding, etc.) as CSV per ticker from multiple sources with configurable intervals and row limits for analysis and comparison.
Instructions
Fetch historical data from AuraStream and return it as a CSV table per ticker (timestamp,Open,High,Low,Close,Volume for market bars; source-specific fields otherwise, see list_sources). Long results are cut to the most recent max_rows rows per ticker, with the total row count noted. Each call uses one unit of the user's monthly AuraStream allowance. Provider credentials come from the server's environment; never ask the user to paste them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date, YYYY-MM-DD. | |
| feed | No | alpaca only: iex (default) or sip (needs a paid Alpaca plan). | |
| mode | No | gdelt search queries only: share of coverage (default), article count, or tone. | |
| as_of | No | cftc only: stamp at Friday publication (release, default, no look-ahead) or Tuesday position date (report). | |
| dtype | No | 'bars' everywhere; binance also 'funding'/'orderbook'; oanda also 'orderbook'; alpaca also 'trades'/'quotes'; yahoo also 'earnings'. | bars |
| start | Yes | Start date, YYYY-MM-DD. | |
| period | No | edgar financials only: quarter (default) or annual. | |
| report | No | cftc only; default depends on the symbol. | |
| source | Yes | Data source id, see list_sources. | |
| dataset | No | finra: short_interest (default) or short_volume. edgar: insider (default) or financials. gdelt: themes. | |
| options | No | cftc only: include options (futures-equivalent). | |
| tickers | Yes | Tickers in the source's own format, e.g. ['BTCUSDT'] for binance, ['EUR_USD'] for oanda, ['SPY'] for yahoo, ['GC'] for cftc, ['gold:CH'] for hmrc. Batch several tickers in one call. | |
| category | No | bybit only: linear (default) or inverse. | |
| concepts | No | edgar financials only: XBRL concepts, e.g. ['Revenues']. | |
| interval | No | Bar size: upper-case M is minutes, lower-case m is months (15M = 15 minutes, 1m = one month). Support varies by source (list_sources shows each source's intervals). | 1d |
| max_rows | No | Max rows returned per ticker; the most recent rows are kept. | |
| reporter | No | comext only: EU27_2020 (default) or a member state, e.g. DE. | |
| frequency | No | fred and finnhub only: quarterly (default) or annual. | |
| assetclass | No | alpaca only. | |
| instrument | No | binance: spot (default) or perpetual (needed for dtype funding). kraken: futures (default) or spot. | |
| price_type | No | oanda only: A ask (default), B bid, M mid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |