Hi!
If the provider has lost connection what I can do to reload hist. data after reconnection in my streaming provider?
Size:
Color:
Hi,
QUOTE:
If the provider has lost connection what I can do to reload hist. data after reconnection in my streaming provider?
I don't think you need to "reload" the entire historical data. What you'd want to do is "backfill" the missing bars. It's not a job of the Streaming data provider; it's
StaticDataProvider's duty. Streaming providers only deliver the streaming data as tick updates or partial bars, that's all.
Size:
Color:
if I just call RequestData in StaticProvider it will return Bars object - how to make update ?
Size:
Color:
The idea is that your static provider returns the most up-to-date Bars object's state which would include the data missing due to loss of connection when the user re-clicks the Stream button.
Otherwise please clarify your issue, the more detail the better. Thanks.
Size:
Color:
the idea to make it without participation of the user. The provider has to load gaps after reconnection.
Size:
Color:
if I save new data in BarDataStore - how to force Chart them to see?
Size:
Color:
QUOTE:
if I save new data in BarDataStore - how to force Chart them to see?
The backfill job is done once streaming starts. In other words, I don't think you'll have success in filling the static data gap by means of your Streaming data provider. It just isn't meant for that. Like I said, its purpose is only to form the
current partial bar by delivering streaming tick/minibar updates.
The Strategy Monitor can work with streaming data updates (Fidelity data works like this) and re-request the missing bars automatically, though.
Size:
Color: