This document was generated automatically. Please see README Generator for more info.
If CACHE_MAX_AGE
is set below a current heartbeat interval (120000ms), the extended cache TTL feature for out-of-market-hours in IEX endpoint that relies on heartbeats will not work.
If the value of WS_SUBSCRIPTION_TTL
is less than the value of CACHE_MAX_AGE
, there will be stale values in the cache.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | API endpoint for tiingo | string | https://api.tiingo.com/ |
||
✅ | API_KEY | API key for tiingo | string | ||
WS_API_ENDPOINT | websocket endpoint for tiingo | string | wss://api.tiingo.com |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
starter | 41 | Starter tier, 50 requests per hour. With a maximum of 1,000 requests per day (https://api.tiingo.com/about/pricing) | ||
power | 2080 | Power tier, 5,000 requests per hour. With a maximum of 50,000 requests per day (https://api.tiingo.com/about/pricing) | ||
commercial | 6250 | Commercial tier, 20,000 requests per hour. With a maximum of 150,000 requests per day (https://api.tiingo.com/about/pricing) |
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | commodities, crypto-lwba, crypto-synth, crypto-vwap, crypto, crypto_lwba, cryptolwba, cryptoyield, eod, forex, fx, iex, price, prices, realized-vol, realized-volatility, stock, top, volume, vwap, yield | crypto |
Supported names for this endpoint are: crypto
, crypto-synth
, price
, prices
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "crypto",
"base": "ETH",
"quote": "USD"
}
}
volume
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "volume",
"base": "ETH",
"quote": "USD"
}
}
top
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "top",
"base": "ETH",
"quote": "USD"
}
}
eod
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , coin , from , symbol , ticker |
The stock ticker to query | string |
Request:
{
"data": {
"endpoint": "eod",
"base": "USD"
}
}
Supported names for this endpoint are: iex
, stock
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , coin , from , symbol , ticker |
The stock ticker to query | string |
Request:
{
"data": {
"endpoint": "iex",
"base": "aapl"
}
}
Supported names for this endpoint are: commodities
, forex
, fx
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , from , market |
The asset to query | string | ||||
✅ | quote | to |
The quote to convert to | string |
Request:
{
"data": {
"endpoint": "forex",
"base": "GBP",
"quote": "USD"
}
}
Supported names for this endpoint are: crypto-vwap
, vwap
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "vwap",
"base": "ETH",
"quote": "USD"
}
}
Supported names for this endpoint are: crypto-lwba
, crypto_lwba
, cryptolwba
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
There are no examples for this endpoint.
Supported names for this endpoint are: cryptoyield
, yield
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | aprTerm | Yield apr term | string | 30Day , 90Day |
Request:
{
"data": {
"endpoint": "cryptoyield",
"aprTerm": "30Day"
}
}
Supported names for this endpoint are: realized-vol
, realized-volatility
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The base currency to query the realized volatility for | string | ||||
convert | quote , to |
The quote currency to convert the realized volatility to | string | USD |
||||
resultPath | The field to return within the result path | string | realVol30Day |
Request:
{
"data": {
"endpoint": "realized-vol",
"base": "ETH",
"convert": "USD",
"resultPath": "realVol30Day"
}
}
MIT License