Skip to content

Commit 5f30b0f

Browse files
committed
Revise notes
1 parent 306ab5f commit 5f30b0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas_datareader/naver.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)