Package ru.tinkoff.piapi.contract.v1
Interface LastPriceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LastPrice,LastPrice.Builder
public interface LastPriceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFigi()Figi инструмента.com.google.protobuf.ByteStringFigi инструмента.Uid инструментаcom.google.protobuf.ByteStringUid инструментаgetPrice()Цена последней сделки за 1 инструмент.Цена последней сделки за 1 инструмент.com.google.protobuf.TimestampgetTime()Время получения последней цены в часовом поясе UTC по времени биржи.com.google.protobuf.TimestampOrBuilderВремя получения последней цены в часовом поясе UTC по времени биржи.booleanhasPrice()Цена последней сделки за 1 инструмент.booleanhasTime()Время получения последней цены в часовом поясе UTC по времени биржи.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-
hasPrice
boolean hasPrice()Цена последней сделки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
.tinkoff.public.invest.api.contract.v1.Quotation price = 2;- 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 = 2;- Returns:
- The price.
-
getPriceOrBuilder
QuotationOrBuilder getPriceOrBuilder()Цена последней сделки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
.tinkoff.public.invest.api.contract.v1.Quotation price = 2; -
hasTime
boolean hasTime()Время получения последней цены в часовом поясе UTC по времени биржи.
.google.protobuf.Timestamp time = 3;- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()Время получения последней цены в часовом поясе UTC по времени биржи.
.google.protobuf.Timestamp time = 3;- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()Время получения последней цены в часовом поясе UTC по времени биржи.
.google.protobuf.Timestamp time = 3; -
getInstrumentUid
String getInstrumentUid()Uid инструмента
string instrument_uid = 11;- Returns:
- The instrumentUid.
-
getInstrumentUidBytes
com.google.protobuf.ByteString getInstrumentUidBytes()Uid инструмента
string instrument_uid = 11;- Returns:
- The bytes for instrumentUid.
-