Kotak-Neo / kotak-neo-api

113 stars 103 forks source link

In kotak neo api Order is rejected due to unavailable fund but and API is responding with { "stat": "Ok", "nOrdNo": "240102000804077", "tid": "server5_11034", "stCode": 200 } , how to check if order got rejected or not due unavailable fund or any other reason. #114

Closed GaneshTowar closed 8 months ago

crypt0inf0 commented 9 months ago

@GaneshTowar You can use, Get Order Book

client.order_report()

Or Get Order History With Order No

client.order_history(order_id = "240102000804077")

I think client.order_history only work for orders placed via API, If the order placed via web or app, It won't work.

Kotak-Neo commented 8 months ago

@GaneshTowar Kindly use order report/order history API for checking the same