public Position( string name, string figi, string ticker, string isin, InstrumentType instrumentType, decimal balance, decimal blocked, MoneyAmount expectedYield, int lots, MoneyAmount averagePositionPrice, MoneyAmount averagePositionPriceNoNkd) { Name = name; Figi = figi; Ticker = ticker; Isin = isin; InstrumentType = instrumentType; Balance = balance; Blocked = blocked; ExpectedYield = expectedYield; Lots = lots; AveragePositionPrice = averagePositionPrice; AveragePositionPriceNoNkd = averagePositionPriceNoNkd; }
public PlacedMarketOrder(string orderId, OperationType operation, OrderStatus status, string rejectReason, int requestedLots, int executedLots, MoneyAmount commission) { OrderId = orderId; Operation = operation; Status = status; RejectReason = rejectReason; RequestedLots = requestedLots; ExecutedLots = executedLots; Commission = commission; }
public Position(string figi, string ticker, string isin, InstrumentType instrumentType, decimal balance, decimal blocked, MoneyAmount expectedYield, int lots) { Figi = figi; Ticker = ticker; Isin = isin; InstrumentType = instrumentType; Balance = balance; Blocked = blocked; ExpectedYield = expectedYield; Lots = lots; }
public Operation(string id, OperationStatus status, List <Trade> trades, MoneyAmount commission, Currency currency, decimal payment, decimal price, int quantity, string figi, InstrumentType instrumentType, bool isMarginCall, DateTime date, ExtendedOperationType operationType) { Id = id; Status = status; Trades = trades; Commission = commission; Currency = currency; Payment = payment; Price = price; Quantity = quantity; Figi = figi; InstrumentType = instrumentType; IsMarginCall = isMarginCall; Date = date; OperationType = operationType; }