Package ru.tinkoff.piapi.contract.v1
Interface OrderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Order,Order.Builder
public interface OrderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
hasPrice
boolean hasPrice()Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
.tinkoff.public.invest.api.contract.v1.Quotation price = 1;- 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 = 1;- Returns:
- The price.
-
getPriceOrBuilder
QuotationOrBuilder getPriceOrBuilder()Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
.tinkoff.public.invest.api.contract.v1.Quotation price = 1; -
getQuantity
long getQuantity()Количество в лотах.
int64 quantity = 2;- Returns:
- The quantity.
-