NinjaScript > Language Reference > Data > Historical |
![]() ![]() ![]() ![]() |
Definition Indicates if the NinjaScript object is running on historical data. With a strategy, when running a backtest, this property will always return true. When running a live strategy, this property will be true until the strategy starts processing real-time data. The property can be of value for many different applications.
Property Value This property returns true if the NinjaScript is running on historical data; otherwise, false.
Syntax Historical
Examples
Tips
|