Interface VirtualPortfolioPositionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
VirtualPortfolioPosition, VirtualPortfolioPosition.Builder

public interface VirtualPortfolioPositionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Средневзвешенная цена позиции.
    Средняя цена позиции по методу FIFO.
    Средняя цена позиции по методу FIFO.
    Средневзвешенная цена позиции.
    Текущая цена за 1 инструмент.
    Текущая цена за 1 инструмент.
    Текущая рассчитанная доходность позиции.
    Текущая рассчитанная доходность позиции.
    Текущая рассчитанная доходность позиции.
    Текущая рассчитанная доходность позиции.
    com.google.protobuf.Timestamp
    Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
    com.google.protobuf.TimestampOrBuilder
    Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
    Figi-идентификатора инструмента.
    com.google.protobuf.ByteString
    Figi-идентификатора инструмента.
    Тип инструмента.
    com.google.protobuf.ByteString
    Тип инструмента.
    instrument_uid-идентификатора инструмента
    com.google.protobuf.ByteString
    instrument_uid-идентификатора инструмента
    position_uid-идентификатора инструмента
    com.google.protobuf.ByteString
    position_uid-идентификатора инструмента
    Количество инструмента в портфеле в штуках.
    Количество инструмента в портфеле в штуках.
    boolean
    Средневзвешенная цена позиции.
    boolean
    Средняя цена позиции по методу FIFO.
    boolean
    Текущая цена за 1 инструмент.
    boolean
    Текущая рассчитанная доходность позиции.
    boolean
    Текущая рассчитанная доходность позиции.
    boolean
    Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
    boolean
    Количество инструмента в портфеле в штуках.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPositionUid

      String getPositionUid()
      position_uid-идентификатора инструмента
       
      string position_uid = 1;
      Returns:
      The positionUid.
    • getPositionUidBytes

      com.google.protobuf.ByteString getPositionUidBytes()
      position_uid-идентификатора инструмента
       
      string position_uid = 1;
      Returns:
      The bytes for positionUid.
    • getInstrumentUid

      String getInstrumentUid()
      instrument_uid-идентификатора инструмента
       
      string instrument_uid = 2;
      Returns:
      The instrumentUid.
    • getInstrumentUidBytes

      com.google.protobuf.ByteString getInstrumentUidBytes()
      instrument_uid-идентификатора инструмента
       
      string instrument_uid = 2;
      Returns:
      The bytes for instrumentUid.
    • getFigi

      String getFigi()
      Figi-идентификатора инструмента.
       
      string figi = 3;
      Returns:
      The figi.
    • getFigiBytes

      com.google.protobuf.ByteString getFigiBytes()
      Figi-идентификатора инструмента.
       
      string figi = 3;
      Returns:
      The bytes for figi.
    • getInstrumentType

      String getInstrumentType()
      Тип инструмента.
       
      string instrument_type = 4;
      Returns:
      The instrumentType.
    • getInstrumentTypeBytes

      com.google.protobuf.ByteString getInstrumentTypeBytes()
      Тип инструмента.
       
      string instrument_type = 4;
      Returns:
      The bytes for instrumentType.
    • hasQuantity

      boolean hasQuantity()
      Количество инструмента в портфеле в штуках.
       
      .tinkoff.public.invest.api.contract.v1.Quotation quantity = 5;
      Returns:
      Whether the quantity field is set.
    • getQuantity

      Quotation getQuantity()
      Количество инструмента в портфеле в штуках.
       
      .tinkoff.public.invest.api.contract.v1.Quotation quantity = 5;
      Returns:
      The quantity.
    • getQuantityOrBuilder

      QuotationOrBuilder getQuantityOrBuilder()
      Количество инструмента в портфеле в штуках.
       
      .tinkoff.public.invest.api.contract.v1.Quotation quantity = 5;
    • hasAveragePositionPrice

      boolean hasAveragePositionPrice()
      Средневзвешенная цена позиции. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price = 6;
      Returns:
      Whether the averagePositionPrice field is set.
    • getAveragePositionPrice

      MoneyValue getAveragePositionPrice()
      Средневзвешенная цена позиции. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price = 6;
      Returns:
      The averagePositionPrice.
    • getAveragePositionPriceOrBuilder

      MoneyValueOrBuilder getAveragePositionPriceOrBuilder()
      Средневзвешенная цена позиции. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price = 6;
    • hasExpectedYield

      boolean hasExpectedYield()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield = 7;
      Returns:
      Whether the expectedYield field is set.
    • getExpectedYield

      Quotation getExpectedYield()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield = 7;
      Returns:
      The expectedYield.
    • getExpectedYieldOrBuilder

      QuotationOrBuilder getExpectedYieldOrBuilder()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield = 7;
    • hasExpectedYieldFifo

      boolean hasExpectedYieldFifo()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield_fifo = 8;
      Returns:
      Whether the expectedYieldFifo field is set.
    • getExpectedYieldFifo

      Quotation getExpectedYieldFifo()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield_fifo = 8;
      Returns:
      The expectedYieldFifo.
    • getExpectedYieldFifoOrBuilder

      QuotationOrBuilder getExpectedYieldFifoOrBuilder()
      Текущая рассчитанная доходность позиции.
       
      .tinkoff.public.invest.api.contract.v1.Quotation expected_yield_fifo = 8;
    • hasExpireDate

      boolean hasExpireDate()
      Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
       
      .google.protobuf.Timestamp expire_date = 9;
      Returns:
      Whether the expireDate field is set.
    • getExpireDate

      com.google.protobuf.Timestamp getExpireDate()
      Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
       
      .google.protobuf.Timestamp expire_date = 9;
      Returns:
      The expireDate.
    • getExpireDateOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireDateOrBuilder()
      Дата до которой нужно продать виртуальные бумаги, после этой даты виртуальная позиция "сгорит"
       
      .google.protobuf.Timestamp expire_date = 9;
    • hasCurrentPrice

      boolean hasCurrentPrice()
      Текущая цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента..
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue current_price = 10;
      Returns:
      Whether the currentPrice field is set.
    • getCurrentPrice

      MoneyValue getCurrentPrice()
      Текущая цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента..
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue current_price = 10;
      Returns:
      The currentPrice.
    • getCurrentPriceOrBuilder

      MoneyValueOrBuilder getCurrentPriceOrBuilder()
      Текущая цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента..
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue current_price = 10;
    • hasAveragePositionPriceFifo

      boolean hasAveragePositionPriceFifo()
      Средняя цена позиции по методу FIFO. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price_fifo = 11;
      Returns:
      Whether the averagePositionPriceFifo field is set.
    • getAveragePositionPriceFifo

      MoneyValue getAveragePositionPriceFifo()
      Средняя цена позиции по методу FIFO. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price_fifo = 11;
      Returns:
      The averagePositionPriceFifo.
    • getAveragePositionPriceFifoOrBuilder

      MoneyValueOrBuilder getAveragePositionPriceFifoOrBuilder()
      Средняя цена позиции по методу FIFO. **Возможна задержка до секунды для пересчёта**.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue average_position_price_fifo = 11;