Unable to receive real-time order updates via WebSocket

I’m working on integrating the Tradovate API to receive real-time order updates through the WebSocket feed. However, I’m running into an issue where order events are not showing up in my application even though the WebSocket connection is open and stable.

What I’m trying to do

  • Subscribe to real-time order updates over WebSocket

  • Place an order on my demo account in Simulation mode (via Tradovate UI)

  • Receive the corresponding order events in my code in real time

Issue
After placing an order in the demo/simulation account, I’m not receiving any order-related messages/events in my code. The WebSocket remains connected, but no order updates are delivered.

What I’ve tried

  • Implemented the WebSocket flow using the same sample approach/code shown in the Tradovate API documentation

  • Verified the WebSocket stays open and I continue to receive non-order traffic/heartbeats (connection appears fine)

  • Re-tested multiple times with the same result

ws connection alone isn’t enough.
you have to send the user sync / subscribe request for the correct account id, otherwise you’ll only get heartbeats and no order updates.

@Johann_Birle
I am trying to connect the websocket like this.

  1. First auhenticate, connect web socket, and then subscribe

  1. Here I am connecting websocket by passing token and userId(not sure if accountId should be passed)

  1. Subscribe user

Where is the issue here?