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 )


For your first question, there is no dedicated endpoint for closing a position. But you can make use of closePosition attribute to do so.
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 .