Interface TradeOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Направление сделки.
    int
    Направление сделки.
    Figi-идентификатор инструмента.
    com.google.protobuf.ByteString
    Figi-идентификатор инструмента.
    Uid инструмента
    com.google.protobuf.ByteString
    Uid инструмента
    Цена за 1 инструмент.
    Цена за 1 инструмент.
    long
    Количество лотов.
    com.google.protobuf.Timestamp
    Время сделки в часовом поясе UTC по времени биржи.
    com.google.protobuf.TimestampOrBuilder
    Время сделки в часовом поясе UTC по времени биржи.
    boolean
    Цена за 1 инструмент.
    boolean
    Время сделки в часовом поясе UTC по времени биржи.

    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

    • getFigi

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

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

      int getDirectionValue()
      Направление сделки.
       
      .tinkoff.public.invest.api.contract.v1.TradeDirection direction = 2;
      Returns:
      The enum numeric value on the wire for direction.
    • getDirection

      TradeDirection getDirection()
      Направление сделки.
       
      .tinkoff.public.invest.api.contract.v1.TradeDirection direction = 2;
      Returns:
      The direction.
    • hasPrice

      boolean hasPrice()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 3;
      Returns:
      Whether the price field is set.
    • getPrice

      Quotation getPrice()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 3;
      Returns:
      The price.
    • getPriceOrBuilder

      QuotationOrBuilder getPriceOrBuilder()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 3;
    • getQuantity

      long getQuantity()
      Количество лотов.
       
      int64 quantity = 4;
      Returns:
      The quantity.
    • hasTime

      boolean hasTime()
      Время сделки в часовом поясе UTC по времени биржи.
       
      .google.protobuf.Timestamp time = 5;
      Returns:
      Whether the time field is set.
    • getTime

      com.google.protobuf.Timestamp getTime()
      Время сделки в часовом поясе UTC по времени биржи.
       
      .google.protobuf.Timestamp time = 5;
      Returns:
      The time.
    • getTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
      Время сделки в часовом поясе UTC по времени биржи.
       
      .google.protobuf.Timestamp time = 5;
    • getInstrumentUid

      String getInstrumentUid()
      Uid инструмента
       
      string instrument_uid = 6;
      Returns:
      The instrumentUid.
    • getInstrumentUidBytes

      com.google.protobuf.ByteString getInstrumentUidBytes()
      Uid инструмента
       
      string instrument_uid = 6;
      Returns:
      The bytes for instrumentUid.