Closed MrCanan closed 2 years ago
I think you are trying to close a position. To close a position, you need to create a close order. When it is filled, your position will be closed. To create a close order, set close
to true and size
to 0 (which is documented here)
Thank you, I did not see it ^^
Hi,
How can I close an order/position with the Futures API? (I mean like if I click on "Market" on the web UI) I can create without problem a Futures order with "FuturesOrder" and "create_futures_order" and get its id (and other information like size).
Thank you in advance, Best regards.