How to achieve the above order using python kiteconnect APIs. In the above pic, I am trying to place a BUY order with SL order type by specifying trigger_price as 320 with price as 321. Then club it with GTT Stoploss and Target percentages. In the above example, I am setting stoploss at -3% of executed price and target at 9% of executed price.
I have put together following code but dont know how to specify trigger_price and price.