Hi @sujith@rakeshr@kiteconnect , I'm trying to place SLM (if below 501.1 execute with market price) but order placement failed. Could you check and suggest
tradingsymbol=TATAMOTORS&exchange=NSE&transaction_type=SELL&order_type=SL-M&quantity=1&product=MIS&trigger_price=501.1&price=None&disclosed_quantity=0&tag=SL ERROR:root:SL order placement failed SL ORDER: order_id: None, order_tm: 2022-01-12 10:46:31.436000, error: Trigger price for stoploss sell orders cannot be below the lower circuit price. Please try placing the order with trigger price above 451.20.
No, I was not able to reproduce the error with the given order_param. The order went fine. Until you are sending any other param with None, above error shouldn't happen.
in my case, placed order at 10:46:39, LTP at 10:46 is around 505 and my trigger_price is 501 and order_type = SELL. meeting all conditions.
am i missing anything ?
stock_symbol = 'TATAMOTORS'
quantity = 1
trigger_price = 501.1
order_type = 'SL-M'
price = None
transaction_type = 'SELL'
tag = 'SL'
sl_id, sl_tm, error = sl_order(api_key, access_token, stock_symbol, trigger_price,
price, quantity, transaction_type, tag, order_type)
@sujith @rakeshr plz help me by taking this as priority, my system failing because of this, causing critical issues.
Can you remove this
price=None
field or send it with price=0 instead of None only for SL-M order(as it requires only trigger_price field)?trigger_price
.payload:
tradingsymbol=LT&exchange=NSE&transaction_type=SELL&order_type=SL-M&quantity=1&product=MIS&trigger_price=1979.25&disclosed_quantity=0&tag=SL-M
Error message:
SL-M ORDER: order_tm: 2022-01-13 12:07:31.638276, error: Trigger price for stoploss sell orders cannot be below the lower circuit price. Please try placing the order with trigger price above 1776.80.
None
, above error shouldn't happen.