TotalQuantity
<< Click to Display Table of Contents >>
Navigation: NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
Returns the total quantity.
A double value that represents the total quantity.
protected override void OnBarUpdate() { // Print out the total quantity of all trades Print("Total quantity is: " + SystemPerformance.AllTrades.TradesPerformance.TotalQuantity); }