diff --git a/beanprice/sources/eastmoneyfund.py b/beanprice/sources/eastmoneyfund.py index d0639b7..fae6ed5 100644 --- a/beanprice/sources/eastmoneyfund.py +++ b/beanprice/sources/eastmoneyfund.py @@ -80,11 +80,11 @@ def get_price_series( for page in range(1, pages + 1): query = { "code": ticker, - "page": page, + "page": str(page), "sdate": time_begin.astimezone(TIMEZONE).date().isoformat(), "edate": time_end.astimezone(TIMEZONE).date().isoformat(), "type": "lsjz", - "per": 30, + "per": str(30), } response = requests.get(base_url, params=query, headers=headers) if response.status_code != requests.codes.ok: