Package ru.tinkoff.piapi.contract.v1
Class Currency
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.Currency
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,CurrencyOrBuilder
public final class Currency
extends com.google.protobuf.GeneratedMessageV3
implements CurrencyOrBuilder
Объект передачи информации о валюте.Protobuf type
tinkoff.public.invest.api.contract.v1.Currency- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classОбъект передачи информации о валюте.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanПараметр указывает на возможность торговать инструментом через API.booleanФлаг заблокированного ТКСbooleanПризнак доступности для покупки.Класс-код (секция торгов).com.google.protobuf.ByteStringКласс-код (секция торгов).Код страны риска, т.е. страны, в которой компания ведёт основной бизнес.com.google.protobuf.ByteStringКод страны риска, т.е. страны, в которой компания ведёт основной бизнес.Наименование страны риска, т.е. страны, в которой компания ведёт основной бизнес.com.google.protobuf.ByteStringНаименование страны риска, т.е. страны, в которой компания ведёт основной бизнес.Валюта расчётов.com.google.protobuf.ByteStringВалюта расчётов.static Currencystatic final com.google.protobuf.Descriptors.DescriptorgetDlong()Ставка риска минимальной маржи в лонг.Ставка риска начальной маржи в лонг.Ставка риска начальной маржи в лонг.Ставка риска минимальной маржи в лонг.Ставка риска минимальной маржи в шорт.Ставка риска начальной маржи в шорт.Ставка риска начальной маржи в шорт.Ставка риска минимальной маржи в шорт.Торговая площадка.com.google.protobuf.ByteStringТорговая площадка.getFigi()Figi-идентификатор инструмента.com.google.protobuf.ByteStringFigi-идентификатор инструмента.com.google.protobuf.TimestampДата первой дневной свечи.com.google.protobuf.TimestampOrBuilderДата первой дневной свечи.com.google.protobuf.TimestampДата первой минутной свечи.com.google.protobuf.TimestampOrBuilderДата первой минутной свечи.booleanПризнак доступности для ИИС.booleanФлаг отображающий доступность торговли инструментом только для квалифицированных инвесторов.getIsin()Isin-идентификатор инструмента.com.google.protobuf.ByteStringIsin-идентификатор инструмента.Строковый ISO-код валюты.com.google.protobuf.ByteStringСтроковый ISO-код валюты.getKlong()Коэффициент ставки риска длинной позиции по инструменту.Коэффициент ставки риска длинной позиции по инструменту.Коэффициент ставки риска короткой позиции по инструменту.Коэффициент ставки риска короткой позиции по инструменту.intgetLot()Лотность инструмента.Шаг цены.Шаг цены.getName()Название инструмента.com.google.protobuf.ByteStringНазвание инструмента.Номинал.Номинал.booleanПризнак внебиржевой ценной бумаги.com.google.protobuf.Parser<Currency>Уникальный идентификатор позиции инструмента.com.google.protobuf.ByteStringУникальный идентификатор позиции инструмента.Реальная площадка исполнения расчётов.intРеальная площадка исполнения расчётов.booleanПризнак доступности для продажи.intbooleanПризнак доступности для операций в шорт.Тикер инструмента.com.google.protobuf.ByteStringТикер инструмента.Текущий режим торгов инструмента.intТекущий режим торгов инструмента.getUid()Уникальный идентификатор инструмента.com.google.protobuf.ByteStringУникальный идентификатор инструмента.final com.google.protobuf.UnknownFieldSetbooleanФлаг отображающий доступность торговли инструментом по выходнымbooleanhasDlong()Ставка риска минимальной маржи в лонг.booleanСтавка риска начальной маржи в лонг.booleanСтавка риска минимальной маржи в шорт.booleanСтавка риска начальной маржи в шорт.booleanДата первой дневной свечи.booleanДата первой минутной свечи.inthashCode()booleanhasKlong()Коэффициент ставки риска длинной позиции по инструменту.booleanКоэффициент ставки риска короткой позиции по инструменту.booleanШаг цены.booleanНоминал.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Currency.Builderstatic Currency.BuildernewBuilder(Currency prototype) protected Currency.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CurrencyparseDelimitedFrom(InputStream input) static CurrencyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrencyparseFrom(byte[] data) static CurrencyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrencyparseFrom(com.google.protobuf.ByteString data) static CurrencyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrencyparseFrom(com.google.protobuf.CodedInputStream input) static CurrencyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrencyparseFrom(InputStream input) static CurrencyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrencyparseFrom(ByteBuffer data) static CurrencyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Currency>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
FIGI_FIELD_NUMBER
public static final int FIGI_FIELD_NUMBER- See Also:
-
TICKER_FIELD_NUMBER
public static final int TICKER_FIELD_NUMBER- See Also:
-
CLASS_CODE_FIELD_NUMBER
public static final int CLASS_CODE_FIELD_NUMBER- See Also:
-
ISIN_FIELD_NUMBER
public static final int ISIN_FIELD_NUMBER- See Also:
-
LOT_FIELD_NUMBER
public static final int LOT_FIELD_NUMBER- See Also:
-
CURRENCY_FIELD_NUMBER
public static final int CURRENCY_FIELD_NUMBER- See Also:
-
KLONG_FIELD_NUMBER
public static final int KLONG_FIELD_NUMBER- See Also:
-
KSHORT_FIELD_NUMBER
public static final int KSHORT_FIELD_NUMBER- See Also:
-
DLONG_FIELD_NUMBER
public static final int DLONG_FIELD_NUMBER- See Also:
-
DSHORT_FIELD_NUMBER
public static final int DSHORT_FIELD_NUMBER- See Also:
-
DLONG_MIN_FIELD_NUMBER
public static final int DLONG_MIN_FIELD_NUMBER- See Also:
-
DSHORT_MIN_FIELD_NUMBER
public static final int DSHORT_MIN_FIELD_NUMBER- See Also:
-
SHORT_ENABLED_FLAG_FIELD_NUMBER
public static final int SHORT_ENABLED_FLAG_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
EXCHANGE_FIELD_NUMBER
public static final int EXCHANGE_FIELD_NUMBER- See Also:
-
NOMINAL_FIELD_NUMBER
public static final int NOMINAL_FIELD_NUMBER- See Also:
-
COUNTRY_OF_RISK_FIELD_NUMBER
public static final int COUNTRY_OF_RISK_FIELD_NUMBER- See Also:
-
COUNTRY_OF_RISK_NAME_FIELD_NUMBER
public static final int COUNTRY_OF_RISK_NAME_FIELD_NUMBER- See Also:
-
TRADING_STATUS_FIELD_NUMBER
public static final int TRADING_STATUS_FIELD_NUMBER- See Also:
-
OTC_FLAG_FIELD_NUMBER
public static final int OTC_FLAG_FIELD_NUMBER- See Also:
-
BUY_AVAILABLE_FLAG_FIELD_NUMBER
public static final int BUY_AVAILABLE_FLAG_FIELD_NUMBER- See Also:
-
SELL_AVAILABLE_FLAG_FIELD_NUMBER
public static final int SELL_AVAILABLE_FLAG_FIELD_NUMBER- See Also:
-
ISO_CURRENCY_NAME_FIELD_NUMBER
public static final int ISO_CURRENCY_NAME_FIELD_NUMBER- See Also:
-
MIN_PRICE_INCREMENT_FIELD_NUMBER
public static final int MIN_PRICE_INCREMENT_FIELD_NUMBER- See Also:
-
API_TRADE_AVAILABLE_FLAG_FIELD_NUMBER
public static final int API_TRADE_AVAILABLE_FLAG_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
REAL_EXCHANGE_FIELD_NUMBER
public static final int REAL_EXCHANGE_FIELD_NUMBER- See Also:
-
POSITION_UID_FIELD_NUMBER
public static final int POSITION_UID_FIELD_NUMBER- See Also:
-
FOR_IIS_FLAG_FIELD_NUMBER
public static final int FOR_IIS_FLAG_FIELD_NUMBER- See Also:
-
FOR_QUAL_INVESTOR_FLAG_FIELD_NUMBER
public static final int FOR_QUAL_INVESTOR_FLAG_FIELD_NUMBER- See Also:
-
WEEKEND_FLAG_FIELD_NUMBER
public static final int WEEKEND_FLAG_FIELD_NUMBER- See Also:
-
BLOCKED_TCA_FLAG_FIELD_NUMBER
public static final int BLOCKED_TCA_FLAG_FIELD_NUMBER- See Also:
-
FIRST_1MIN_CANDLE_DATE_FIELD_NUMBER
public static final int FIRST_1MIN_CANDLE_DATE_FIELD_NUMBER- See Also:
-
FIRST_1DAY_CANDLE_DATE_FIELD_NUMBER
public static final int FIRST_1DAY_CANDLE_DATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFigi
Figi-идентификатор инструмента.
string figi = 1;- Specified by:
getFigiin interfaceCurrencyOrBuilder- Returns:
- The figi.
-
getFigiBytes
public com.google.protobuf.ByteString getFigiBytes()Figi-идентификатор инструмента.
string figi = 1;- Specified by:
getFigiBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for figi.
-
getTicker
Тикер инструмента.
string ticker = 2;- Specified by:
getTickerin interfaceCurrencyOrBuilder- Returns:
- The ticker.
-
getTickerBytes
public com.google.protobuf.ByteString getTickerBytes()Тикер инструмента.
string ticker = 2;- Specified by:
getTickerBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for ticker.
-
getClassCode
Класс-код (секция торгов).
string class_code = 3;- Specified by:
getClassCodein interfaceCurrencyOrBuilder- Returns:
- The classCode.
-
getClassCodeBytes
public com.google.protobuf.ByteString getClassCodeBytes()Класс-код (секция торгов).
string class_code = 3;- Specified by:
getClassCodeBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for classCode.
-
getIsin
Isin-идентификатор инструмента.
string isin = 4;- Specified by:
getIsinin interfaceCurrencyOrBuilder- Returns:
- The isin.
-
getIsinBytes
public com.google.protobuf.ByteString getIsinBytes()Isin-идентификатор инструмента.
string isin = 4;- Specified by:
getIsinBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for isin.
-
getLot
public int getLot()Лотность инструмента. Возможно совершение операций только на количества ценной бумаги, кратные параметру *lot*. Подробнее: [лот](https://tinkoff.github.io/investAPI/glossary#lot)
int32 lot = 5;- Specified by:
getLotin interfaceCurrencyOrBuilder- Returns:
- The lot.
-
getCurrency
Валюта расчётов.
string currency = 6;- Specified by:
getCurrencyin interfaceCurrencyOrBuilder- Returns:
- The currency.
-
getCurrencyBytes
public com.google.protobuf.ByteString getCurrencyBytes()Валюта расчётов.
string currency = 6;- Specified by:
getCurrencyBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for currency.
-
hasKlong
public boolean hasKlong()Коэффициент ставки риска длинной позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation klong = 7;- Specified by:
hasKlongin interfaceCurrencyOrBuilder- Returns:
- Whether the klong field is set.
-
getKlong
Коэффициент ставки риска длинной позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation klong = 7;- Specified by:
getKlongin interfaceCurrencyOrBuilder- Returns:
- The klong.
-
getKlongOrBuilder
Коэффициент ставки риска длинной позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation klong = 7;- Specified by:
getKlongOrBuilderin interfaceCurrencyOrBuilder
-
hasKshort
public boolean hasKshort()Коэффициент ставки риска короткой позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation kshort = 8;- Specified by:
hasKshortin interfaceCurrencyOrBuilder- Returns:
- Whether the kshort field is set.
-
getKshort
Коэффициент ставки риска короткой позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation kshort = 8;- Specified by:
getKshortin interfaceCurrencyOrBuilder- Returns:
- The kshort.
-
getKshortOrBuilder
Коэффициент ставки риска короткой позиции по инструменту.
.tinkoff.public.invest.api.contract.v1.Quotation kshort = 8;- Specified by:
getKshortOrBuilderin interfaceCurrencyOrBuilder
-
hasDlong
public boolean hasDlong()Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong = 9;- Specified by:
hasDlongin interfaceCurrencyOrBuilder- Returns:
- Whether the dlong field is set.
-
getDlong
Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong = 9;- Specified by:
getDlongin interfaceCurrencyOrBuilder- Returns:
- The dlong.
-
getDlongOrBuilder
Ставка риска минимальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong = 9;- Specified by:
getDlongOrBuilderin interfaceCurrencyOrBuilder
-
hasDshort
public boolean hasDshort()Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort = 10;- Specified by:
hasDshortin interfaceCurrencyOrBuilder- Returns:
- Whether the dshort field is set.
-
getDshort
Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort = 10;- Specified by:
getDshortin interfaceCurrencyOrBuilder- Returns:
- The dshort.
-
getDshortOrBuilder
Ставка риска минимальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort = 10;- Specified by:
getDshortOrBuilderin interfaceCurrencyOrBuilder
-
hasDlongMin
public boolean hasDlongMin()Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong_min = 11;- Specified by:
hasDlongMinin interfaceCurrencyOrBuilder- Returns:
- Whether the dlongMin field is set.
-
getDlongMin
Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong_min = 11;- Specified by:
getDlongMinin interfaceCurrencyOrBuilder- Returns:
- The dlongMin.
-
getDlongMinOrBuilder
Ставка риска начальной маржи в лонг. Подробнее: [ставка риска в лонг](https://help.tinkoff.ru/margin-trade/long/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dlong_min = 11;- Specified by:
getDlongMinOrBuilderin interfaceCurrencyOrBuilder
-
hasDshortMin
public boolean hasDshortMin()Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort_min = 12;- Specified by:
hasDshortMinin interfaceCurrencyOrBuilder- Returns:
- Whether the dshortMin field is set.
-
getDshortMin
Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort_min = 12;- Specified by:
getDshortMinin interfaceCurrencyOrBuilder- Returns:
- The dshortMin.
-
getDshortMinOrBuilder
Ставка риска начальной маржи в шорт. Подробнее: [ставка риска в шорт](https://help.tinkoff.ru/margin-trade/short/risk-rate/)
.tinkoff.public.invest.api.contract.v1.Quotation dshort_min = 12;- Specified by:
getDshortMinOrBuilderin interfaceCurrencyOrBuilder
-
getShortEnabledFlag
public boolean getShortEnabledFlag()Признак доступности для операций в шорт.
bool short_enabled_flag = 13;- Specified by:
getShortEnabledFlagin interfaceCurrencyOrBuilder- Returns:
- The shortEnabledFlag.
-
getName
Название инструмента.
string name = 15;- Specified by:
getNamein interfaceCurrencyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Название инструмента.
string name = 15;- Specified by:
getNameBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for name.
-
getExchange
Торговая площадка.
string exchange = 16;- Specified by:
getExchangein interfaceCurrencyOrBuilder- Returns:
- The exchange.
-
getExchangeBytes
public com.google.protobuf.ByteString getExchangeBytes()Торговая площадка.
string exchange = 16;- Specified by:
getExchangeBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for exchange.
-
hasNominal
public boolean hasNominal()Номинал.
.tinkoff.public.invest.api.contract.v1.MoneyValue nominal = 17;- Specified by:
hasNominalin interfaceCurrencyOrBuilder- Returns:
- Whether the nominal field is set.
-
getNominal
Номинал.
.tinkoff.public.invest.api.contract.v1.MoneyValue nominal = 17;- Specified by:
getNominalin interfaceCurrencyOrBuilder- Returns:
- The nominal.
-
getNominalOrBuilder
Номинал.
.tinkoff.public.invest.api.contract.v1.MoneyValue nominal = 17;- Specified by:
getNominalOrBuilderin interfaceCurrencyOrBuilder
-
getCountryOfRisk
Код страны риска, т.е. страны, в которой компания ведёт основной бизнес.
string country_of_risk = 18;- Specified by:
getCountryOfRiskin interfaceCurrencyOrBuilder- Returns:
- The countryOfRisk.
-
getCountryOfRiskBytes
public com.google.protobuf.ByteString getCountryOfRiskBytes()Код страны риска, т.е. страны, в которой компания ведёт основной бизнес.
string country_of_risk = 18;- Specified by:
getCountryOfRiskBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for countryOfRisk.
-
getCountryOfRiskName
Наименование страны риска, т.е. страны, в которой компания ведёт основной бизнес.
string country_of_risk_name = 19;- Specified by:
getCountryOfRiskNamein interfaceCurrencyOrBuilder- Returns:
- The countryOfRiskName.
-
getCountryOfRiskNameBytes
public com.google.protobuf.ByteString getCountryOfRiskNameBytes()Наименование страны риска, т.е. страны, в которой компания ведёт основной бизнес.
string country_of_risk_name = 19;- Specified by:
getCountryOfRiskNameBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for countryOfRiskName.
-
getTradingStatusValue
public int getTradingStatusValue()Текущий режим торгов инструмента.
.tinkoff.public.invest.api.contract.v1.SecurityTradingStatus trading_status = 20;- Specified by:
getTradingStatusValuein interfaceCurrencyOrBuilder- Returns:
- The enum numeric value on the wire for tradingStatus.
-
getTradingStatus
Текущий режим торгов инструмента.
.tinkoff.public.invest.api.contract.v1.SecurityTradingStatus trading_status = 20;- Specified by:
getTradingStatusin interfaceCurrencyOrBuilder- Returns:
- The tradingStatus.
-
getOtcFlag
public boolean getOtcFlag()Признак внебиржевой ценной бумаги.
bool otc_flag = 21;- Specified by:
getOtcFlagin interfaceCurrencyOrBuilder- Returns:
- The otcFlag.
-
getBuyAvailableFlag
public boolean getBuyAvailableFlag()Признак доступности для покупки.
bool buy_available_flag = 22;- Specified by:
getBuyAvailableFlagin interfaceCurrencyOrBuilder- Returns:
- The buyAvailableFlag.
-
getSellAvailableFlag
public boolean getSellAvailableFlag()Признак доступности для продажи.
bool sell_available_flag = 23;- Specified by:
getSellAvailableFlagin interfaceCurrencyOrBuilder- Returns:
- The sellAvailableFlag.
-
getIsoCurrencyName
Строковый ISO-код валюты.
string iso_currency_name = 24;- Specified by:
getIsoCurrencyNamein interfaceCurrencyOrBuilder- Returns:
- The isoCurrencyName.
-
getIsoCurrencyNameBytes
public com.google.protobuf.ByteString getIsoCurrencyNameBytes()Строковый ISO-код валюты.
string iso_currency_name = 24;- Specified by:
getIsoCurrencyNameBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for isoCurrencyName.
-
hasMinPriceIncrement
public boolean hasMinPriceIncrement()Шаг цены.
.tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 25;- Specified by:
hasMinPriceIncrementin interfaceCurrencyOrBuilder- Returns:
- Whether the minPriceIncrement field is set.
-
getMinPriceIncrement
Шаг цены.
.tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 25;- Specified by:
getMinPriceIncrementin interfaceCurrencyOrBuilder- Returns:
- The minPriceIncrement.
-
getMinPriceIncrementOrBuilder
Шаг цены.
.tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 25;- Specified by:
getMinPriceIncrementOrBuilderin interfaceCurrencyOrBuilder
-
getApiTradeAvailableFlag
public boolean getApiTradeAvailableFlag()Параметр указывает на возможность торговать инструментом через API.
bool api_trade_available_flag = 26;- Specified by:
getApiTradeAvailableFlagin interfaceCurrencyOrBuilder- Returns:
- The apiTradeAvailableFlag.
-
getUid
Уникальный идентификатор инструмента.
string uid = 27;- Specified by:
getUidin interfaceCurrencyOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Уникальный идентификатор инструмента.
string uid = 27;- Specified by:
getUidBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for uid.
-
getRealExchangeValue
public int getRealExchangeValue()Реальная площадка исполнения расчётов.
.tinkoff.public.invest.api.contract.v1.RealExchange real_exchange = 28;- Specified by:
getRealExchangeValuein interfaceCurrencyOrBuilder- Returns:
- The enum numeric value on the wire for realExchange.
-
getRealExchange
Реальная площадка исполнения расчётов.
.tinkoff.public.invest.api.contract.v1.RealExchange real_exchange = 28;- Specified by:
getRealExchangein interfaceCurrencyOrBuilder- Returns:
- The realExchange.
-
getPositionUid
Уникальный идентификатор позиции инструмента.
string position_uid = 29;- Specified by:
getPositionUidin interfaceCurrencyOrBuilder- Returns:
- The positionUid.
-
getPositionUidBytes
public com.google.protobuf.ByteString getPositionUidBytes()Уникальный идентификатор позиции инструмента.
string position_uid = 29;- Specified by:
getPositionUidBytesin interfaceCurrencyOrBuilder- Returns:
- The bytes for positionUid.
-
getForIisFlag
public boolean getForIisFlag()Признак доступности для ИИС.
bool for_iis_flag = 41;- Specified by:
getForIisFlagin interfaceCurrencyOrBuilder- Returns:
- The forIisFlag.
-
getForQualInvestorFlag
public boolean getForQualInvestorFlag()Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов.
bool for_qual_investor_flag = 52;- Specified by:
getForQualInvestorFlagin interfaceCurrencyOrBuilder- Returns:
- The forQualInvestorFlag.
-
getWeekendFlag
public boolean getWeekendFlag()Флаг отображающий доступность торговли инструментом по выходным
bool weekend_flag = 53;- Specified by:
getWeekendFlagin interfaceCurrencyOrBuilder- Returns:
- The weekendFlag.
-
getBlockedTcaFlag
public boolean getBlockedTcaFlag()Флаг заблокированного ТКС
bool blocked_tca_flag = 54;- Specified by:
getBlockedTcaFlagin interfaceCurrencyOrBuilder- Returns:
- The blockedTcaFlag.
-
hasFirst1MinCandleDate
public boolean hasFirst1MinCandleDate()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 56;- Specified by:
hasFirst1MinCandleDatein interfaceCurrencyOrBuilder- Returns:
- Whether the first1minCandleDate field is set.
-
getFirst1MinCandleDate
public com.google.protobuf.Timestamp getFirst1MinCandleDate()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 56;- Specified by:
getFirst1MinCandleDatein interfaceCurrencyOrBuilder- Returns:
- The first1minCandleDate.
-
getFirst1MinCandleDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirst1MinCandleDateOrBuilder()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 56;- Specified by:
getFirst1MinCandleDateOrBuilderin interfaceCurrencyOrBuilder
-
hasFirst1DayCandleDate
public boolean hasFirst1DayCandleDate()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 57;- Specified by:
hasFirst1DayCandleDatein interfaceCurrencyOrBuilder- Returns:
- Whether the first1dayCandleDate field is set.
-
getFirst1DayCandleDate
public com.google.protobuf.Timestamp getFirst1DayCandleDate()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 57;- Specified by:
getFirst1DayCandleDatein interfaceCurrencyOrBuilder- Returns:
- The first1dayCandleDate.
-
getFirst1DayCandleDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirst1DayCandleDateOrBuilder()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 57;- Specified by:
getFirst1DayCandleDateOrBuilderin interfaceCurrencyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Currency parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Currency parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Currency parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Currency parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Currency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Currency parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Currency parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Currency parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Currency parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Currency.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-