Navigation: Realtest Script Language > Syntax Element Details >







Strategy Elements


Open position count limit for a strategy


Any formula specifying a count


When present, this formula is evaluated before new positions are entered each day.

If MaxPositions returns 0 then no new positions can be entered.

If MaxPositions is not specified then there is no limit placed on the number of open positions.

When entries have to be skipped because of this position count cap, EntryScore is used to determine which positions are entered and which are skipped. Entries skipped for this reason display "max positions" in the Reason column of the Trade List if Skipped was included in the KeepTrades setting when the test was run.

See Asset Allocation and Position Sizing for additional information.




Copyright © 2020-2022 Systematic Solutions, LLC