<< Click to Display Table of Contents >>
NinjaScript > Language Reference > Strategy > SystemPerformance >
RealTimeTrades is a TradeCollection object of real-time trades generated by a strategy.
protected override void OnBarUpdate()
// Print out the number of real-time trades
Print("The strategy has taken " + SystemPerformance.RealTimeTrades.Count + " real-time trades.");