Using Trigger price using Dhan Trading APIs

Hello,

IS there anyone can help me. I am getting, this error while placing BO order in dhan api:
{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘RS-9005’, ‘message’: ‘Trigger_price Not In Range’}, ‘data’: ‘’}

I am using this api:
option_id = dhan.place_order(
transaction_type=dhan.BUY,
exchange_segment=dhan.NSE_FNO,
product_type=dhan.BO,
order_type=dhan.MARKET,
validity=‘DAY’,
security_id=security_id,
quantity=15,
disclosed_quantity=0,
price=0,
trigger_price=0,
after_market_order=False,
amo_time=‘OPEN’,
bo_profit_value=12,
bo_stop_loss_Value=15,
drv_expiry_date=None,
drv_options_type=None,
drv_strike_price=None
)

Please help me @Hardik or anyone who is avaialbe.

Hello @Rohit_Bansal

You can refer to the Detailed Security ID List, part of V2, to refer to target and stop loss prices to avoid this issue: Annexure - DhanHQ Ver 1.0 / API Document