@admin
Subject: How to Monitor AMO Orders via WebSocket in SmartAPI?
Dear SmartAPI Team and Community,
I have a query regarding the recent update where AMO (After Market Orders) should now be placed using "variety": "NORMAL" instead of "AMO".
As per the update, the system internally handles both AMO and regular orders. However, I’ve noticed a difference in behavior when monitoring orders via WebSocket.
My Observations & Questions:
Live Market Orders Are Monitored, AMO Orders Are Not:
When I place an order during live market hours, it is properly monitored and I receive updates via WebSocket (order updates/trade updates).
But when I place an order after market hours (which is treated as an AMO order), I do not receive any updates via WebSocket.
Why are AMO orders not visible in WebSocket updates?
I want to monitor all orders in real time, including AMO orders, but currently I don’t get any WebSocket updates for AMO orders after placing them.
How can I identify whether an order is AMO or not?
Since we now pass "variety": "NORMAL" for all orders (including AMO), how can we distinguish AMO orders from regular ones?
Is there any field in the order book or response that indicates whether an order is AMO?
I want to ensure that even AMO orders are tracked properly. Any guidance or clarification would be really helpful.
Thank you for your support.