Navigation: Realtest Script Language > Syntax Element Details >









Process setups and apply constraints as was done prior to the introduction of top-down mode in release 2.0.26


True - use legacy mode

False - use top-down mode (default)


In Legacy mode, there was no support for Combined or StatsGroup constraints. Each strategy had to calculate its individual constraints with explicit references to other strategy's current investment levels to model any kind of multi-strategy caps.

Also in Legacy mode, position sizes for strategy constraint checks were based on FillPrice, implying that share Quantity could be calculated at the moment of entry.

In the newer top-down mode, constraints are checked at multiple levels -- Strategy, StatsGroup and Combined -- and are based on the OrderPrice of each setup

See Also: Backtest Engine Details and Capacity Constraints





Copyright © 2020-2024 Systematic Solutions, LLC