Get desktop application:
View/edit binary Protocol Buffers messages
AssetClass_Unknow = 0
AssetClass_Stock = 1
AssetClass_Bond = 2
AssetClass_Commodity = 3
AssetClass_CurrencyMarket = 4
AssetClass_Future = 5
AssetClass_Swap = 6
Used in: Qot_GetBasicQot.S2C, Qot_UpdateBasicQot.S2C
required Security security = 1
optional string name = 24
required bool isSuspended = 2
required string listTime = 3
required double priceSpread = 4
required string updateTime = 5
required double highPrice = 6
required double openPrice = 7
required double lowPrice = 8
required double curPrice = 9
required double lastClosePrice = 10
required int64 volume = 11
required double turnover = 12
required double turnoverRate = 13
required double amplitude = 14
optional int32 darkStatus = 15
optional double listTimestamp = 17
optional double updateTimestamp = 18
optional int32 secStatus = 21
Used in: Qot_GetBroker.S2C, Qot_UpdateBroker.S2C
required int64 id = 1
required string name = 2
required int32 pos = 3
optional int64 orderID = 4
optional int64 volume = 5
CompanyAct_None = 0
CompanyAct_Split = 1
CompanyAct_Join = 2
CompanyAct_Bonus = 4
CompanyAct_Transfer = 8
CompanyAct_Allot = 16
CompanyAct_Add = 32
CompanyAct_Dividend = 64
CompanyAct_SPDividend = 128
Used in: Qot_GetSubInfo.S2C
repeated SubInfo subInfoList = 1
required int32 usedQuota = 2
required bool isOwnConnData = 3
DarkStatus_None = 0
DarkStatus_Trading = 1
DarkStatus_End = 2
ExchType_Unknown = 0
ExchType_HK_MainBoard = 1
ExchType_HK_GEMBoard = 2
ExchType_HK_HKEX = 3
ExchType_US_NYSE = 4
ExchType_US_Nasdaq = 5
ExchType_US_Pink = 6
ExchType_US_AMEX = 7
ExchType_US_Option = 8
ExchType_US_NYMEX = 9
ExchType_US_COMEX = 10
ExchType_US_CBOT = 11
ExchType_US_CME = 12
ExchType_US_CBOE = 13
ExchType_CN_SH = 14
ExchType_CN_SZ = 15
ExchType_CN_STIB = 16
ExchType_SG_SGX = 17
ExchType_JP_OSE = 18
ExpirationCycle_Unknown = 0
ExpirationCycle_Week = 1
ExpirationCycle_Month = 2
ExpirationCycle_MonthEnd = 3
ExpirationCycle_Quarter = 4
ExpirationCycle_WeekMon = 11
ExpirationCycle_WeekTue = 12
ExpirationCycle_WeekWed = 13
ExpirationCycle_WeekThu = 14
ExpirationCycle_WeekFri = 15
Used in: BasicQot
required double lastSettlePrice = 1
required int32 position = 2
required int32 positionChange = 3
optional int32 expiryDateDistance = 4
Used in: SecurityStaticInfo
required string lastTradeTime = 1
optional double lastTradeTimestamp = 2
required bool isMainContract = 3
HolderCategory_Unknow = 0
HolderCategory_Agency = 1
HolderCategory_Fund = 2
HolderCategory_SeniorManager = 3
IndexOptionType_Unknown = 0
IndexOptionType_Normal = 1
IndexOptionType_Small = 2
IpoPeriod_Unknow = 0
IpoPeriod_Today = 1
IpoPeriod_Tomorrow = 2
IpoPeriod_Nextweek = 3
IpoPeriod_Lastweek = 4
IpoPeriod_Lastmonth = 5
Issuer_Unknow = 0
Issuer_SG = 1
Issuer_BP = 2
Issuer_CS = 3
Issuer_CT = 4
Issuer_EA = 5
Issuer_GS = 6
Issuer_HS = 7
Issuer_JP = 8
Issuer_MB = 9
Issuer_SC = 10
Issuer_UB = 11
Issuer_BI = 12
Issuer_DB = 13
Issuer_DC = 14
Issuer_ML = 15
Issuer_NM = 16
Issuer_RB = 17
Issuer_RS = 18
Issuer_BC = 19
Issuer_HT = 20
Issuer_VT = 21
Issuer_KC = 22
Issuer_MS = 23
Issuer_GJ = 24
Issuer_XZ = 25
Issuer_HU = 26
Issuer_KS = 27
Issuer_CI = 28
KLFields_None = 0
KLFields_High = 1
KLFields_Open = 2
KLFields_Low = 4
KLFields_Close = 8
KLFields_LastClose = 16
KLFields_Volume = 32
KLFields_Turnover = 64
KLFields_TurnoverRate = 128
KLFields_PE = 256
KLFields_ChangeRate = 512
KLType_Unknown = 0
KLType_1Min = 1
KLType_Day = 2
KLType_Week = 3
KLType_Month = 4
KLType_Year = 5
KLType_5Min = 6
KLType_15Min = 7
KLType_30Min = 8
KLType_60Min = 9
KLType_3Min = 10
KLType_Quarter = 11
Used in: Qot_GetHistoryKL.S2C, Qot_GetHistoryKLPoints.HistoryPointsKL, Qot_GetKL.S2C, Qot_RequestHistoryKL.S2C, Qot_UpdateKL.S2C
required string time = 1
required bool isBlank = 2
optional double highPrice = 3
optional double openPrice = 4
optional double lowPrice = 5
optional double closePrice = 6
optional double lastClosePrice = 7
optional int64 volume = 8
optional double turnover = 9
optional double turnoverRate = 10
optional double pe = 11
optional double changeRate = 12
optional double timestamp = 13
OptionAreaType_Unknown = 0
OptionAreaType_American = 1
OptionAreaType_European = 2
OptionAreaType_Bermuda = 3
Used in: BasicQot
required double strikePrice = 1
required int32 contractSize = 2
optional double contractSizeFloat = 17
required int32 openInterest = 3
required double impliedVolatility = 4
required double premium = 5
required double delta = 6
required double gamma = 7
required double vega = 8
required double theta = 9
required double rho = 10
optional int32 netOpenInterest = 11
optional int32 expiryDateDistance = 12
optional double contractNominalValue = 13
optional double ownerLotMultiplier = 14
optional int32 optionAreaType = 15
optional double contractMultiplier = 16
optional int32 indexOptionType = 18
OptionSettlementMode_Unknown = 0
OptionSettlementMode_AM = 1
OptionSettlementMode_PM = 2
OptionStandardType_Unknown = 0
OptionStandardType_Standard = 1
OptionStandardType_NonStandard = 2
Used in: SecurityStaticInfo
required int32 type = 1
required Security owner = 2
required string strikeTime = 3
required double strikePrice = 4
required bool suspend = 5
required string market = 6
optional double strikeTimestamp = 7
optional int32 indexOptionType = 8
optional int32 expirationCycle = 9
optional int32 optionStandardType = 10
optional int32 optionSettlementMode = 11
OptionType_Unknown = 0
OptionType_Call = 1
OptionType_Put = 2
Used in: Qot_GetOrderBook.S2C, Qot_UpdateOrderBook.S2C
required double price = 1
required int64 volume = 2
required int32 orederCount = 3
Used in: OrderBook
required int64 orderID = 1
required int64 volume = 2
PeriodType_Unknown = 0
PeriodType_INTRADAY = 1
PeriodType_DAY = 2
PeriodType_WEEK = 3
PeriodType_MONTH = 4
Used in: Qot_GetOwnerPlate.SecurityOwnerPlate, Qot_GetPlateSet.S2C
required Security plate = 1
required string name = 2
optional int32 plateType = 3
PlateSetType_All = 0
PlateSetType_Industry = 1
PlateSetType_Region = 2
PlateSetType_Concept = 3
PlateSetType_Other = 4
Used in: BasicQot, Qot_GetSecuritySnapshot.SnapshotBasicData
optional double price = 1
optional double highPrice = 2
optional double lowPrice = 3
optional int64 volume = 4
optional double turnover = 5
optional double changeVal = 6
optional double changeRate = 7
optional double amplitude = 8
PriceReminderFreq_Unknown = 0
PriceReminderFreq_Always = 1
PriceReminderFreq_OnceADay = 2
PriceReminderFreq_OnlyOnce = 3
PriceReminderMarketStatus_Unknow = 0
PriceReminderMarketStatus_Open = 1
PriceReminderMarketStatus_USPre = 2
PriceReminderMarketStatus_USAfter = 3
PriceReminderMarketStatus_USOverNight = 4
PriceReminderType_Unknown = 0
PriceReminderType_PriceUp = 1
PriceReminderType_PriceDown = 2
PriceReminderType_ChangeRateUp = 3
PriceReminderType_ChangeRateDown = 4
PriceReminderType_5MinChangeRateUp = 5
PriceReminderType_5MinChangeRateDown = 6
PriceReminderType_VolumeUp = 7
PriceReminderType_TurnoverUp = 8
PriceReminderType_TurnoverRateUp = 9
PriceReminderType_BidPriceUp = 10
PriceReminderType_AskPriceDown = 11
PriceReminderType_BidVolUp = 12
PriceReminderType_AskVolUp = 13
PriceReminderType_3MinChangeRateUp = 14
PriceReminderType_3MinChangeRateDown = 15
PriceType_Unknow = 0
PriceType_Outside = 1
PriceType_WithIn = 2
PushDataType_Unknow = 0
PushDataType_Realtime = 1
PushDataType_ByDisConn = 2
PushDataType_Cache = 3
QotMarket_Unknown = 0
QotMarket_HK_Security = 1
QotMarket_HK_Future = 2
QotMarket_US_Security = 11
QotMarket_CNSH_Security = 21
QotMarket_CNSZ_Security = 22
QotMarket_SG_Security = 31
QotMarket_JP_Security = 41
QotMarket_AU_Security = 51
QotMarket_MY_Security = 61
QotMarket_CA_Security = 71
QotMarket_FX_Security = 81
QotMarketState_None = 0
QotMarketState_Auction = 1
QotMarketState_WaitingOpen = 2
QotMarketState_Morning = 3
QotMarketState_Rest = 4
QotMarketState_Afternoon = 5
QotMarketState_Closed = 6
QotMarketState_PreMarketBegin = 8
QotMarketState_PreMarketEnd = 9
QotMarketState_AfterHoursBegin = 10
QotMarketState_AfterHoursEnd = 11
QotMarketState_FUTU_SWITCH_DATE = 12
QotMarketState_NightOpen = 13
QotMarketState_NightEnd = 14
QotMarketState_FutureDayOpen = 15
QotMarketState_FutureDayBreak = 16
QotMarketState_FutureDayClose = 17
QotMarketState_FutureDayWaitForOpen = 18
QotMarketState_HkCas = 19
QotMarketState_FutureNightWait = 20
QotMarketState_FutureAfternoon = 21
QotMarketState_FutureSwitchDate = 22
QotMarketState_FutureOpen = 23
QotMarketState_FutureBreak = 24
QotMarketState_FutureBreakOver = 25
QotMarketState_FutureClose = 26
QotMarketState_StibAfterHoursWait = 27
QotMarketState_StibAfterHoursBegin = 28
QotMarketState_StibAfterHoursEnd = 29
QotMarketState_CLOSE_AUCTION = 30
QotMarketState_AFTERNOON_END = 31
QotMarketState_NIGHT = 32
QotMarketState_OVERNIGHT_BEGIN = 33
QotMarketState_OVERNIGHT_END = 34
QotMarketState_TRADE_AT_LAST = 35
QotMarketState_TRADE_AUCTION = 36
QotMarketState_OVERNIGHT = 37
QotRight_Unknow = 0
QotRight_Bmp = 1
QotRight_Level1 = 2
QotRight_Level2 = 3
QotRight_SF = 4
QotRight_No = 5
Used in: Qot_GetRehab.SecurityRehab, Qot_RequestRehab.S2C
required string time = 1
required int64 companyActFlag = 2
required double fwdFactorA = 3
required double fwdFactorB = 4
required double bwdFactorA = 5
required double bwdFactorB = 6
optional int32 splitBase = 7
optional int32 splitErt = 8
optional int32 joinBase = 9
optional int32 joinErt = 10
optional int32 bonusBase = 11
optional int32 bonusErt = 12
optional int32 transferBase = 13
optional int32 transferErt = 14
optional int32 allotBase = 15
optional int32 allotErt = 16
optional double allotPrice = 17
optional int32 addBase = 18
optional int32 addErt = 19
optional double addPrice = 20
optional double dividend = 21
optional double spDividend = 22
optional double timestamp = 23
RehabType_None = 0
RehabType_Forward = 1
RehabType_Backward = 2
Used in: BasicQot, OptionStaticExData, PlateInfo, SecurityStaticBasic, SubInfo, WarrantStaticExData, Qot_GetBasicQot.C2S, Qot_GetBroker.C2S, Qot_GetBroker.S2C, Qot_GetCapitalDistribution.C2S, Qot_GetCapitalFlow.C2S, Qot_GetCodeChange.C2S, Qot_GetCodeChange.CodeChangeInfo, Qot_GetFutureInfo.C2S, Qot_GetFutureInfo.FutureInfo, Qot_GetHistoryKL.C2S, Qot_GetHistoryKL.S2C, Qot_GetHistoryKLPoints.C2S, Qot_GetHistoryKLPoints.SecurityHistoryKLPoints, Qot_GetHoldingChangeList.C2S, Qot_GetHoldingChangeList.S2C, Qot_GetIpoList.BasicIpoData, Qot_GetKL.C2S, Qot_GetKL.S2C, Qot_GetMarketState.C2S, Qot_GetMarketState.MarketInfo, Qot_GetOptionChain.C2S, Qot_GetOptionExpirationDate.C2S, Qot_GetOrderBook.C2S, Qot_GetOrderBook.S2C, Qot_GetOwnerPlate.C2S, Qot_GetOwnerPlate.SecurityOwnerPlate, Qot_GetPlateSecurity.C2S, Qot_GetPriceReminder.C2S, Qot_GetPriceReminder.PriceReminder, Qot_GetRT.C2S, Qot_GetRT.S2C, Qot_GetReference.C2S, Qot_GetRehab.C2S, Qot_GetRehab.SecurityRehab, Qot_GetSecuritySnapshot.C2S, Qot_GetSecuritySnapshot.OptionSnapshotExData, Qot_GetSecuritySnapshot.SnapshotBasicData, Qot_GetSecuritySnapshot.WarrantSnapshotExData, Qot_GetStaticInfo.C2S, Qot_GetSuspend.C2S, Qot_GetSuspend.SecuritySuspend, Qot_GetTicker.C2S, Qot_GetTicker.S2C, Qot_GetWarrant.C2S, Qot_GetWarrant.WarrantData, Qot_ModifyUserSecurity.C2S, Qot_RegQotPush.C2S, Qot_RequestHistoryKL.C2S, Qot_RequestHistoryKL.S2C, Qot_RequestHistoryKLQuota.DetailItem, Qot_RequestRehab.C2S, Qot_RequestTradeDate.C2S, Qot_SetPriceReminder.C2S, Qot_StockFilter.C2S, Qot_StockFilter.StockData, Qot_Sub.C2S, Qot_UpdateBroker.S2C, Qot_UpdateKL.S2C, Qot_UpdateOrderBook.S2C, Qot_UpdatePriceReminder.S2C, Qot_UpdateRT.S2C, Qot_UpdateTicker.S2C, Trd_GetMarginRatio.C2S, Trd_GetMarginRatio.MarginRatioInfo
required int32 market = 1
required string code = 2
Used in: SecurityStaticInfo
required Security security = 1
required int64 id = 2
required int32 lotSize = 3
required int32 secType = 4
required string name = 5
required string listTime = 6
optional bool delisting = 7
optional double listTimestamp = 8
optional int32 exchType = 9
Used in: Qot_GetOptionChain.OptionItem, Qot_GetPlateSecurity.S2C, Qot_GetReference.S2C, Qot_GetStaticInfo.S2C, Qot_GetUserSecurity.S2C
SecurityStatus_Unknown = 0
SecurityStatus_Normal = 1
SecurityStatus_Listing = 2
SecurityStatus_Purchasing = 3
SecurityStatus_Subscribing = 4
SecurityStatus_BeforeDrakTradeOpening = 5
SecurityStatus_DrakTrading = 6
SecurityStatus_DrakTradeEnd = 7
SecurityStatus_ToBeOpen = 8
SecurityStatus_Suspended = 9
SecurityStatus_Called = 10
SecurityStatus_ExpiredLastTradingDate = 11
SecurityStatus_Expired = 12
SecurityStatus_Delisted = 13
SecurityStatus_ChangeToTemporaryCode = 14
SecurityStatus_TemporaryCodeTradeEnd = 15
SecurityStatus_ChangedPlateTradeEnd = 16
SecurityStatus_ChangedCodeTradeEnd = 17
SecurityStatus_RecoverableCircuitBreaker = 18
SecurityStatus_UnRecoverableCircuitBreaker = 19
SecurityStatus_AfterCombination = 20
SecurityStatus_AfterTransation = 21
SecurityType_Unknown = 0
SecurityType_Bond = 1
SecurityType_Bwrt = 2
SecurityType_Eqty = 3
SecurityType_Trust = 4
SecurityType_Warrant = 5
SecurityType_Index = 6
SecurityType_Plate = 7
SecurityType_Drvt = 8
SecurityType_PlateSet = 9
SecurityType_Future = 10
Used in: Qot_GetHoldingChangeList.S2C
required string holderName = 1
required double holdingQty = 2
required double holdingRatio = 3
required double changeQty = 4
required double changeRatio = 5
required string time = 6
optional double timestamp = 7
SortField_Unknow = 0
SortField_Code = 1
SortField_CurPrice = 2
SortField_PriceChangeVal = 3
SortField_ChangeRate = 4
SortField_Status = 5
SortField_BidPrice = 6
SortField_AskPrice = 7
SortField_BidVol = 8
SortField_AskVol = 9
SortField_Volume = 10
SortField_Turnover = 11
SortField_Amplitude = 30
SortField_Score = 12
SortField_Premium = 13
SortField_EffectiveLeverage = 14
SortField_Delta = 15
SortField_ImpliedVolatility = 16
SortField_Type = 17
SortField_StrikePrice = 18
SortField_BreakEvenPoint = 19
SortField_MaturityTime = 20
SortField_ListTime = 21
SortField_LastTradeTime = 22
SortField_Leverage = 23
SortField_InOutMoney = 24
SortField_RecoveryPrice = 25
SortField_ChangePrice = 26
SortField_Change = 27
SortField_StreetRate = 28
SortField_StreetVol = 29
SortField_WarrantName = 31
SortField_Issuer = 32
SortField_LotSize = 33
SortField_IssueSize = 34
SortField_UpperStrikePrice = 45
SortField_LowerStrikePrice = 46
SortField_InLinePriceStatus = 47
SortField_PreCurPrice = 35
SortField_AfterCurPrice = 36
SortField_PrePriceChangeVal = 37
SortField_AfterPriceChangeVal = 38
SortField_PreChangeRate = 39
SortField_AfterChangeRate = 40
SortField_PreAmplitude = 41
SortField_AfterAmplitude = 42
SortField_PreTurnover = 43
SortField_AfterTurnover = 44
SortField_LastSettlePrice = 48
SortField_Position = 49
SortField_PositionChange = 50
Used in: ConnSubInfo
required int32 subType = 1
repeated Security securityList = 2
SubType_None = 0
SubType_Basic = 1
SubType_OrderBook = 2
SubType_Ticker = 4
SubType_RT = 5
SubType_KL_Day = 6
SubType_KL_5Min = 7
SubType_KL_15Min = 8
SubType_KL_30Min = 9
SubType_KL_60Min = 10
SubType_KL_1Min = 11
SubType_KL_Week = 12
SubType_KL_Month = 13
SubType_Broker = 14
SubType_KL_Qurater = 15
SubType_KL_Year = 16
SubType_KL_3Min = 17
Used in: Qot_GetTicker.S2C, Qot_UpdateTicker.S2C
required string time = 1
required int64 sequence = 2
required int32 dir = 3
required double price = 4
required int64 volume = 5
required double turnover = 6
optional double recvTime = 7
optional int32 type = 8
optional int32 typeSign = 9
optional int32 pushDataType = 10
optional double timestamp = 11
TickerDirection_Unknown = 0
TickerDirection_Bid = 1
TickerDirection_Ask = 2
TickerDirection_Neutral = 3
TickerType_Unknown = 0
TickerType_Automatch = 1
TickerType_Late = 2
TickerType_NoneAutomatch = 3
TickerType_InterAutomatch = 4
TickerType_InterNoneAutomatch = 5
TickerType_OddLot = 6
TickerType_Auction = 7
TickerType_Bulk = 8
TickerType_Crash = 9
TickerType_CrossMarket = 10
TickerType_BulkSold = 11
TickerType_FreeOnBoard = 12
TickerType_Rule127Or155 = 13
TickerType_Delay = 14
TickerType_MarketCenterClosePrice = 15
TickerType_NextDay = 16
TickerType_MarketCenterOpening = 17
TickerType_PriorReferencePrice = 18
TickerType_MarketCenterOpenPrice = 19
TickerType_Seller = 20
TickerType_T = 21
TickerType_ExtendedTradingHours = 22
TickerType_Contingent = 23
TickerType_AvgPrice = 24
TickerType_OTCSold = 25
TickerType_OddLotCrossMarket = 26
TickerType_DerivativelyPriced = 27
TickerType_ReOpeningPriced = 28
TickerType_ClosingPriced = 29
TickerType_ComprehensiveDelayPrice = 30
TickerType_Overseas = 31
Used in: Qot_GetRT.S2C, Qot_UpdateRT.S2C
required string time = 1
required int32 minute = 2
required bool isBlank = 3
optional double price = 4
optional double lastClosePrice = 5
optional double avgPrice = 6
optional int64 volume = 7
optional double turnover = 8
optional double timestamp = 9
TradeDateMarket_Unknown = 0
TradeDateMarket_HK = 1
TradeDateMarket_US = 2
TradeDateMarket_CN = 3
TradeDateMarket_NT = 4
TradeDateMarket_ST = 5
TradeDateMarket_JP_Future = 6
TradeDateMarket_SG_Future = 7
TradeDateType_Whole = 0
TradeDateType_Morning = 1
TradeDateType_Afternoon = 2
Used in: BasicQot
optional double delta = 1
optional double impliedVolatility = 2
required double premium = 3
Used in: SecurityStaticInfo
required int32 type = 1
required Security owner = 2
WarrantStatus_Unknow = 0
WarrantStatus_Normal = 1
WarrantStatus_Suspend = 2
WarrantStatus_StopTrade = 3
WarrantStatus_PendingListing = 4
WarrantType_Unknown = 0
WarrantType_Buy = 1
WarrantType_Sell = 2
WarrantType_Bull = 3
WarrantType_Bear = 4
WarrantType_InLine = 5