You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
There is a need to refactor the list_orders method under the spot api.
Based on the API documentation, we should be allowed to make a request wherein currency_pair is None or not specified as long as the status=finished as seen in the screenshot below
Solution here is to replace lines 1794 - 1799
With this
if self.api_client.client_side_validation and (
'currency_pair' not in local_var_params or local_var_params['currency_pair'] is None
) and local_var_params['status'] == 'open':
raise ApiValueError(
"Missing the required parameter `currency_pair` when calling `list_orders` with status 'open'"
)
There is a need to refactor the
list_ordersmethod under the spot api.Based on the API documentation, we should be allowed to make a request wherein
currency_pairis None or not specified as long as thestatus=finishedas seen in the screenshot belowSolution here is to replace lines
1794-1799With this