Options buy and sell quatity should be same ?
-
Hi,
I was buying options and found that during buy we provide quantity of shares (lots * lotsize), but when i sell that option (to close the existing position) and provided same quantity not it considered lots not shares.for example i brought a put option with 50 shares (1 lot = 50 shares) I have to specify qty: 50 in api request and it buy a 1 lot = 50 shares
but when i try to sell that position with qty: 50 in api request now it will create a order to sell 50 lots (it should be 1 lot similar to buy)Buy payload
{ 'exchange': 'NFO', 'tradingsymbol': 'MARUTI26DEC2412100CE', 'quantity': 50, // this is buying 1 lot (50 shares) 'transactiontype': 'BUY', 'ordertype': 'MARKET', 'variety': 'NORMAL', 'producttype': 'INTRADAY', 'price': '0', 'symboltoken': '111106' }
Sell payload
{ 'exchange': 'NFO', 'tradingsymbol': 'MARUTI26DEC2412100CE', 'quantity': 50, // this is selling 50 lots (it should be 1 lot = 50 shares) 'transactiontype': 'SELL', 'ordertype': 'MARKET', 'variety': 'NORMAL', 'producttype': 'INTRADAY', 'price': '0', 'symboltoken': '111106' }
-
@admin Thanks, there was some issue with my code. apologies for inconvenience.
-
Hello, while buying and selling both, the quantity should be 50 for 1 lot in your case.
We tried to reproduce your issue, but it worked fine for us.