Kotak-Neo/kotak-neo-api

place_order method times out when running from a different thread

Closed this issue · 0 comments

I create the 'client' object as mentioned in documentation using the NeoAPI constructor.
Then if I call, client.place_order(...) and client.order_report() from the same thread it works fine.

But when I pass client object to another Thread, and try calling client.place_order(...) or client.order_report() from this different thread, the call doesn't return and it times out.

Is this expected behaviour, or am I missing something here ?

Thanks!