Shansen
05-31-2010, 03:20 AM
All,
In relation to the below NT7 Code breaking change, please confirm the change only serves to sync multiple series.
CurrentBar internal pointers are now updated earlier. This ensures that accessing bars across multiple series will be in sync regardless of which BarsInProgress context you may be working out of.
o For historical, pointers for all bar series with the same timestamp will be updated before
OnBarUpdate() will be triggered.
o For real-time, pointers for all bar series of the same instrument will be updated before
OnBarUpdate() will be triggered.
In the event a Strategy is designed to execute realtime in the last few seconds of a bar (with CalculateOnBarClose = false), to get meaningful results from the Strategy Analyzer (where OnBarUpdate() is only called on the close of each historical bar) does execution information still have to refer to the prior bar? For example, VariableWhatever = High[Historical ? 1 : 0];
Regards
Shannon
In relation to the below NT7 Code breaking change, please confirm the change only serves to sync multiple series.
CurrentBar internal pointers are now updated earlier. This ensures that accessing bars across multiple series will be in sync regardless of which BarsInProgress context you may be working out of.
o For historical, pointers for all bar series with the same timestamp will be updated before
OnBarUpdate() will be triggered.
o For real-time, pointers for all bar series of the same instrument will be updated before
OnBarUpdate() will be triggered.
In the event a Strategy is designed to execute realtime in the last few seconds of a bar (with CalculateOnBarClose = false), to get meaningful results from the Strategy Analyzer (where OnBarUpdate() is only called on the close of each historical bar) does execution information still have to refer to the prior bar? For example, VariableWhatever = High[Historical ? 1 : 0];
Regards
Shannon