Exemplo n.º 1
0
 public PositionFinancing(string instrument, decimal financing, decimal baseFinancing, decimal quoteFinancing, HomeConversionFactors homeConversionFactors, ImmutableList <OpenTradeFinancing> openTradeFinancings, AccountFinancingMode accountFinancingMode)
 {
     Instrument            = instrument;
     Financing             = financing;
     BaseFinancing         = baseFinancing;
     QuoteFinancing        = quoteFinancing;
     HomeConversionFactors = homeConversionFactors;
     OpenTradeFinancings   = openTradeFinancings;
     AccountFinancingMode  = accountFinancingMode;
 }
 public DailyFinancingTransaction()
 {
     this.Id                   = new TransactionID();
     this.Time                 = new DateTime();
     this.AccountID            = new AccountID();
     this.BatchID              = new TransactionID();
     this.RequestID            = new RequestID();
     this.Type                 = new TransactionType(ETransactionType.DAILY_FINANCING);
     this.Financing            = new AccountUnits();
     this.AccountBalance       = new AccountUnits();
     this.AccountFinancingMode = new AccountFinancingMode();
     this.PositionFinancings   = new List <PositionFinancing>();
 }
 public DailyFinancingTransaction(TransactionID id, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, AccountUnits financing, AccountUnits accountBalance, AccountFinancingMode accountFinancingMode, List <PositionFinancing> positionFinancings)
 {
     this.Id                   = id;
     this.Time                 = time;
     this.UserID               = userID;
     this.AccountID            = accountID;
     this.BatchID              = batchID;
     this.RequestID            = requestID;
     this.Type                 = type;
     this.Financing            = financing;
     this.AccountBalance       = accountBalance;
     this.AccountFinancingMode = accountFinancingMode;
     this.PositionFinancings   = positionFinancings;
 }