But when we go through the kiteconnect documentation one of the class variable for vaiety is var VARIETY_BO and product type is PRODUCT_BO = "BO"
and Order definition looking like below, which is expecting any type of variety and product type and also exposing trailing_stoploss and stoploss aruguments, which clearly shows there is a support for BO orders through the API Interface from the API documentation.
Now My Query is, Is Zerodha supports BO orders through API Interface or it is just a unreviewd API documenation which is causing developers a lot of confusion.
If there is a Alernative for BO order is CO order then we can only have a possiblity of giving stop loss trigger but unable to take profit.
How Can I book the profit in this case through code?
pls suggest me if below method is going to help to book profits
Does trailing_stoploss work with APIs?
If not is this parameter in the API useless?
Also any timeline for getting it back? Or is there any sample python code which does it.
trailing_stoploss
have been depreciated. This article explains more. You can use two-leg gtt. This thread explains more.