It looks like you're new here. If you want to get involved, click one of these buttons!
{
  type: 'single',
  condition: {
    exchange: 'NSE',
    tradingsymbol: 'JMA',      
    trigger_values: [ 35.15 ], 
    last_price: 31
  },
  orders: [
    {
      exchange: 'NSE',
      tradingsymbol: 'JMA',    
      transaction_type: 'SELL',
      quantity: 241,
      order_type: 'LIMIT',     
      product: 'CNC',
      price: 35.15
    }
  ]
}
Order params seem to be correct. Which client are you using?
Content-Typeheader being used. You will need to useapplication/x-www-form-urlencodedcontent-type header for the request here. Go through the documentation here.{
type: 'single',
condition: json.dumps({
exchange: 'NSE',
tradingsymbol: 'JMA',
trigger_values: [ 35.15 ],
last_price: 31
}),
orders: json.dumps([
{
exchange: 'NSE',
tradingsymbol: 'JMA',
transaction_type: 'SELL',
quantity: 241,
order_type: 'LIMIT',
product: 'CNC',
price: 35.15
}
])
}