For the above code, I am receving the following error when variety is BO. With Regual as variety, I am able to get the order placed and recieve back an order ID.
The error recevied is as below :- PHP Fatal error: Uncaught KiteConnect\Exception\InputException (400) 'Invalid `order_id`.'
thrown in /var/www/html/dummytest/vendor/zerodha/phpkiteconnect/src/KiteConnect.php on line 1644
But just to know more, is there a way - I can have trailing stoploss using the leverage provided by Zerodha? I dont see any updates about trailing stoploss anywhere.
My plans are to trade in Intraday using Leverages, as BOs are no more allowed, GTT can clear the issues with Stoploss and Target prices but I am still stuck with trailing stop loss. Please advice.
Trailing stop loss is no more provided in an individual order product. You might have to logically build this at your end. Something like: when price moves in your direction you will have to modify the stoploss order up/down based on if you are long or short automatically.
Thanks for the update.
But just to know more, is there a way - I can have trailing stoploss using the leverage provided by Zerodha? I dont see any updates about trailing stoploss anywhere.
My plans are to trade in Intraday using Leverages, as BOs are no more allowed, GTT can clear the issues with Stoploss and Target prices but I am still stuck with trailing stop loss. Please advice.