NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
TradesPerDay
Definition Returns the average number of trades per day.
Property Value
An int value that represents the average number of trades per day.
Syntax <TradeCollection>.TradesPerformance.TradesPerDay
Examples
protected override void OnBarUpdate() { // Print out the average number of trades per day of all trades
Print("Average # bars per trade is: " + Performance.AllTrades.TradesPerformance.TradesPerDay); }