コード例 #1
0
ファイル: Portfolio.cs プロジェクト: heber/FreeOQ
 public Portfolio()
 {
     this.Id = -1;
     this.transactions = new TransactionList();
     this.positions = new PositionList();
     this.account = new Account();
     this.account.TransactionAdded += new AccountTransactionEventHandler(this.O3KsaYYaRC);
     this.monitored = true;
     this.persistent = false;
     this.marginManager = new MarginManager();
     this.marginManager.Enabled = false;
     this.performance = new Performance(this);
     this.dataLock = new object();
 }
コード例 #2
0
ファイル: Portfolio.cs プロジェクト: zhuzhenping/FreeOQ
 public Portfolio()
 {
     this.Id                        = -1;
     this.transactions              = new TransactionList();
     this.positions                 = new PositionList();
     this.account                   = new Account();
     this.account.TransactionAdded += new AccountTransactionEventHandler(this.O3KsaYYaRC);
     this.monitored                 = true;
     this.persistent                = false;
     this.marginManager             = new MarginManager();
     this.marginManager.Enabled     = false;
     this.performance               = new Performance(this);
     this.dataLock                  = new object();
 }