public TransactionsReport getTransactionsReport() { if (_reportTransactions == null) { _reportTransactions = new TransactionsReport(_traderAgent.Agents, _instrument); } return(_reportTransactions); }
public void Clear() { _dateCurrent = new DateTime(); _dateStart = new DateTime(); _dateEnd = new DateTime(); _year = 0; _observers = new ArrayList(); _traderstats = new Hashtable(); _reportAnnual = null; _isInitialized = false; _traderstats.Clear(); _reportTransactions = null; total = 0; totalpnl = 0; totaltransactions = 0; totaldays = 0; }