trigger_price not getting set in kite.place_order

Mohanraj
trigger price not getting set. Both first_order_price & first_order_trigger_price are int. price getting set properly but trigger_price getting assigned with zero though value given for trigger_price that is higher then price. Please advice.

first_order_id = kite.place_order(
variety=kite.VARIETY_REGULAR,
exchange="MCX",
tradingsymbol=trading_symbol,
transaction_type="SELL",
quantity=order_quantity,
price=first_order_price,
order_type=kite.ORDER_TYPE_LIMIT,
product=kite.PRODUCT_NRML,
validity=kite.VALIDITY_DAY,
trigger_price=first_order_trigger_price,
)
  • Mohanraj
    How to raise a ticket with support..? It is causing critical issue in my app. Need immediate help.
  • sujith
    You need to place a stoploss order and not a limit order. You can check out the documentation to know more.

    Kite Connect is purely an execution platform. We don't provide one to one support or solutions to write strategies. You can post your queries here and community members will help you out.
Sign In or Register to comment.