kite.place_order(tradingsymbol=name, trigger_price=round(first_buy-0.01*first_buy), variety=kite.VARIETY_REGULAR, exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL, quantity=round(10000/S), order_type=kite.ORDER_TYPE_SL-M, product=kite.PRODUCT_MIS) builtins.NameError: name 'M' is not defined
builtins.NameError: name 'M' is not defined