Hi ,
i am trying to get real time prices using websockets and RTDS.
my login gets smooth but when i send the request registering my Rics , it closes the stream immediately and start sending me prices on another stream.
its not a problem as sch but how would i know which ID to set for new incoming tickers Batch request .
is stream ID is something can be reset on its own.?
i send ID=3 for my ric as below
{
\"ID\": 3,
\"Key\": {
\"Name\": [
\"SRAH25\"
],
\"Service\": \"ELEKTRON_AD\"
},
\"View\": [
\"BID\",
\"ASK\"
],
\"Streaming\": true
}"
then it closed the streamID3 and started sending me data on streamid 4
{
\"ID\": 3,
\"Type\": \"Status\",
\"State\": {
\"Stream\": \"Closed\",
\"Data\": \"Ok\",
\"Text\": \"Processed 1 total items from Batch Request. 1 Ok.\"
}
},
{
\"ID\": 4,
\"Type\": \"Refresh\",
\"Key\": {
\"Service\": \"ELEKTRON_AD\",
\"Name\": \"SRAH25\"
},
\"State\": {
\"Stream\": \"Open\",
\"Data\": \"Ok\",
\"Text\": \"All is well\"
},
\"Qos\": {
\"Timeliness\": \"Realtime\",
\"Rate\": \"TickByTick\"
},
\"PermData\": \"AwjREYw=\",
\"SeqNumber\": 56672,
\"Fields\": {
\"BID\": 95.8,
\"ASK\": 95.805
}
}