Quantity
<< Click to Display Table of Contents >>
Navigation: NinjaScript > Language Reference > Strategy > Position >
Gets the strategy's current position size.
An int value representing the position size.
Position.Quantity
protected override void OnBarUpdate() { // Prints out the current market position Print(Position.MarketPosition.ToString() + " " + Position.Quantity.ToString()); }