This is still part of my on-going conversion from 6.5 to NT 7.
I "Add()" multiple instruments within my code... somewhere between 6-10. A few problems:
- When I expand the strategy view (which should be showing position/performance for each instrument)... I only see some of the instruments. In fact, I only show 2 of the instruments I've added. I don't *need* this to work, but I'm wondering if this is indicating of some kind of a problem during strategy startup. Looking at the output messages from my code, it seems like the other instruments have been added.
- The more important issue: "Historical" doesn't seem to be working correctly. I added this line to my OnBarUpdate():
Print("Current time: " + Time[0] + ", historical is: " + Historical);
And every 5 minutes (I run with 5m bars), I'm seeing this in output:
Current time: 5/23/2011 9:35:00 AM, historical is: True
Comment