NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
Currency
Definition Returns a TradesPerformanceValues object in currency.
Property Value
A TradesPerformanceValues object that is represented in currency.
Syntax <TradeCollection>.TradesPerformance.Percent
Examples
protected override void OnBarUpdate() { // Print out the avg. profit of all trades in currency
Print("Average profit: " + Performance.AllTrades.TradesPerformance.Currency.AvgProfit); }