PDA

View Full Version : AllTrades.ByMonth


khoga
06-16-2012, 11:52 AM
Given the following:

foreach(Trade myTrade in Performance.AllTrades.ByMonth)

when looking at the attributes for myTrade, are these related to all previous trades, grouped by month?

for example, if myTrade.Qty = 97 means there were 97 trades in that month, given use of the entry time?

NinjaTrader_Matthew
06-17-2012, 12:30 PM
Hello Khoga,

Thank you for your post.

Yes, that would be pulling the number of trades that were made in the most recent month.