Exemple #1
0
 public TransactionsReport getTransactionsReport()
 {
     if (_reportTransactions == null)
     {
         _reportTransactions = new TransactionsReport(_traderAgent.Agents, _instrument);
     }
     return(_reportTransactions);
 }
Exemple #2
0
 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;
 }