Order Rejection API Response
-
Hi,
I am using following API to place an order:https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder
There is no response. When I am going to place directly from the panel https://trade.angelbroking.com/; it rejects the order and saying:
Rejection Reason
Your order has been rejected due to Insufficient Funds.What will be the response of API in case of order rejection?
-
HI @ronak Post your client id here.
-
@admin Even in the order book, Get trade book API only returns the succesful orders ad not the one rejected. How to get rejected or orders places with LIMIT which might not be fully executed so far ??
- topic:timeago_earlier,5 months
-
Hi @sachinsrm , after placing an order you have to fetch order book by calling getOrderBook API for order status
-
@admin
Hi,
Not getting the same response as in trading panel.
Trading Panel shows Order : Rejected but API response returns Success message. -
@sachinsrm said in Order Rejection API Response:
What will be the response of API in case of order rejection?
You'll get the same response as visible on trade.angelbroking.com
-
yes. there is no documentation for possible responses. I face the same issue and getting through one by one by experience ( simulating the order ). I hope they provide a table of possible responses for each field.