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):
5454
5555 def _get_params (self , symbol ):
5656 # 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
5858 # 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()).
6161 days = np .busday_count (self .start .date (), datetime .now ().date ())
6262 params = {"symbol" : symbol , "timeframe" : "day" , "count" : days , "requestType" : 0 }
6363 return params
You can’t perform that action at this time.
0 commit comments