There is some problem in code. It is impossible to create OCO order:
in client.py:
if stop_client_order_id: params["stopLimitPrice"] = self.refine_price(symbol, stop_client_order_id)
need to be changed to:
if stop_limit_price: params["stopLimitPrice"] = self.refine_price(symbol, stop_limit_price)
or we gat an error when creating an order:
Stop loss orders are not supported for this symbol.
There is some problem in code. It is impossible to create OCO order: in client.py:
if stop_client_order_id: params["stopLimitPrice"] = self.refine_price(symbol, stop_client_order_id)
need to be changed to:if stop_limit_price: params["stopLimitPrice"] = self.refine_price(symbol, stop_limit_price)
or we gat an error when creating an order:Stop loss orders are not supported for this symbol.