How to exit from Regular Order in Option intraday

  1. Am I correct in understanding that currently the only option available for placing intraday orders in Bank Nifty (BN) options is through regular orders? It seems that placing Bracket Orders (BO) and Cover Orders (CO) is not possible for option trading, is that accurate?

  2. As per the documentation, it appears that while I can place regular orders, there is no mention of how to exit from them. Could you kindly provide me with a step-by-step explanation of how I can exit a regular order?

@adityatoke

  1. Yes as of now you can place regular orders. BO/CO will be allowed soon. We will keep you posted.
  2. To exit the order you have to call Place Regular Order API with contra order. Like if you have Buy position and want to square-off then place SELL order.

Could you please verify the following information/body response:

  1. Is this API body accurate for purchasing Bank Nifty options at the market price for intraday trading?
{
"txn_type": "B",
"exchange": "NSE",
"segment": "D",
"product": "I",
"security_id": "500570",
"quantity": 1,
"validity": "DAY",
"order_type": "MKT",
"price": 0,
"source": "N",
"off_mkt_flag": "false"
}
  1. Is this API body accurate for selling the above Bank Nifty option (of course after it’s executed) at a designated price for intraday trading?
    Note - Price value is random
{
"txn_type": "S",
"exchange": "NSE",
"segment": "D",
"product": "I",
"security_id": "500570",
"quantity": 1,
"validity": "DAY",
"order_type": "LMT",
"price": 525,
"source": "N",
"off_mkt_flag": "false"
}

Any idea from where we can get the pml id of the stocks?

@15venkatsai the PML Id is currently not available in the security master sheet, we are looking into the issue and will notify you once we have the solution in place. Meanwhile if there is a specific security for which you require the PML ID we can help you with the same.

@PaytmMoney Can I get pml id for the below stocks? also, can we place GTT orders without pml id , I tried but it’s not working… is there any other way?

NSE: M&MFIN
NSE: TATAMOTORS
NSE: RPOWER
NSE: UPL
NSE: JINDALSTEL
NSE: JINDALSAW
NSE: SBIN
NSE: ASHOKLEY
NSE: HDFCBANK

Please share the request to openapi.care@paytmmoney.com we will share you the PML ID by today. Thanks for reaching out.

@PaytmMoney @15venkatsai

Could someone please respond to my question directly instead of responding with their own questions? If @PaytmMoney @15venkatsai you guys are unsure how to start a new thread for a separate question, I can provide you with a tutorial. Feel free to let me know about that.

Hello @adityatoke,

Your request body appears to be in good order, however, please ensure that the quantity is a multiple of the lot size when dealing with F&O.

For LOT size information, refer to the security master file outlined in this documentation: https://developer.paytmmoney.com/docs/api/security-master/

cc: @PaytmMoney