When making a request with WebSocket API, I see no stream or data state indication in the Refresh response message.
{
"QOS" : {
"Rate" : "TickByTick",
"Dynamic" : true,
"Timeliness" : "Realtime"
},
"Type" : "Refresh",
"Id" : 3,
"Fields" : {
"BID" : 0.01,
"BIDSIZE" : 1,
"ASK" : 9000
},
"Key" : {
"ServiceId" : 257,
"Name" : "TRI.N"
}
},
The doc is not clear on this, but if the Refresh does not include a State, it can be assumed that the StreamState is "Open" and the DataState is "Ok".
The WebSocket API doesn't always return the State information within a REFRESH
What is the meaning of Name in Refresh message on successful login
Can I use WebSocket API to request specific fields? (from WebSocket API Webinar Nov 29)
Do I need to refresh symbol subscriptions or do they last until logoff