Stop Loss Order

I am trying to place a Sell SL Order. Below is the code and output
res = pm.place_order(
txn_type.value,
exchange.value,
segment.value,
product.value,
security_id.value,
quantity.value,
validity.value,
order_type.value,
price.value,
source.value,
off_mkt_flag_OR_TrgP.value,
trigger_price.value)
Values in Console
S
NSE
D
M
58606
50
DAY
SL
0.8
W
False
1
My trigger price is 1, but still I am getting error "Trigger price should be nonzero)?

Hello @Trader_Seller ,

About your Sell SL Order query, it seems that the trigger price may not have been transmitted to us successfully. Below is the body of information that we have received on our end:

{
  "txn_type": "S",
  "exchange": "NSE",
  "segment": "D",
  "product": "M",
  "security_id": 58606,
  "quantity": 50,
  "validity": "DAY",
  "order_type": "SL",
  "price": 0.8,
  "source": "W",
  "off_mkt_flag": 1
}

It appears that the trigger price is not included in the provided data. If you intended to specify a trigger price of 1, please ensure that your implementation correctly includes and transmits this information.

If the issue persists, feel free to provide further details or code snippets related to the trigger price, and we’ll be happy to assist you in resolving the error.