I'm relatively new to the eSignal desktop API but I haven't seen this problem covered in the documents on the file sharing page nor in this forum.
I've built a test app which displays time and sales, and in order to get the most current Bid and Ask I subscribe not only to T&S events but also to quote events. When I start the app I make a single call to RequestSymbol for my quote events, and a single call to RequestTimeSales supplying my filter. Today I'm testing without the markets being open, and for quote events, I get one or two stale events printing in my listview which is no big deal, but for T&S events, I check get_IsTimeSalesReady and find it to be false ( even after sleeps of over 10 seconds ), and I then get a chain of exactly 255 OnTimeSalesChanged events for my correct handle even though the return from get_GetNumTimeSalesRtBars is always zero. Always exactly 255 events with the same T&S bar repeating over and over which I'm guessing was the last bar recorded prior to market close.
I have tried clearing the symbol cache, releasing all symbols, releasing all history, and releasing all time sales but nothing seems to clean out this stale data. I've even tried killing data manager and resetting the databases but no joy.
Does anyone have any idea where this data is coming from and why I can't get rid of it?
Thanks for your help,
- Richard
I've built a test app which displays time and sales, and in order to get the most current Bid and Ask I subscribe not only to T&S events but also to quote events. When I start the app I make a single call to RequestSymbol for my quote events, and a single call to RequestTimeSales supplying my filter. Today I'm testing without the markets being open, and for quote events, I get one or two stale events printing in my listview which is no big deal, but for T&S events, I check get_IsTimeSalesReady and find it to be false ( even after sleeps of over 10 seconds ), and I then get a chain of exactly 255 OnTimeSalesChanged events for my correct handle even though the return from get_GetNumTimeSalesRtBars is always zero. Always exactly 255 events with the same T&S bar repeating over and over which I'm guessing was the last bar recorded prior to market close.
I have tried clearing the symbol cache, releasing all symbols, releasing all history, and releasing all time sales but nothing seems to clean out this stale data. I've even tried killing data manager and resetting the databases but no joy.
Does anyone have any idea where this data is coming from and why I can't get rid of it?
Thanks for your help,
- Richard
Comment