Hi
I need to close placed orders in binance future API. using Binance UI can do it using button. but how do it use future API?
Language: Laravel - PHP
Hey,
To close an open position, you need to place a new order in the opposite direction.
Using the REST API, you can do this by placing an order through the POST /fapi/v1/order
endpoint: New Order | Binance Open Platform
If you’d like to close an open position via the WebSocket API, you can use the order.place
method. For more details, refer to this API Documentation link.
Thank You…It solved. are you know how to get future trade profit using order id