コード例 #1
0
 public InvestorDepot Login(InvestorRegistration r, string exchangeId)
 {
     email = r.Email;
     client.SubscribeOnNewShareInformationAvailable(exchangeId);
     client.SubscribeOnNewOrderAvailable(exchangeId);
     client.SubscribeOnNewTransactionAvailable(exchangeId);
     client.SubscribeOnNewInvestorDepotAvailable(exchangeId);
     return(client.LoginInvestor(r, exchangeId));
 }
コード例 #2
0
 public void Login(FundRegistration r, string exchangeId)
 {
     fundid = r.Id;
     client.SubscribeOnNewShareInformationAvailable(exchangeId);
     client.SubscribeOnNewOrderAvailable(exchangeId);
     client.SubscribeOnNewTransactionAvailable(exchangeId);
     client.SubscribeOnNewInvestorDepotAvailable(exchangeId);
     client.SubscribeOnNewFundDepotAvailable(exchangeId);
     client.LoginFund(r, exchangeId);
 }