@@ -25,34 +25,34 @@ def get_tiingo_symbols():
2525
2626class TiingoIEXHistoricalReader (_BaseReader ):
2727 """
28- Historical data from Tiingo on equities, ETFs and mutual funds,
29- with re-sampling capability. This query is limited to the last
30- 1,000 bars based in the endDate. So the startDate is moved if
31- it goes past the limit.
32-
33- Parameters
34- ----------
35- symbols : {str, List[str]}
36- String symbol or list of symbols
37- start : string, int, date, datetime, Timestamp
38- Starting date. Parses many different kind of date
39- representations (e.g., 'JAN-01-2010', '1/1/10', 'Jan, 1, 1980'). Defaults to
40- 20 years before current date.
41- end : string, int, date, datetime, Timestamp
42- Ending date
43- retry_count : int, default 3
44- Number of times to retry query request.
45- pause : float, default 0.1
46- Time, in seconds, of the pause between retries.
47- session : Session, default None
48- requests.sessions.Session instance to be used
49- freq : {str, None}
50- Re-sample frequency. Format is # + (min/hour); e.g. "15min" or "4hour".
51- If no value is provided, defaults to 5min. The minimum value is "1min".
52- Units in minutes (min) and hours (hour) are accepted.
53- api_key : str, optional
54- Tiingo API key . If not provided the environmental variable
55- TIINGO_API_KEY is read. The API key is *required*.
28+ Historical data from Tiingo on equities, ETFs and mutual funds,
29+ with re-sampling capability. This query is limited to the last
30+ 1,000 bars based in the endDate. So the startDate is moved if
31+ it goes past the limit.
32+
33+ Parameters
34+ ----------
35+ symbols : {str, List[str]}
36+ String symbol or list of symbols
37+ start : string, int, date, datetime, Timestamp
38+ Starting date. Parses many different kind of date
39+ representations (e.g., 'JAN-01-2010', '1/1/10', 'Jan, 1, 1980'). Defaults to
40+ 20 years before current date.
41+ end : string, int, date, datetime, Timestamp
42+ Ending date
43+ retry_count : int, default 3
44+ Number of times to retry query request.
45+ pause : float, default 0.1
46+ Time, in seconds, of the pause between retries.
47+ session : Session, default None
48+ requests.sessions.Session instance to be used
49+ freq : {str, None}
50+ Re-sample frequency. Format is # + (min/hour); e.g. "15min" or "4hour".
51+ If no value is provided, defaults to 5min. The minimum value is "1min".
52+ Units in minutes (min) and hours (hour) are accepted.
53+ api_key : str, optional
54+ Tiingo API key . If not provided the environmental variable
55+ TIINGO_API_KEY is read. The API key is *required*.
5656 """
5757
5858 def __init__ (
@@ -105,7 +105,7 @@ def _get_crumb(self, *args):
105105 pass
106106
107107 def _read_one_data (self , url , params ):
108- """ read one data from specified URL """
108+ """read one data from specified URL"""
109109 headers = {
110110 "Content-Type" : "application/json" ,
111111 "Authorization" : "Token " + self .api_key ,
@@ -207,7 +207,7 @@ def _get_crumb(self, *args):
207207 pass
208208
209209 def _read_one_data (self , url , params ):
210- """ read one data from specified URL """
210+ """read one data from specified URL"""
211211 headers = {
212212 "Content-Type" : "application/json" ,
213213 "Authorization" : "Token " + self .api_key ,
0 commit comments