Kite 3.0 - place_order Bracket Order

tahseen
Dear Team,

The previous working parameters do not make the Bracket Order work with the new place_order. Can you please give a sample code for place order like you have for normal order ?



Tahseen
  • sujith
    You can check out java example here. You need to pass same params in python also.
  • tahseen
    Ok so this worked in Python for kite 3.0 for Bracket Order

    kite.place_order(
    variety=kite.VARIETY_BO,
    exchange=kite.EXCHANGE_NSE,
    order_type=kite.ORDER_TYPE_LIMIT,
    tradingsymbol=tradingsymbol,
    transaction_type=kite.TRANSACTION_TYPE_SELL,
    quantity=quantity,
    price=price,
    squareoff=squareoff,
    stoploss=stoploss,
    validity=kite.VALIDITY_DAY,
    product=kite.PRODUCT_MIS)
This discussion has been closed.