TotalCommission

View as Markdown

Definition

Returns the total commission.

Property Value

A double value that represents the total commission.

Syntax

\<tradecollection\>.TradesPerformance.TotalCommission

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the total commission of all trades
4 Print("Total commission is: " + SystemPerformance.AllTrades.TradesPerformance.TotalCommission);
5}