I've traced this back to NT8 itself -- when I resume from the debugger, it picks up with what the time is now, without generating any of the intervening data; the BarsSeries has a gap and I can't be clever about adjusting the MinIndex to go back earlier to reclaim the data that was missed while I was paused in the debugger.
I've also tried rekicking the BarsRequest with sufficient backfillCount to get the missing data, but that doesn't return it either.
Is this expected?
I could see arguments for generating the data upon resume, but can understand why that might not have been implemented. The issue is that it means I have to make various parts of my code resilient against possible data gaps. I do not love this, b/c it sprinkles complexity throughout my codebase. OTOH, perhaps this is a fact of life for all trading apps and I absolutely SHOULD be making my code resilient to gaps, b/c this is an ongoing issue for all trading apps at all times; it's the internet, and sometimes you don't get your data.
Can you clarify?
If I CAN actually fill in the missing data, what is the best practice for doing so?
Thanks in advance, for any help you can provide.
Cheers,
Peter
Comment