It means the user is trying to give a stop-loss beyond the permitted range for the cover order. You can check the permitted range here. This is a instruments margin link.
@Vishesh - The order is getting rejected because the trigger price for the 2nd leg sell order is higher than the LTP. Try entering the trigger price for the stop-loss order lower than LTP and the order will work fine.
{'X-Kite-Version': '3', 'Authorization': 'token xxx:yyy'} {'variety': 'co', 'tradingsymbol': 'RELIANCE', 'order_type': 'MARKET', 'stop_loss': 1399.0, 'exchange': 'NSE', 'price': 1409.0, 'quantity': 1, 'product': 'MIS', 'transaction_type': 'BUY'}
{"status":"success","data":{"order_id":"190502001276122"}}
kite return message is: The stop loss trigger price is beyond the allowed range of 9.9%. Try a price within the range.
please guide on what I am missing.
{'X-Kite-Version': '3', 'Authorization': 'token xxx:yyy} {'variety': 'co', 'tradingsymbol': 'RELIANCE', 'order_type': 'MARKET', 'stop_loss': 10.0, 'exchange': 'NSE', 'price': 1409.0, 'quantity': 1, 'product': 'MIS', 'transaction_type': 'BUY'}
{"status":"success","data":{"order_id":"ZZZZ"}}
The stop loss trigger price is beyond the allowed range of 9.9%. Try a price within the range.
{'X-Kite-Version': '3', 'Authorization': 'token xxx:yyy} {'variety': 'co', 'tradingsymbol': 'RELIANCE', 'order_type': 'MARKET', 'stop_loss': 10.0, 'exchange': 'NSE', 'price': 1409.0, 'quantity': 1, 'product': 'MIS', 'transaction_type': 'BUY'}
{"status":"success","data":{"order_id":"ZZZZ"}}
The stop loss trigger price is beyond the allowed range of 9.9%. Try a price within the range.
I just retried
{'X-Kite-Version': '3', 'Authorization': 'token xxx:yyy'}
{'variety': 'co', 'tradingsymbol': 'RELIANCE', 'order_type': 'MARKET', 'stop_loss': 9.0, 'exchange': 'NSE', 'price': 1405.35, 'quantity': 1, 'product': 'MIS', 'transaction_type': 'BUY'}
{"status":"success","data":{"order_id":"190502001512486"}}
same error.
for ex:
{"margin": 0, "co_lower": 5.5, "mis_multiplier": 12.5, "tradingsymbol": "RELIANCE", "co_upper": 10.0, "nrml_margin": 0, "mis_margin": 8.0},
5.5 /12.5/10/8 = are absolute or percentages?
Your query is answered in this thread.You need to send trigger_price not stoploss value.
{'X-Kite-Version': '3', 'Authorization': 'token xxx:yyy'} {'trigger_price': 1410.3, 'variety': 'co', 'tradingsymbol': 'RELIANCE', 'order_type': 'MARKET', 'exchange': 'NSE', 'price': 1405.35, 'quantity': 1, 'product': 'MIS', 'transaction_type': 'BUY'}
{"status":"success","data":{"order_id":"190502001614482"}}
rejected with same error... what am I missing?