File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ def url(self):
54
54
55
55
def _get_params (self , symbol ):
56
56
# NOTE: The server does not take start, end dates as inputs; it only
57
- # takes the number of past days as an input. To circumvent this
57
+ # takes the number of trading days as an input. To circumvent this
58
58
# pitfall, we calculate the number of business days between self.start
59
- # and the current date. And then before returning the final result
60
- # (from _read_one_data()) we filter by self.end .
59
+ # and the current date. And then we filter by self.end before returning
60
+ # the final result (in _read_one_data()).
61
61
days = np .busday_count (self .start .date (), datetime .now ().date ())
62
62
params = {"symbol" : symbol , "timeframe" : "day" , "count" : days , "requestType" : 0 }
63
63
return params
You can’t perform that action at this time.
0 commit comments