Skip to content

Commit

Permalink
Convert dates in rrequest parameters to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlimacz committed Jan 15, 2025
1 parent 257b8cf commit 8aa47b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beanprice/sources/eastmoneyfund.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def get_price_series(
query = {
"code": ticker,
"page": page,
"sdate": time_begin.astimezone(TIMEZONE).date(),
"edate": time_end.astimezone(TIMEZONE).date(),
"sdate": time_begin.astimezone(TIMEZONE).date().isoformat(),
"edate": time_end.astimezone(TIMEZONE).date().isoformat(),
"type": "lsjz",
"per": 30,
}
Expand Down

0 comments on commit 8aa47b3

Please sign in to comment.