Place Bracket Order through Python Client

daniamarkumar
I have a requirement to place a bracket order through Python Kite API. I have got an example of Java client, but getting a sample code for python client would be helpful.

Also, How do I get the pending orders list through python API?

Thanks,
Amar
  • daniamarkumar
    Also, could you please provide an example of placing an order in NFO segment - for both futures and options?

    Thanks,
    Amar
  • Imran
    HII @daniamarkumar

    bo python:
    kite.place_order("ACC",price=1460,variety= kite.VARIETY_BO,exchange=kite.EXCHANGE_NSE,transaction_type=kite.TRANSACTION_TYPE_SELL,quantity=50,squareoff=20,stoploss=10,order_type=kite.ORDER_TYPE_LIMIT,product=kite.PRODUCT_BO, trailing_stoploss=1)

    for order status you can call kite.orders() and from there you can find which orders are pending.
  • daniamarkumar
    Thanks Imran, can you provide an example for BN options and futures order..
Sign In or Register to comment.