Exemplo n.º 1
0
 public virtual void updatePortfolio(Contract contract, double position, double marketPrice, double marketValue, double averageCost, double unrealizedPNL, double realizedPNL, string accountName)
 {
     this_portfolio_Struct = new Portfolio_Struct(contract, position, marketPrice, marketValue, averageCost, unrealizedPNL, realizedPNL, accountName);
 }
Exemplo n.º 2
0
 public AccountValueAndPortfolio_Struct(string _AccountTime, List <AccountValue_Struct> _accountValue_Struct_List, Portfolio_Struct _portfolio_Struct)
 {
     AccountTime = _AccountTime;
     accountValue_Struct_List = _accountValue_Struct_List;
     portfolio_Struct         = _portfolio_Struct;
 }