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