dydxprotocol / dydx-v3-python

Python client for dYdX (API v3)
Apache License 2.0
304 stars 174 forks source link

Time ISO: Invalid value #189

Open jackNhat opened 1 year ago

jackNhat commented 1 year ago

when i run a request, i get a error dydx3.errors.DydxApiError: DydxApiError(status_code=400, response={'errors': [{'value': '2023-01-05T00:00:00 00:00', 'msg': 'Invalid value', 'param': 'toISO', 'location': 'query'}]})

My request: https://api.dydx.exchange/v3/candles/LTC-USD?resolution=5MINS&toISO=2023-01-01T00:00:00+00:00 Method: get

How to fix it. Many thanks