NinjaScript > Language Reference > Strategy > Positions |
![]() ![]() ![]() ![]() |
Definition Holds an array of Position objects that represent positions managed by the strategy. This property should only be used when your strategy is executing orders against multiple instruments.
Index value is based on the the array of Bars objects added via the Add() method. For example:
Primary Bars is ES 1 Minute
Positions[0] == ES position
Property Value An array of Position objects.
Syntax
Property Of Custom Strategy
Examples
|