In Zerodha Kite api how can I place SL Buy Order with Stop Loss and Target Levels for GTT orders defined ? This same thing can be done in their front end website so I am trying to put the same order through python api. Please note that I am easily able to place “SL Buy Orders” with Zerodha kite api but I am not able to place “SL Buy Orders with Stop Loss and Target Levels (for GTT orders) defined”.
In Zerodha website, on the Order placing popup screen, you can select "Advanced" and then specify values for "Stoploss" and "Target" and I am trying to put that type of order through python api.
My Code as below optionName = “NIFTY24D1224500PE” lot_size= 25 no_of_lots=1 meta = {‘gttp’:[[1,-10],[1,20]]}