i’ve read all thread about cancel order but stil can’t solve my problem.
here the problem. im trying to cancel open order using python future connector
here is response from /fapi/v1/openOrders
[{'orderId': 1896063477, 'symbol': 'HOTUSDT', 'status': 'NEW', 'clientOrderId': 'Tsar_TP', 'price': '0', 'avgPrice': '0', 'origQty': '0', 'executedQty': '0', 'cumQuote': '0', 'timeInForce': 'GTC', 'type': 'TAKE_PROFIT_MARKET', 'reduceOnly': True, 'closePosition': True, 'side': 'SELL', 'positionSide': 'BOTH', 'stopPrice': '0.006007', 'workingType': 'CONTRACT_PRICE', 'priceProtect': False, 'origType': 'TAKE_PROFIT_MARKET', 'time': 1641826768523, 'updateTime': 1641826768523}]
and here is my cancel order post data
{'symbol': 'HOTUSDT', 'orderId': 1896063477}
the response is 400, -2011, 'Unknown order sent.'
i’ve been trying to use orderId and origClientOrderId but still have same response, trying to fill timestamp but still the same.
this is my order that i want to cancel
THE ORDER IS STILL OPEN AND NOT FILLED AT ALL