In the NT8 Help Guide it states under tips it states
4. Scripts that require Calculate to be set by the developer must set this property in State.Historical in its OnStateChange() in order to ensure that if this script is a child (hosted) that the parent.Calculate property which is adopted by the child is overridden again.
If you have a strategy that does not run on historical data (example, you are using ATM Strategies. And you program your strategy like so.
else if(State == State.Historical)
{
return
}
Comment