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(); }