Websocket Order status
-
@admin
I am trying to use this web socket API to get order status but the web socket does not connecthttps://smartapi.angelbroking.com/docs/WebSocketOrderStatus
can you please guide me on how I can do this.. is this any change on this websocket URL?
-
@admin
I tried PR raised by @ananya, but it is not working
Can you plz check and let me know, how to use it
and it will be a great help if the working code is added in smartapi-python package -
@ananya Hello, I have emailed you few queries around this on ananya.aakash@zohomail.in, highly appreciate if you can assist on those.
Best regards. -
@admin P313965
-
@ananya said in Websocket Order status:
@admin and ?
Hi post your client id here and no in chat our team will connect you.
-
@rajanprabu I havent tested yet in live market. But I am developing a strategy to trade in live market. I think your input is valuable in my implementation.
Thanks for that !
This means that websocket channel is not reliable for order status notification.
We need to fallback to polling, until angel improves the situation.Today I tried some trading using angel web interface. The gui was not very responsive during live market. However I am not sure if it is because of the API issue or the web interface itself is lagging !
I am planning to develop some tests to check the order status.
Will keep posted here
Thanks -
@admin and ?
-
I have used my custom code to do this before and it worked. But with Angel main issues is time to time we get HearBeat Failed message. Imgine missing a order notification due to HB failure.
Having said that have you tried this for your live trading ? is it stable especially when market makes a big move in short time.
Thanks.
-
@ananya said in Websocket Order status:
@admin I have created PR to merge this into main line
Consider to merge it to mainline, this would be helpful for the community.your feedback is noted.
-
@Dhilip-Krishna I am working on building trading application over smart-api.
I found that abstraction for getting order status over websocket is missing.
I added an abstraction layer + example.
You would need to adapt your local copy ofsmartapi-python
package to use this example.
I hope this helps!@admin I have created PR to merge this into main line
Consider to merge it to mainline, this would be helpful for the community.Thanks
Prasanna