How to short on binance futures?

Hi, if I want to short a symbol using the binance futures api, do i put OrderSide.SELL or OrderSide.BUY. in other words, do I use function 1 or 2?

  1. request_client.post_order(symbol=symbol, side=OrderSide.SELL, positionSide= ‘SHORT’, ordertype=OrderType.MARKET , quantity = desired_quantity)

or

  1. request_client.post_order(symbol=symbol, side=OrderSide.BUY, positionSide= ‘SHORT’, ordertype=OrderType.MARKET , quantity = desired_quantity))

Hi. If “short a symbol” here means holding a short position, the side should be BUY.

Hope this article can help:
What Is Shorting in the Financial Markets? https://academy.binance.com/en/articles/what-is-shorting-in-the-financial-markets

1 Like

Perfect, thank you for your response :slight_smile: