Failed to create new order

I’m requesting for place new order with data below:
{“txn_type”:“B”,“exchange”:“NSE”,“segment”:“D”,“product”:“I”,“security_id”:“54374”,“quantity”:“50”,“validity”:“DAY”,“order_type”:“LMT”,“price”:“15”,“trigger”:“18”,“source”:“W”,“off_mkt_flag”:false}

but getting error like this:
{“status”:“error”,“message”:“Oops! Something went wrong.”,“error_code”:“400”}

Hi @sanjoy.dasgupta

As I can see from your data the field trigger is incorrect the correct field is trigger_price.

Please refer our API Docs for the field names and other details.

1 Like