Regarding place the order

I want to know how to know what users want to buy, like buying the buy into the call option or the sell option into the call.

give me a narration into the API (place_order).

Hey @101944335865925141850

Could you please elaborate you’re concern

Currently, in the place_order API, there are 2 types of sides (buy and sell), so I want to know for which call or put. and how can I specify it in the API?

Irrespective of the instrument (it can be equity/call/put/future/etc) :
**1 => BUY
-1 => SELL
**
You will have to change the **symbol parameter itself **if you want to trade in either Call or Put option.

The Call or put need not be specified in the Side , it will be part of the symbol format , for example “symbols”:“NSE:BANKNIFTY2441048000CE”

The side is 1 for a buy order and -1 for a sell order

Please find the docs : https://myapi.fyers.in/docsv3

If I sell the call option, then what is the side?