Stooq.com

class pandas_datareader.stooq.StooqDailyReader(symbols=None, start=None, end=None, retry_count=3, pause=0.1, session=None, chunksize=25)

Returns DataFrame/dict of Dataframes of historical stock prices from symbols, over date range, start to end.

Parameters
  • symbols (string, array-like object (list, tuple, Series), or DataFrame) – Single stock symbol (ticker), array-like object of symbols or DataFrame with index containing stock symbols.

  • start (string, int, date, datetime, Timestamp) – Starting date. Parses many different kind of date representations (e.g., ‘JAN-01-2010’, ‘1/1/10’, ‘Jan, 1, 1980’). Defaults to 20 years before current date.

  • end (string, int, date, datetime, Timestamp) – Ending date

  • retry_count (int, default 3) – Number of times to retry query request.

  • pause (int, default 0.1) – Time, in seconds, to pause between consecutive queries of chunks. If single value given for symbol, represents the pause between retries.

  • chunksize (int, default 25) – Number of symbols to download consecutively before initiating pause.

  • session (Session, default None) – requests.sessions.Session instance to be used

  • freq (string, d, w, m ,q, y for daily, weekly, monthly, quarterly, yearly) –

Notes

See Stooq

close()

Close network session

property default_start_date

Default start date for reader. Defaults to 5 years before current date

property params

Parameters to use in API calls

read()

Read data

property url

API URL