The error looks contradictory to the api doc as it says that price is not required.
My goal is to place a limit sell order for intraday. My objective is to make sure that my selling happens only at given price that why i am trying to place a limit order.
This error occurs when attempting to place a market order while providing a valid price in the payload. Please ensure that the order type is set to LIMIT instead of MARKET.
Additionally, you may share your payload with us so we can review the issue.
Thank you @Ketan . It was a parameter issue on my end and the issue got fixed after updating it to Limit. Appreciate your quick help.
I had one follow up question : Currently the trigger price and the price are compulsory parameter for the limit intraday sell api call. Can you share what would be significance of the trigger price here because on the app i don’t see an option to set trigger price while placing the limit sell order. Also what if the trigger price needs to sent whats the sensitivity of it ? For example if i set trigger at 100 but stocks jumps to 101 directly from 99 will the trigger get activated in that case ?
In the case of a limit order, the trigger price is not applicable; it is only relevant for stop-loss orders. Since it is a part of the payload, you may set it to 0.
Additionally, there is currently no API available to determine the depth of a limit order. If there are any updates on this functionality, we will inform you accordingly.