ProfitPerMonth

View as Markdown

Definition

Returns the profit per month of the collection. This value is always returned as a percentage.

Property Value

A double value that represents the profit per month of the collection as a percentage.

Syntax

\<tradecollection\>.TradesPerformance.\<tradesperformancevalues\>.ProfitPerMonth

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the profit per month of all trades
4 Print("Profit per month of all trades is: " + SystemPerformance.AllTrades.TradesPerformance.Currency.ProfitPerMonth);
5}