@@ -25,9 +25,10 @@ def get_tiingo_symbols():
25
25
26
26
class TiingoIEXHistoricalReader (_BaseReader ):
27
27
"""
28
- Historical data from Tiingo on equities, ETFs and mutual funds, with re-sampling capability.
29
- This query is limited to the last 1,000 bars based in the endDate. So the startDate is moved
30
- if it goes past the limit.
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.
31
32
32
33
Parameters
33
34
----------
@@ -45,16 +46,18 @@ class TiingoIEXHistoricalReader(_BaseReader):
45
46
session : Session, default None
46
47
requests.sessions.Session instance to be used
47
48
freq : {str, None}
48
- Re-sample frequency. Format is # + (min/hour); e.g. "15min" or "4hour". If no value is provided,
49
- defaults to 5min. The minimum value is "1min". Units in minutes (min) and hours (hour) are accepted.
49
+ Re-sample frequency. Format is # + (min/hour); e.g. "15min" or "4hour".
50
+ If no value is provided, defaults to 5min. The minimum value is "1min".
51
+ Units in minutes (min) and hours (hour) are accepted.
50
52
api_key : str, optional
51
53
Tiingo API key . If not provided the environmental variable
52
54
TIINGO_API_KEY is read. The API key is *required*.
53
55
"""
54
56
55
- def __init__ (self , symbols , start = None , end = None , retry_count = 3 , pause = 0.1 , timeout = 30 , session = None , freq = None ,
56
- api_key = None ):
57
- super ().__init__ (symbols , start , end , retry_count , pause , timeout , session , freq )
57
+ def __init__ (self , symbols , start = None , end = None , retry_count = 3 , pause = 0.1 ,
58
+ timeout = 30 , session = None , freq = None , api_key = None ):
59
+ super ().__init__ (symbols , start , end , retry_count , pause , timeout ,
60
+ session , freq )
58
61
59
62
if isinstance (self .symbols , str ):
60
63
self .symbols = [self .symbols ]
0 commit comments