Basically in a nutshell my strategies were running, the charts were updating, but on some symbols I didn't see entries when they were supposed to happen. Upon reload of those chart the entries were present. So at first I thought there was a logic problem in my strategy. But after some digging I had a nagging suspicion that OnBarUpdate may not be called on some of the symbols. Which is why I then added the following code into my OBU method:
protected override void OnBarUpdate() { if (BarsInProgress == 0 && FirstTickOfBar && !Historical) { String heartbeat = "**** " + Times[0][startIndexSeriesZero] + ": Heartbeat " + instrumentName + " ****"; Print(heartbeat); Log(heartbeat, LogLevel.Information); }
As you can see I am missing several symbols - I have no idea why!
On my other production system I am experiencing the very same problem:
Same strategy, same setup, here it's the USDJPY which doesn't print for some reason. It also did not trigger several executions overnight. Again, on reload of the chart those executions are there - they should have been taken.
To summarize:
- Roll over notifications are not present.
- Executions do not take place.
- No errors are seen in the log or output.
- The problem happens on two discrete systems.
I think I'm going to need some help with this as I have no idea what would cause something like this
Many thanks in advance.
Comment