@@ -25,9 +25,10 @@ def get_tiingo_symbols():
2525
2626class TiingoIEXHistoricalReader (_BaseReader ):
2727 """
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.
3132
3233 Parameters
3334 ----------
@@ -45,16 +46,18 @@ class TiingoIEXHistoricalReader(_BaseReader):
4546 session : Session, default None
4647 requests.sessions.Session instance to be used
4748 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.
5052 api_key : str, optional
5153 Tiingo API key . If not provided the environmental variable
5254 TIINGO_API_KEY is read. The API key is *required*.
5355 """
5456
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 )
5861
5962 if isinstance (self .symbols , str ):
6063 self .symbols = [self .symbols ]
0 commit comments