By default the futures keeps the position mode to One-way
. In order to enable the new feature of Hedge Mode
, so you can have dual sides positions.
- enable it by endpoint
POST /fapi/v1/positionSide/dual
, setting the parameterdualSidePosition
=true
- Open position:
- Long : positionSide=LONG, side=BUY
- Short: positionSide=SHORT, side=SELL
- Close position:
- Close long position: positionSide=LONG, side=SELL
- Close short position: positionSide=SHORT, side=BUY