Tiingo

class pandas_datareader.tiingo.TiingoDailyReader(symbols, start=None, end=None, retry_count=3, pause=0.1, timeout=30, session=None, freq=None, api_key=None)

Historical daily data from Tiingo on equities, ETFs and mutual funds

Parameters:
  • symbols ({str, List[str]}) – String symbol of like of symbols
  • start (str, (defaults to '1/1/2010')) – Starting date, timestamp. Parses many different kind of date representations (e.g., ‘JAN-01-2010’, ‘1/1/10’, ‘Jan, 1, 1980’)
  • end (str, (defaults to today)) – Ending date, timestamp. Same format as starting date.
  • retry_count (int, default 3) – Number of times to retry query request.
  • pause (float, default 0.1) – Time, in seconds, of the pause between retries.
  • session (Session, default None) – requests.sessions.Session instance to be used
  • freq ({str, None}) – Not used.
  • api_key (str, optional) – Tiingo API key . If not provided the environmental variable TIINGO_API_KEY is read. The API key is required.
close()

Close network session

params

Parameters to use in API calls

read()

Read data from connector

url

API URL

class pandas_datareader.tiingo.TiingoQuoteReader(symbols, start=None, end=None, retry_count=3, pause=0.1, timeout=30, session=None, freq=None, api_key=None)

Read quotes (latest prices) from Tiingo

Parameters:
  • symbols ({str, List[str]}) – String symbol of like of symbols
  • start (str, (defaults to '1/1/2010')) – Not used.
  • end (str, (defaults to today)) – Not used.
  • retry_count (int, default 3) – Number of times to retry query request.
  • pause (float, default 0.1) – Time, in seconds, of the pause between retries.
  • session (Session, default None) – requests.sessions.Session instance to be used
  • freq ({str, None}) – Not used.
  • api_key (str, optional) – Tiingo API key . If not provided the environmental variable TIINGO_API_KEY is read. The API key is required.

Notes

This is a special case of the daily reader which automatically selected the latest data available for each symbol.

close()

Close network session

read()

Read data from connector

url

API URL

class pandas_datareader.tiingo.TiingoMetaDataReader(symbols, start=None, end=None, retry_count=3, pause=0.1, timeout=30, session=None, freq=None, api_key=None)

Read metadata about symbols from Tiingo

Parameters:
  • symbols ({str, List[str]}) – String symbol of like of symbols
  • start (str, (defaults to '1/1/2010')) – Not used.
  • end (str, (defaults to today)) – Not used.
  • retry_count (int, default 3) – Number of times to retry query request.
  • pause (float, default 0.1) – Time, in seconds, of the pause between retries.
  • session (Session, default None) – requests.sessions.Session instance to be used
  • freq ({str, None}) – Not used.
  • api_key (str, optional) – Tiingo API key . If not provided the environmental variable TIINGO_API_KEY is read. The API key is required.
close()

Close network session

read()

Read data from connector

url

API URL

pandas_datareader.tiingo.get_tiingo_symbols()

Get the set of stock symbols supported by Tiingo

Returns:symbols – DataFrame with symbols (ticker), exchange, asset type, currency and start and end dates
Return type:DataFrame

Notes

Reads https://apimedia.tiingo.com/docs/tiingo/daily/supported_tickers.zip