dydx-v3-python icon indicating copy to clipboard operation
dydx-v3-python copied to clipboard

CANCELLED and FILLED status constants returning 400 error

Open mcelia2324 opened this issue 2 years ago • 2 comments

When using the get_orders() function and using status as CANCELLED or FILLED you receive a 400 error when it should be able to be used but in the 400 error it only accepts OPEN, UNTRIGGERED, and PENDING as parameters. This used to work before so I am not sure what has happened and cannot find any update on it. Posting the error code below

dydx3.errors.DydxApiError: DydxApiError(status_code=400, response={'errors': [{'value': ['FILLED'], 'msg': 'status must be a valid array of subset (OPEN, UNTRIGGERED, PENDING)', 'param': 'status', 'location': 'query'}]})

mcelia2324 avatar Jan 30 '23 04:01 mcelia2324

Commenting again for visibility and to get a response. Being able to see which orders filled is imperative for any good trading framework, my fund has not been able to trade on dydx since this has not worked for about 6 months now.

mcelia2324 avatar Apr 11 '23 00:04 mcelia2324

  • misunderstood the topic

traderblakeq avatar Apr 11 '23 17:04 traderblakeq