internal BrokerAccount(FreeQuant.Providers.BrokerAccount brokerAccount) { this.brokerAccount = brokerAccount; }
public BrokerAccount AddAccount(string name) { FreeQuant.Providers.BrokerAccount brokerAccount = new FreeQuant.Providers.BrokerAccount(name); this.brokerInfo.Accounts.Add(brokerAccount); return new BrokerAccount(brokerAccount); }
public void Add(BrokerAccount account) { this.accountsByName.Add(account.Name, account); this.accountsByIndex.Add(account); }
public BrokerAccount AddAccount(string name) { FreeQuant.Providers.BrokerAccount brokerAccount = new FreeQuant.Providers.BrokerAccount(name); this.brokerInfo.Accounts.Add(brokerAccount); return(new BrokerAccount(brokerAccount)); }