Close future Position ( python )

Hey Dears,

I saw in other topics : if I want to close a (for ex LONG ) future position , I must open other position with different side ( SHORT ) .

1- actually there is no way to request to close position ( like MARKET Price ) ? ( I didn’t saw in documentation )

2- if I do the work that other topics says , I must pay the FEE twice ? ( once for setting order and once for closing )

TNX

Hi.
For your first question, there is no dedicated endpoint for closing a position. But you can make use of closePosition attribute to do so. https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
And yes, unfortunately, since the closing operation is the same as placing a new order, the commission fee is required.

Thank you ishuen so much .