How do I set Sl Market order?

being
Hi,

I tried doing this to setup SL market order for equities but it does not seem to be working.
kite.place_order(tradingsymbol=symbol,
exchange=kite.EXCHANGE_NSE,
transaction_type=t_type_sl,
quantity=quantity,
order_type=kite.ORDER_TYPE_SL-M,
trigger_price = sl_price,
product=kite.PRODUCT_MIS,
variety=kite.VARIETY_REGULAR)

But this does not seem to be working. Any suggestions?
Sign In or Register to comment.