This Question is Binance Futures Related.
As per my knowledge In a single mode (Non-Hedge Mode) if we want to close any position then we have to place opposite direction order with same qty for example if current position of pair BTCUSDT of 0.01 BTC Long then we can close this position by placing Short order of 0.01 BTC. But now I have a question that how can we close the position in hedge mode as hedge mode allow to place Long and Short order parallelly?
I need solution using API. (python-binance module or RestAPI)