All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.piapi.contract.v1.SecurityTradingStatus Maven / Gradle / Ivy

There is a newer version: 1.25
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: common.proto

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *Режим торгов инструмента
 * 
* * Protobuf enum {@code tinkoff.public.invest.api.contract.v1.SecurityTradingStatus} */ public enum SecurityTradingStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
   *Торговый статус не определён
   * 
* * SECURITY_TRADING_STATUS_UNSPECIFIED = 0; */ SECURITY_TRADING_STATUS_UNSPECIFIED(0), /** *
   *Недоступен для торгов
   * 
* * SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING = 1; */ SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING(1), /** *
   *Период открытия торгов
   * 
* * SECURITY_TRADING_STATUS_OPENING_PERIOD = 2; */ SECURITY_TRADING_STATUS_OPENING_PERIOD(2), /** *
   *Период закрытия торгов
   * 
* * SECURITY_TRADING_STATUS_CLOSING_PERIOD = 3; */ SECURITY_TRADING_STATUS_CLOSING_PERIOD(3), /** *
   *Перерыв в торговле
   * 
* * SECURITY_TRADING_STATUS_BREAK_IN_TRADING = 4; */ SECURITY_TRADING_STATUS_BREAK_IN_TRADING(4), /** *
   *Нормальная торговля
   * 
* * SECURITY_TRADING_STATUS_NORMAL_TRADING = 5; */ SECURITY_TRADING_STATUS_NORMAL_TRADING(5), /** *
   *Аукцион закрытия
   * 
* * SECURITY_TRADING_STATUS_CLOSING_AUCTION = 6; */ SECURITY_TRADING_STATUS_CLOSING_AUCTION(6), /** *
   *Аукцион крупных пакетов
   * 
* * SECURITY_TRADING_STATUS_DARK_POOL_AUCTION = 7; */ SECURITY_TRADING_STATUS_DARK_POOL_AUCTION(7), /** *
   *Дискретный аукцион
   * 
* * SECURITY_TRADING_STATUS_DISCRETE_AUCTION = 8; */ SECURITY_TRADING_STATUS_DISCRETE_AUCTION(8), /** *
   *Аукцион открытия
   * 
* * SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD = 9; */ SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD(9), /** *
   *Период торгов по цене аукциона закрытия
   * 
* * SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE = 10; */ SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE(10), /** *
   *Сессия назначена
   * 
* * SECURITY_TRADING_STATUS_SESSION_ASSIGNED = 11; */ SECURITY_TRADING_STATUS_SESSION_ASSIGNED(11), /** *
   *Сессия закрыта
   * 
* * SECURITY_TRADING_STATUS_SESSION_CLOSE = 12; */ SECURITY_TRADING_STATUS_SESSION_CLOSE(12), /** *
   *Сессия открыта
   * 
* * SECURITY_TRADING_STATUS_SESSION_OPEN = 13; */ SECURITY_TRADING_STATUS_SESSION_OPEN(13), /** *
   *Доступна торговля в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING = 14; */ SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING(14), /** *
   *Перерыв торговли в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING = 15; */ SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING(15), /** *
   *Недоступна торговля в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING = 16; */ SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING(16), UNRECOGNIZED(-1), ; /** *
   *Торговый статус не определён
   * 
* * SECURITY_TRADING_STATUS_UNSPECIFIED = 0; */ public static final int SECURITY_TRADING_STATUS_UNSPECIFIED_VALUE = 0; /** *
   *Недоступен для торгов
   * 
* * SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING = 1; */ public static final int SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING_VALUE = 1; /** *
   *Период открытия торгов
   * 
* * SECURITY_TRADING_STATUS_OPENING_PERIOD = 2; */ public static final int SECURITY_TRADING_STATUS_OPENING_PERIOD_VALUE = 2; /** *
   *Период закрытия торгов
   * 
* * SECURITY_TRADING_STATUS_CLOSING_PERIOD = 3; */ public static final int SECURITY_TRADING_STATUS_CLOSING_PERIOD_VALUE = 3; /** *
   *Перерыв в торговле
   * 
* * SECURITY_TRADING_STATUS_BREAK_IN_TRADING = 4; */ public static final int SECURITY_TRADING_STATUS_BREAK_IN_TRADING_VALUE = 4; /** *
   *Нормальная торговля
   * 
* * SECURITY_TRADING_STATUS_NORMAL_TRADING = 5; */ public static final int SECURITY_TRADING_STATUS_NORMAL_TRADING_VALUE = 5; /** *
   *Аукцион закрытия
   * 
* * SECURITY_TRADING_STATUS_CLOSING_AUCTION = 6; */ public static final int SECURITY_TRADING_STATUS_CLOSING_AUCTION_VALUE = 6; /** *
   *Аукцион крупных пакетов
   * 
* * SECURITY_TRADING_STATUS_DARK_POOL_AUCTION = 7; */ public static final int SECURITY_TRADING_STATUS_DARK_POOL_AUCTION_VALUE = 7; /** *
   *Дискретный аукцион
   * 
* * SECURITY_TRADING_STATUS_DISCRETE_AUCTION = 8; */ public static final int SECURITY_TRADING_STATUS_DISCRETE_AUCTION_VALUE = 8; /** *
   *Аукцион открытия
   * 
* * SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD = 9; */ public static final int SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD_VALUE = 9; /** *
   *Период торгов по цене аукциона закрытия
   * 
* * SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE = 10; */ public static final int SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE_VALUE = 10; /** *
   *Сессия назначена
   * 
* * SECURITY_TRADING_STATUS_SESSION_ASSIGNED = 11; */ public static final int SECURITY_TRADING_STATUS_SESSION_ASSIGNED_VALUE = 11; /** *
   *Сессия закрыта
   * 
* * SECURITY_TRADING_STATUS_SESSION_CLOSE = 12; */ public static final int SECURITY_TRADING_STATUS_SESSION_CLOSE_VALUE = 12; /** *
   *Сессия открыта
   * 
* * SECURITY_TRADING_STATUS_SESSION_OPEN = 13; */ public static final int SECURITY_TRADING_STATUS_SESSION_OPEN_VALUE = 13; /** *
   *Доступна торговля в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING = 14; */ public static final int SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING_VALUE = 14; /** *
   *Перерыв торговли в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING = 15; */ public static final int SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING_VALUE = 15; /** *
   *Недоступна торговля в режиме внутренней ликвидности брокера
   * 
* * SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING = 16; */ public static final int SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING_VALUE = 16; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SecurityTradingStatus valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static SecurityTradingStatus forNumber(int value) { switch (value) { case 0: return SECURITY_TRADING_STATUS_UNSPECIFIED; case 1: return SECURITY_TRADING_STATUS_NOT_AVAILABLE_FOR_TRADING; case 2: return SECURITY_TRADING_STATUS_OPENING_PERIOD; case 3: return SECURITY_TRADING_STATUS_CLOSING_PERIOD; case 4: return SECURITY_TRADING_STATUS_BREAK_IN_TRADING; case 5: return SECURITY_TRADING_STATUS_NORMAL_TRADING; case 6: return SECURITY_TRADING_STATUS_CLOSING_AUCTION; case 7: return SECURITY_TRADING_STATUS_DARK_POOL_AUCTION; case 8: return SECURITY_TRADING_STATUS_DISCRETE_AUCTION; case 9: return SECURITY_TRADING_STATUS_OPENING_AUCTION_PERIOD; case 10: return SECURITY_TRADING_STATUS_TRADING_AT_CLOSING_AUCTION_PRICE; case 11: return SECURITY_TRADING_STATUS_SESSION_ASSIGNED; case 12: return SECURITY_TRADING_STATUS_SESSION_CLOSE; case 13: return SECURITY_TRADING_STATUS_SESSION_OPEN; case 14: return SECURITY_TRADING_STATUS_DEALER_NORMAL_TRADING; case 15: return SECURITY_TRADING_STATUS_DEALER_BREAK_IN_TRADING; case 16: return SECURITY_TRADING_STATUS_DEALER_NOT_AVAILABLE_FOR_TRADING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SecurityTradingStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SecurityTradingStatus findValueByNumber(int number) { return SecurityTradingStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Common.getDescriptor().getEnumTypes().get(1); } private static final SecurityTradingStatus[] VALUES = values(); public static SecurityTradingStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private SecurityTradingStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:tinkoff.public.invest.api.contract.v1.SecurityTradingStatus) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy