Get desktop application:
View/edit binary Protocol Buffers messages
string accountId = 1
string code = 2
string name = 3
string holder = 4
double preBalance = 6
double balance = 7
double available = 8
double commission = 9
double margin = 10
double closeProfit = 11
double positionProfit = 12
double deposit = 13
double withdraw = 14
string gatewayId = 15
AF_Unknown = 0
AF_Delete = 1
AF_Modify = 2
B_5Sec = 0
B_1Min = 1
B_3Min = 2
B_5Min = 3
B_15Min = 4
B_1Day = 5
string unifiedSymbol = 1
string gatewayId = 2
string tradingDay = 3
string actionDay = 4
string actionTime = 5
fixed64 actionTimestamp = 6
double openPrice = 7
double highPrice = 8
double lowPrice = 9
double closePrice = 10
double openInterest = 11
double openInterestDelta = 12
fixed64 volume = 13
fixed64 volumeDelta = 14
double turnover = 15
double turnoverDelta = 16
fixed64 numTrades = 17
fixed64 numTradesDelta = 18
double preOpenInterest = 19
double preClosePrice = 20
double preSettlePrice = 21
string channelType = 22
string gatewayId = 1
string orderId = 2
string originOrderId = 3
Used in: ContractField
COMBT_Unknown = 0
COMBT_Future = 1
COMBT_BUL = 2
COMBT_BER = 3
COMBT_STD = 4
COMBT_STG = 5
COMBT_PRT = 6
COMBT_CLD = 7
string reqId = 1
string operatorId = 2
fixed32 targetNodeId = 3
fixed32 sourceNodeId = 4
string reqId = 1
fixed32 errorId = 2
string errorMsg = 3
Used in: NoticeField
COMS_SUCCESS = 0
COMS_INFO = 1
COMS_WARN = 2
COMS_ERROR = 3
Used in: GatewayField, GatewaySettingField
CS_Unknown = 0
CS_Disconnected = 1
CS_Connected = 2
CS_Disconnecting = 3
CS_Connecting = 4
Used in: OrderField, SubmitOrderReqField
CC_Unknown = 0
CC_Immediately = 1
CC_Touch = 2
CC_TouchProfit = 3
CC_ParkedOrder = 4
CC_LastPriceGreaterThanStopPrice = 5
CC_LastPriceGreaterEqualStopPrice = 6
CC_LastPriceLesserThanStopPrice = 7
CC_LastPriceLesserEqualStopPrice = 8
CC_AskPriceGreaterThanStopPrice = 9
CC_AskPriceGreaterEqualStopPrice = 10
CC_AskPriceLesserThanStopPrice = 11
CC_AskPriceLesserEqualStopPrice = 12
CC_BidPriceGreaterThanStopPrice = 13
CC_BidPriceGreaterEqualStopPrice = 14
CC_BidPriceLesserThanStopPrice = 15
CC_BidPriceLesserEqualStopPrice = 16
CC_LocalLastPriceLesserEqualStopPrice = 17
CC_LocalLastPriceGreaterEqualStopPrice = 18
Used in: OrderField, PositionField, SubmitOrderReqField, TradeField
string contractId = 1
string name = 2
string fullName = 3
string thirdPartyId = 4
string unifiedSymbol = 7
string symbol = 8
double multiplier = 12
double priceTick = 13
double longMarginRatio = 14
double shortMarginRatio = 15
bool maxMarginSideAlgorithm = 16
string underlyingSymbol = 17
double strikePrice = 18
double underlyingMultiplier = 20
string lastTradeDateOrContractMonth = 21
fixed32 maxMarketOrderVolume = 22
fixed32 minMarketOrderVolume = 23
fixed32 maxLimitOrderVolume = 24
fixed32 minLimitOrderVolume = 25
string gatewayId = 27
double commissionFee = 28
double commissionRate = 29
string channelType = 30
sint32 pricePrecision = 31
sint32 quantityPrecision = 32
Used in: AccountField, ContractField, SubmitOrderReqField
UnknownCurrency = 0
USD = 1
CNY = 2
CNH = 3
HKD = 4
JPY = 5
EUR = 6
GBP = 7
DEM = 8
CHF = 9
FRF = 10
CAD = 11
AUD = 12
ATS = 13
FIM = 14
BEF = 15
THB = 16
IEP = 17
ITL = 18
LUF = 19
NLG = 20
PTE = 21
ESP = 22
IDR = 23
MYR = 24
NZD = 25
PHP = 26
SUR = 27
SGD = 28
KRW = 29
USDT = 30
BUSD = 31
USDC = 32
Used in: OrderField, SubmitOrderReqField, TradeField
D_Unknown = 0
D_Buy = 1
D_Sell = 2
Used in: ContractField
UnknownExchange = 0
SSE = 1
SZSE = 2
CFFEX = 3
SHFE = 4
CZCE = 5
DCE = 6
SGE = 7
INE = 8
SEHK = 9
HKFE = 10
SGX = 11
NYBOT = 12
NYMEX = 13
COMEX = 14
CME = 15
CFE = 16
GLOBEX = 17
ICE = 18
IPE = 19
LME = 20
IDEALPRO = 21
OANDA = 22
FXCM = 23
SMART = 24
GFEX = 25
BINANCE = 26
OKX = 27
GATE = 28
BSE = 29
Used in: OrderField, SubmitOrderReqField
FCR_Unknown = 0
FCR_NotForceClose = 1
FCR_LackDeposit = 2
FCR_ClientOverPositionLimit = 3
FCR_MemberOverPositionLimit = 4
FCR_NotMultiple = 5
FCR_Violation = 6
FCR_Other = 7
FCR_PersonDeliver = 8
Used in: GatewayField, GatewaySettingField
string gatewayId = 1
string name = 2
string description = 3
bool authErrorFlag = 7
string gatewayId = 1
string gatewayName = 2
string gatewayDescription = 4
string implementClassName = 5
fixed64 version = 11
string autoConnectTimeRanges = 12
Used in: GatewaySettingField
string userId = 1
string password = 2
string brokerId = 3
string tdHost = 4
string tdPort = 5
string mdHost = 6
string mdPort = 7
string authCode = 8
string userProductInfo = 9
string appId = 10
Used in: GatewaySettingField
string host = 1
fixed32 port = 2
fixed32 clientId = 3
Used in: GatewayField, GatewaySettingField
GTE_TradeAndMarketData = 0
GTE_MarketData = 1
GTE_Trade = 2
Used in: OrderField, PositionField, SubmitOrderReqField, TradeField
HF_Unknown = 0
HF_Speculation = 1
HF_Arbitrage = 2
HF_Hedge = 3
HF_MarketMaker = 4
HF_SpecHedge = 5
HF_HedgeSpec = 6
fixed64 timestamp = 2
string content = 3
Used in: LogField
LL_All = 0
LL_Error = 40000
LL_Warn = 30000
LL_Info = 20000
LL_Debug = 10000
LL_Trace = 5000
MDDT_MIX = 0
MDDT_TD = 1
MDDT_HIST = 2
fixed64 timestamp = 2
string content = 3
Used in: OrderField, SubmitOrderReqField, TradeField
OF_Unknown = 0
OF_Open = 1
OF_Close = 2
OF_ForceClose = 3
OF_CloseToday = 4
OF_CloseYesterday = 5
OF_ForceOff = 6
OF_LocalForceClose = 7
Used in: ContractField
O_Unknown = 0
O_CallOptions = 1
O_PutOptions = 2
OAS_Unknown = 0
OAS_Submitted = 1
OAS_Accepted = 2
OAS_Rejected = 3
string originOrderId = 1
string orderId = 2
string adapterOrderId = 3
string accountId = 4
string orderLocalId = 5
string brokerOrderSeq = 6
string orderSysId = 7
string sequenceNo = 8
double price = 14
fixed32 totalVolume = 15
fixed32 tradedVolume = 16
string gtdDate = 18
fixed32 minVolume = 20
double stopPrice = 22
fixed32 autoSuspend = 24
fixed32 userForceClose = 25
fixed32 swapOrder = 26
string tradingDay = 27
string orderDate = 28
string orderTime = 29
string activeTime = 30
string suspendTime = 31
string cancelTime = 32
string updateTime = 33
string statusMsg = 34
fixed32 frontId = 35
fixed32 sessionId = 36
string gatewayId = 38
Used in: OrderField, SubmitOrderReqField
OPT_Unknown = 0
OPT_AnyPrice = 1
OPT_LimitPrice = 2
OPT_BestPrice = 3
OPT_LastPrice = 4
OPT_LastPricePlusOneTicks = 5
OPT_LastPricePlusTwoTicks = 6
OPT_LastPricePlusThreeTicks = 7
OPT_AskPrice1 = 8
OPT_AskPrice1PlusOneTicks = 9
OPT_AskPrice1PlusTwoTicks = 10
OPT_AskPrice1PlusThreeTicks = 11
OPT_BidPrice1 = 12
OPT_BidPrice1PlusOneTicks = 13
OPT_BidPrice1PlusTwoTicks = 14
OPT_BidPrice1PlusThreeTicks = 15
OPT_FiveLevelPrice = 16
ODS_Unknown = 0
ODS_Participant = 1
ODS_Administrator = 2
Used in: OrderField
OS_Unknown = 0
OS_AllTraded = 1
OS_PartTradedQueueing = 2
OS_PartTradedNotQueueing = 3
OS_NoTradeQueueing = 4
OS_NoTradeNotQueueing = 5
OS_Canceled = 6
OS_NotTouched = 7
OS_Touched = 8
OS_Rejected = 9
OSS_Unknown = 0
OSS_InsertSubmitted = 1
OSS_CancelSubmitted = 2
OSS_ModifySubmitted = 3
OSS_Accepted = 4
OSS_InsertRejected = 5
OSS_CancelRejected = 6
OSS_ModifyRejected = 7
OT_Unknown = 0
OT_Normal = 1
OT_DeriveFromQuote = 2
OT_DeriveFromCombination = 3
OT_Combination = 4
OT_ConditionalOrder = 5
OT_Swap = 6
Used in: PositionField
PD_Unknown = 0
PD_Net = 1
PD_Long = 2
PD_Short = 3
string positionId = 1
string accountId = 2
fixed32 position = 4
fixed32 frozen = 5
fixed32 ydPosition = 6
fixed32 ydFrozen = 7
fixed32 tdPosition = 8
fixed32 tdFrozen = 9
double lastPrice = 10
double price = 11
double priceDiff = 12
double openPrice = 13
double openPriceDiff = 14
double positionProfit = 15
double positionProfitRatio = 16
double openPositionProfit = 17
double openPositionProfitRatio = 18
double useMargin = 19
double exchangeMargin = 20
double contractValue = 21
string gatewayId = 24
PT_Unknown = 0
PT_Net = 1
PT_Gross = 2
Used in: TradeField
PSRC_Unknown = 0
PSRC_LastPrice = 1
PSRC_Buy = 2
PSRC_Sell = 3
PSRC_OTC = 4
Used in: ContractField
UnknownProductClass = 0
EQUITY = 1
FUTURES = 2
OPTION = 3
INDEX = 4
COMBINATION = 5
BOND = 6
FOREX = 7
SPOT = 8
DEFER = 9
ETF = 10
WARRANTS = 11
SPREAD = 12
FUND = 13
EFP = 14
SPOTOPTION = 15
MARGIN = 16
SWAP = 17
SET_Treading = 0
SET_Backtesting = 1
STM_Unknown = 0
STM_Continental = 1
STM_American = 2
STM_Bermuda = 3
string originOrderId = 1
string accountCode = 2
string gatewayId = 5
fixed32 volume = 6
double price = 7
string gtdDate = 13
fixed32 minVolume = 15
double stopPrice = 17
fixed32 autoSuspend = 19
fixed32 userForceClose = 20
fixed32 swapOrder = 21
fixed64 actionTimestamp = 22
string unifiedSymbol = 1
string gatewayId = 2
string tradingDay = 3
string actionDay = 4
string actionTime = 5
fixed64 actionTimestamp = 6
fixed32 status = 7
double lastPrice = 8
double avgPrice = 9
fixed64 totalBidVol = 10
fixed64 totalAskVol = 11
double weightedAvgBidPrice = 12
double weightedAvgAskPrice = 13
double iopv = 14
double yieldToMaturity = 15
fixed64 volumeDelta = 16
fixed64 volume = 17
double turnover = 18
double turnoverDelta = 19
fixed64 numTrades = 20
fixed64 numTradesDelta = 21
double openInterest = 22
double openInterestDelta = 23
double preOpenInterest = 24
double preClosePrice = 25
double settlePrice = 26
double preSettlePrice = 27
double openPrice = 28
double highPrice = 29
double lowPrice = 30
double upperLimit = 31
double lowerLimit = 32
repeated double bidPrice = 33
repeated double askPrice = 34
repeated fixed32 bidVolume = 35
repeated fixed32 askVolume = 36
string channelType = 37
Used in: OrderField, SubmitOrderReqField
TC_Unknown = 0
TC_IOC = 1
TC_GFS = 2
TC_GFD = 3
TC_GTD = 4
TC_GTC = 5
TC_GFA = 6
string tradeId = 1
string adapterTradeId = 2
string originOrderId = 3
string orderId = 4
string adapterOrderId = 5
string orderLocalId = 6
string brokerOrderSeq = 7
string orderSysId = 8
string settlementId = 9
string sequenceNo = 10
string accountId = 11
double price = 15
fixed32 volume = 16
string tradingDay = 19
string tradeDate = 20
string tradeTime = 21
fixed64 tradeTimestamp = 22
string gatewayId = 24
Used in: TradeField
TT_Unknown = 0
TT_SplitCombination = 1
TT_Common = 2
TT_OptionsExecution = 3
TT_OTC = 4
TT_EFPDerived = 5
TT_CombinationDerived = 6
TT_BlockTrade = 7
TR_Unknown = 0
TR_Allow = 1
TR_CloseOnly = 2
TR_Forbidden = 3
Used in: OrderField, SubmitOrderReqField
VC_Unknown = 0
VC_AV = 1
VC_MV = 2
VC_CV = 3