Kotak-Neo / kotak-neo-api

120 stars 112 forks source link

order_report() api is failing for live account #103

Closed ketanwangade closed 10 months ago

ketanwangade commented 11 months ago

Hi Kotak Team,

I am getting a below error after calling the order_report() api from live account. Can you please guide me on how to resolve this issue. Also where i can find your stCode documentation, I am not able to understand what is 5203 status code means.

Error is : {'stat': 'Not_Ok', 'errMsg': 'No Data', 'stCode': 5203, 'tid': 'server4_3946598'}
rosevinod commented 11 months ago

@ketanwangade that means you did not place any order. place an order, you will get the result.

shitizbansal247 commented 5 months ago

i am facing a similar problem. if i run a strategy at lets say 8:45. it trades at 9:17 but it still shows 'No Data' in order report. When i re-run the code, it works fine. I think its something related to websockets. if someone can help me i will be truly grateful