Very interesting behavior. I'm trying to run the same strategy across several asset classes. All of them are working fine, except for my "metals" group (GC, HG, SI). All are submitting sim trades as expected, but none of those three are.
I suspected, perhaps, that it might be my session manager - so I went and ensured that all those instruments were using a session that were currently being used correctly (luckily those three share time sessions with NYMEX energy products). Didn't work.
I removed the strategies, shut down, restarted, and re-added them. Didn't work.
I ran a historical backtest, using the same strategies and sessions, on those instruments - that worked.
So I opened up a debug session on those three instruments and strategies. On the historical load, the OnBarUpdate event was correctly triggered and evaluated for every security. However, when it came to real-time, no "OnBarUpdate" were called - for any of those metals.
For good measure I turned on the same strategy for a different instrument, and it worked correctly in real-time (actually, 11 other instruments worked correctly in this case.)
What would cause NT not to trigger the "OnBarUpdate", even when a new bar was visually confirmed on a few charts?
I can send you a copy of the code I'm working but I'm highly confident that's not the problem. No number of sim account clearances, account changes, chart reloads, etc have been able to "fix" this issue today. Ideas?
PS I attached a photo, where you'll see at the top right the charts of 3 metals with zero trades on them (though every other instrument, running every other chart, has a multitude of trades).
PPS - I looked through the TRACE file and found this - perhaps you guys could shed some light on it:
2010-06-30 10:49:18:843 (DTN-IQ) Data.Bars.GetBarsNow: instrument='GC 08-10' from='2009-12-31' to='2010-06-30 23:59:59' period=1 Tick splitAdjusted=False dividendAdjusted=False bars=0 session='Nymex Metals / Energy ETH' 2010-06-30 10:49:22:656 ERROR: IQFeed.Adapter.MessageLoopLookup msg='!ENDMSG!,': The process cannot access the file 'I:\Documents and Settings\Administrator\My Documents\NinjaTrader 7\db\tick\GC 08-10\201006301100.Last.ntd' because it is being used by another process.

Comment