Order type SL-M not being recognised

zz1424
Hello,

Following is my code for execution:

order_idx = kite.place_order(tradingsymbol = scripx, exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL,quantity = entry_qty, trigger_price = sl_px, variety = 'regular', order_type=kite.ORDER_TYPE_SL-M, product=kite.PRODUCT_MIS)

But when it runs, i get an error that 'M' is not defined in 'SL-M'.

Kindly suggest what am i doing wrong here?

Regards
Tagged:
Sign In or Register to comment.