Problem 1: Data gaps caused by automatic chart data load.
Steps to reproduce:
Step 1)
Get a full set of USDMXN Ask Day prices into Historical Data, going back to 17 Oct 2014. Close whatever you used to load this (eg Historical Data form or chart).
Step 2)
Open new chart USDMXN Daily Ask, 1 Timeframe: Bars 10, end date=30 Oct 2014. Result:All is fine since this is only requesting bars already in Historical Data (earliest bar shown is 17 Oct 2014).
Step 3)
Change Data Series so that Bars to load=11.
Result: NT detects it does not have a price for 16 Oct 2014 and chart displays ‘Loading’.
Chart appears to be correct with no gaps shown and extra bar for 16 Oct 2014.
Analysis:
Expected result in Historical Data: NT should insert prices for USDMXN/Ask/Day/16 Oct 2014 .
Actual result:
Checking the IB Gateway log I see this:
src:Ask e:20151011-23:00:00 len:1 y step:1 day
Which indicates that NT has asked IB for date information for a year going back from 11 Oct 2015.
This is extremely odd since NT only needed to ask for a single date (16 Nov 2014).
Opening Historical Data: I see that the earliest date stored is now 13 Oct 2014 (even though I only asked for an extra day. But looking at 11 Oct 2015 I see, serious bug NT has deleted the next date (12 Oct 2015).
What seems to have happened:
a) NT did block delete of dates in Historical Data going as far forward as 12 Oct 2015.
b) NT requests a year of dates from IB to 23:00 (where did this come from) 11 Oct 2015.
The result is unexpectedly more extra earlier dates, and a gap of one date (12 Oct 2015 deleted) which is nowhere near what the user is looking at, and is unlikely to be noticed until it causes problems at some later time, for example when running a strategy.

Comment