WS authentication

Hello,

When I authenticate via REST then use the accessToken for the websocket everything works.

However, after about 1hour or so, the websocket api calls return 401 unauthorized as if the accessToken is expired.

Isn’t the websocket connection supposed to remain open?

I’m not entirely sure how the WebSocket connection with Tradovate works, but I know that the access tokens expire after a certain amount of time. Maybe check and make sure that isn’t what is causing your socket to shut down.

You can get the expiry time for your access token in the JSON returned to you when you get the token.