My question deals with provider disconnects and re-connects.
It seems that subscriptions to data feeds halt in the case of provider disconnect/reconnect.
I have a program running that first subscribes to a data stream like such:
oClient.SubscribeMarketData(i.Item("Instrument"))
Then I get data like such:
LastPrice = oClient.MarketData(CStr(NTPrices.Item(x)), 0)
BidPrice = oClient.MarketData(CStr(NTPrices.Item(x)), 1)
AskPrice = oClient.MarketData(CStr(NTPrices.Item(x)), 2)
It seems that the feed gives me stale prices ... they are not updating after the disconnect/reconnect happens. In fact when I do this:
oClient.UnsubscribeMarketData(CStr(NTPrices.Item(y)))
Then re-subscribe the data remains the stale data ... not the typical values of 0,0,0 Ask,Last,Bid until a fresh piece of data comes in ... so if last price gets an update ... the value does update.
The question is this:
Is there a way to know if the subscription is vaild or needs unsubscribe/subscribe?
It would be great if the data provider would be exposed alittle more to know if in fact the ATI is not talking to a dead/non existant feed.
-Lars

Comment