Can we implement BO on our end?

Shivani
Shivani edited September 22 in Python client
The following code only places a regular order without any stoploss or trailing stoploss orders.

kite.place_order(
variety='regular',
exchange='NSE',
tradingsymbol="AMARAJABAT",
transaction_type = "BUY",
quantity = 5,
product = "MIS",
order_type = "LIMIT",
price=731.0,
validity="IOC",
disclosed_quantity=2,
trigger_price=731.0,
squareoff=50,
stoploss=14,
trailing_stoploss=1.4,
tag=None)

The BO or CO order variety throw an error saying that that BO/CO orders are no longer supported.
Kindly guide regarding how to place stoploss orders and trailing stoploss orders like a BO.
Sign In or Register to comment.