File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,29 @@ class EcondbReader(_BaseReader):
1010 _format = None
1111 _show = "labels"
1212
13- def __init__ (self , * args , ** kwargs ):
14- super ().__init__ (** kwargs )
13+ def __init__ (
14+ self ,
15+ symbols ,
16+ start = None ,
17+ end = None ,
18+ retry_count = 3 ,
19+ pause = 0.1 ,
20+ session = None ,
21+ freq = None ,
22+ ):
23+ super (EcondbReader , self ).__init__ (
24+ symbols = symbols ,
25+ start = start ,
26+ end = end ,
27+ retry_count = retry_count ,
28+ pause = pause ,
29+ session = session ,
30+ freq = freq ,
31+ )
1532 params = dict (s .split ("=" ) for s in self .symbols .split ("&" ))
16- if "from" in params and not kwargs . get ( " start" ) :
33+ if "from" in params and not start :
1734 self .start = pd .to_datetime (params ["from" ], format = "%Y-%m-%d" )
18- if "to" in params and not kwargs . get ( " end" ) :
35+ if "to" in params and not end :
1936 self .end = pd .to_datetime (params ["to" ], format = "%Y-%m-%d" )
2037
2138 @property
You can’t perform that action at this time.
0 commit comments