Qot_Common

package
v0.0.0-...-1a60310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package Qot_Common is a generated protocol buffer package.

It is generated from these files:

Qot_Common.proto

It has these top-level messages:

Security
KLine
OptionBasicQotExData
PreAfterMarketData
FutureBasicQotExData
BasicQot
TimeShare
SecurityStaticBasic
WarrantStaticExData
OptionStaticExData
FutureStaticExData
SecurityStaticInfo
Broker
Ticker
OrderBook
OrderDetail
ShareHoldingChange
SubInfo
ConnSubInfo
PlateInfo
Rehab

Index

Constants

This section is empty.

Variables

View Source
var CompanyAct_name = map[int32]string{
	0:   "CompanyAct_None",
	1:   "CompanyAct_Split",
	2:   "CompanyAct_Join",
	4:   "CompanyAct_Bonus",
	8:   "CompanyAct_Transfer",
	16:  "CompanyAct_Allot",
	32:  "CompanyAct_Add",
	64:  "CompanyAct_Dividend",
	128: "CompanyAct_SPDividend",
}
View Source
var CompanyAct_value = map[string]int32{
	"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,
}
View Source
var DarkStatus_name = map[int32]string{
	0: "DarkStatus_None",
	1: "DarkStatus_Trading",
	2: "DarkStatus_End",
}
View Source
var DarkStatus_value = map[string]int32{
	"DarkStatus_None":    0,
	"DarkStatus_Trading": 1,
	"DarkStatus_End":     2,
}
View Source
var HolderCategory_name = map[int32]string{
	0: "HolderCategory_Unknow",
	1: "HolderCategory_Agency",
	2: "HolderCategory_Fund",
	3: "HolderCategory_SeniorManager",
}
View Source
var HolderCategory_value = map[string]int32{
	"HolderCategory_Unknow":        0,
	"HolderCategory_Agency":        1,
	"HolderCategory_Fund":          2,
	"HolderCategory_SeniorManager": 3,
}
View Source
var IndexOptionType_name = map[int32]string{
	0: "IndexOptionType_Unknown",
	1: "IndexOptionType_Normal",
	2: "IndexOptionType_Small",
}
View Source
var IndexOptionType_value = map[string]int32{
	"IndexOptionType_Unknown": 0,
	"IndexOptionType_Normal":  1,
	"IndexOptionType_Small":   2,
}
View Source
var IpoPeriod_name = map[int32]string{
	0: "IpoPeriod_Unknow",
	1: "IpoPeriod_Today",
	2: "IpoPeriod_Tomorrow",
	3: "IpoPeriod_Nextweek",
	4: "IpoPeriod_Lastweek",
	5: "IpoPeriod_Lastmonth",
}
View Source
var IpoPeriod_value = map[string]int32{
	"IpoPeriod_Unknow":    0,
	"IpoPeriod_Today":     1,
	"IpoPeriod_Tomorrow":  2,
	"IpoPeriod_Nextweek":  3,
	"IpoPeriod_Lastweek":  4,
	"IpoPeriod_Lastmonth": 5,
}
View Source
var Issuer_name = map[int32]string{
	0:  "Issuer_Unknow",
	1:  "Issuer_SG",
	2:  "Issuer_BP",
	3:  "Issuer_CS",
	4:  "Issuer_CT",
	5:  "Issuer_EA",
	6:  "Issuer_GS",
	7:  "Issuer_HS",
	8:  "Issuer_JP",
	9:  "Issuer_MB",
	10: "Issuer_SC",
	11: "Issuer_UB",
	12: "Issuer_BI",
	13: "Issuer_DB",
	14: "Issuer_DC",
	15: "Issuer_ML",
	16: "Issuer_NM",
	17: "Issuer_RB",
	18: "Issuer_RS",
	19: "Issuer_BC",
	20: "Issuer_HT",
	21: "Issuer_VT",
	22: "Issuer_KC",
	23: "Issuer_MS",
}
View Source
var Issuer_value = map[string]int32{
	"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,
}
View Source
var KLFields_name = map[int32]string{
	0:   "KLFields_None",
	1:   "KLFields_High",
	2:   "KLFields_Open",
	4:   "KLFields_Low",
	8:   "KLFields_Close",
	16:  "KLFields_LastClose",
	32:  "KLFields_Volume",
	64:  "KLFields_Turnover",
	128: "KLFields_TurnoverRate",
	256: "KLFields_PE",
	512: "KLFields_ChangeRate",
}
View Source
var KLFields_value = map[string]int32{
	"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,
}
View Source
var KLType_name = map[int32]string{
	0:  "KLType_Unknown",
	1:  "KLType_1Min",
	2:  "KLType_Day",
	3:  "KLType_Week",
	4:  "KLType_Month",
	5:  "KLType_Year",
	6:  "KLType_5Min",
	7:  "KLType_15Min",
	8:  "KLType_30Min",
	9:  "KLType_60Min",
	10: "KLType_3Min",
	11: "KLType_Quarter",
}
View Source
var KLType_value = map[string]int32{
	"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,
}
View Source
var OptionAreaType_name = map[int32]string{
	0: "OptionAreaType_Unknown",
	1: "OptionAreaType_American",
	2: "OptionAreaType_European",
	3: "OptionAreaType_Bermuda",
}
View Source
var OptionAreaType_value = map[string]int32{
	"OptionAreaType_Unknown":  0,
	"OptionAreaType_American": 1,
	"OptionAreaType_European": 2,
	"OptionAreaType_Bermuda":  3,
}
View Source
var OptionType_name = map[int32]string{
	0: "OptionType_Unknown",
	1: "OptionType_Call",
	2: "OptionType_Put",
}
View Source
var OptionType_value = map[string]int32{
	"OptionType_Unknown": 0,
	"OptionType_Call":    1,
	"OptionType_Put":     2,
}
View Source
var PlateSetType_name = map[int32]string{
	0: "PlateSetType_All",
	1: "PlateSetType_Industry",
	2: "PlateSetType_Region",
	3: "PlateSetType_Concept",
	4: "PlateSetType_Other",
}
View Source
var PlateSetType_value = map[string]int32{
	"PlateSetType_All":      0,
	"PlateSetType_Industry": 1,
	"PlateSetType_Region":   2,
	"PlateSetType_Concept":  3,
	"PlateSetType_Other":    4,
}
View Source
var PriceType_name = map[int32]string{
	0: "PriceType_Unknow",
	1: "PriceType_Outside",
	2: "PriceType_WithIn",
}
View Source
var PriceType_value = map[string]int32{
	"PriceType_Unknow":  0,
	"PriceType_Outside": 1,
	"PriceType_WithIn":  2,
}
View Source
var PushDataType_name = map[int32]string{
	0: "PushDataType_Unknow",
	1: "PushDataType_Realtime",
	2: "PushDataType_ByDisConn",
	3: "PushDataType_Cache",
}
View Source
var PushDataType_value = map[string]int32{
	"PushDataType_Unknow":    0,
	"PushDataType_Realtime":  1,
	"PushDataType_ByDisConn": 2,
	"PushDataType_Cache":     3,
}
View Source
var QotMarketState_name = map[int32]string{
	0:  "QotMarketState_None",
	1:  "QotMarketState_Auction",
	2:  "QotMarketState_WaitingOpen",
	3:  "QotMarketState_Morning",
	4:  "QotMarketState_Rest",
	5:  "QotMarketState_Afternoon",
	6:  "QotMarketState_Closed",
	8:  "QotMarketState_PreMarketBegin",
	9:  "QotMarketState_PreMarketEnd",
	10: "QotMarketState_AfterHoursBegin",
	11: "QotMarketState_AfterHoursEnd",
	13: "QotMarketState_NightOpen",
	14: "QotMarketState_NightEnd",
	15: "QotMarketState_FutureDayOpen",
	16: "QotMarketState_FutureDayBreak",
	17: "QotMarketState_FutureDayClose",
	18: "QotMarketState_FutureDayWaitForOpen",
	19: "QotMarketState_HkCas",
}
View Source
var QotMarketState_value = map[string]int32{
	"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_NightOpen":            13,
	"QotMarketState_NightEnd":             14,
	"QotMarketState_FutureDayOpen":        15,
	"QotMarketState_FutureDayBreak":       16,
	"QotMarketState_FutureDayClose":       17,
	"QotMarketState_FutureDayWaitForOpen": 18,
	"QotMarketState_HkCas":                19,
}
View Source
var QotMarket_name = map[int32]string{
	0:  "QotMarket_Unknown",
	1:  "QotMarket_HK_Security",
	2:  "QotMarket_HK_Future",
	11: "QotMarket_US_Security",
	21: "QotMarket_CNSH_Security",
	22: "QotMarket_CNSZ_Security",
}
View Source
var QotMarket_value = map[string]int32{
	"QotMarket_Unknown":       0,
	"QotMarket_HK_Security":   1,
	"QotMarket_HK_Future":     2,
	"QotMarket_US_Security":   11,
	"QotMarket_CNSH_Security": 21,
	"QotMarket_CNSZ_Security": 22,
}
View Source
var QotRight_name = map[int32]string{
	0: "QotRight_Unknow",
	1: "QotRight_Bmp",
	2: "QotRight_Level1",
	3: "QotRight_Level2",
}
View Source
var QotRight_value = map[string]int32{
	"QotRight_Unknow": 0,
	"QotRight_Bmp":    1,
	"QotRight_Level1": 2,
	"QotRight_Level2": 3,
}
View Source
var RehabType_name = map[int32]string{
	0: "RehabType_None",
	1: "RehabType_Forward",
	2: "RehabType_Backward",
}
View Source
var RehabType_value = map[string]int32{
	"RehabType_None":     0,
	"RehabType_Forward":  1,
	"RehabType_Backward": 2,
}
View Source
var SecurityStatus_name = map[int32]string{
	0:  "SecurityStatus_Unknown",
	1:  "SecurityStatus_Normal",
	2:  "SecurityStatus_Listing",
	3:  "SecurityStatus_Purchasing",
	4:  "SecurityStatus_Subscribing",
	5:  "SecurityStatus_BeforeDrakTradeOpening",
	6:  "SecurityStatus_DrakTrading",
	7:  "SecurityStatus_DrakTradeEnd",
	8:  "SecurityStatus_ToBeOpen",
	9:  "SecurityStatus_Suspended",
	10: "SecurityStatus_Called",
	11: "SecurityStatus_ExpiredLastTradingDate",
	12: "SecurityStatus_Expired",
	13: "SecurityStatus_Delisted",
	14: "SecurityStatus_ChangeToTemporaryCode",
	15: "SecurityStatus_TemporaryCodeTradeEnd",
	16: "SecurityStatus_ChangedPlateTradeEnd",
	17: "SecurityStatus_ChangedCodeTradeEnd",
	18: "SecurityStatus_RecoverableCircuitBreaker",
	19: "SecurityStatus_UnRecoverableCircuitBreaker",
	20: "SecurityStatus_AfterCombination",
	21: "SecurityStatus_AfterTransation",
}
View Source
var SecurityStatus_value = map[string]int32{
	"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,
}
View Source
var SecurityType_name = map[int32]string{
	0:  "SecurityType_Unknown",
	1:  "SecurityType_Bond",
	2:  "SecurityType_Bwrt",
	3:  "SecurityType_Eqty",
	4:  "SecurityType_Trust",
	5:  "SecurityType_Warrant",
	6:  "SecurityType_Index",
	7:  "SecurityType_Plate",
	8:  "SecurityType_Drvt",
	9:  "SecurityType_PlateSet",
	10: "SecurityType_Future",
}
View Source
var SecurityType_value = map[string]int32{
	"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,
}
View Source
var SortField_name = map[int32]string{
	0:  "SortField_Unknow",
	1:  "SortField_Code",
	2:  "SortField_CurPrice",
	3:  "SortField_PriceChangeVal",
	4:  "SortField_ChangeRate",
	5:  "SortField_Status",
	6:  "SortField_BidPrice",
	7:  "SortField_AskPrice",
	8:  "SortField_BidVol",
	9:  "SortField_AskVol",
	10: "SortField_Volume",
	11: "SortField_Turnover",
	30: "SortField_Amplitude",
	12: "SortField_Score",
	13: "SortField_Premium",
	14: "SortField_EffectiveLeverage",
	15: "SortField_Delta",
	16: "SortField_ImpliedVolatility",
	17: "SortField_Type",
	18: "SortField_StrikePrice",
	19: "SortField_BreakEvenPoint",
	20: "SortField_MaturityTime",
	21: "SortField_ListTime",
	22: "SortField_LastTradeTime",
	23: "SortField_Leverage",
	24: "SortField_InOutMoney",
	25: "SortField_RecoveryPrice",
	26: "SortField_ChangePrice",
	27: "SortField_Change",
	28: "SortField_StreetRate",
	29: "SortField_StreetVol",
	31: "SortField_WarrantName",
	32: "SortField_Issuer",
	33: "SortField_LotSize",
	34: "SortField_IssueSize",
	45: "SortField_UpperStrikePrice",
	46: "SortField_LowerStrikePrice",
	47: "SortField_InLinePriceStatus",
	35: "SortField_PreCurPrice",
	36: "SortField_AfterCurPrice",
	37: "SortField_PrePriceChangeVal",
	38: "SortField_AfterPriceChangeVal",
	39: "SortField_PreChangeRate",
	40: "SortField_AfterChangeRate",
	41: "SortField_PreAmplitude",
	42: "SortField_AfterAmplitude",
	43: "SortField_PreTurnover",
	44: "SortField_AfterTurnover",
	48: "SortField_LastSettlePrice",
	49: "SortField_Position",
	50: "SortField_PositionChange",
}
View Source
var SortField_value = map[string]int32{
	"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,
}
View Source
var SubType_name = map[int32]string{
	0:  "SubType_None",
	1:  "SubType_Basic",
	2:  "SubType_OrderBook",
	4:  "SubType_Ticker",
	5:  "SubType_RT",
	6:  "SubType_KL_Day",
	7:  "SubType_KL_5Min",
	8:  "SubType_KL_15Min",
	9:  "SubType_KL_30Min",
	10: "SubType_KL_60Min",
	11: "SubType_KL_1Min",
	12: "SubType_KL_Week",
	13: "SubType_KL_Month",
	14: "SubType_Broker",
	15: "SubType_KL_Qurater",
	16: "SubType_KL_Year",
	17: "SubType_KL_3Min",
	18: "SubType_OrderDetail",
}
View Source
var SubType_value = map[string]int32{
	"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,
	"SubType_OrderDetail": 18,
}
View Source
var TickerDirection_name = map[int32]string{
	0: "TickerDirection_Unknown",
	1: "TickerDirection_Bid",
	2: "TickerDirection_Ask",
	3: "TickerDirection_Neutral",
}
View Source
var TickerDirection_value = map[string]int32{
	"TickerDirection_Unknown": 0,
	"TickerDirection_Bid":     1,
	"TickerDirection_Ask":     2,
	"TickerDirection_Neutral": 3,
}
View Source
var TickerType_name = map[int32]string{
	0:  "TickerType_Unknown",
	1:  "TickerType_Automatch",
	2:  "TickerType_Late",
	3:  "TickerType_NoneAutomatch",
	4:  "TickerType_InterAutomatch",
	5:  "TickerType_InterNoneAutomatch",
	6:  "TickerType_OddLot",
	7:  "TickerType_Auction",
	8:  "TickerType_Bulk",
	9:  "TickerType_Crash",
	10: "TickerType_CrossMarket",
	11: "TickerType_BulkSold",
	12: "TickerType_FreeOnBoard",
	13: "TickerType_Rule127Or155",
	14: "TickerType_Delay",
	15: "TickerType_MarketCenterClosePrice",
	16: "TickerType_NextDay",
	17: "TickerType_MarketCenterOpening",
	18: "TickerType_PriorReferencePrice",
	19: "TickerType_MarketCenterOpenPrice",
	20: "TickerType_Seller",
	21: "TickerType_T",
	22: "TickerType_ExtendedTradingHours",
	23: "TickerType_Contingent",
	24: "TickerType_AvgPrice",
	25: "TickerType_OTCSold",
	26: "TickerType_OddLotCrossMarket",
	27: "TickerType_DerivativelyPriced",
	28: "TickerType_ReOpeningPriced",
	29: "TickerType_ClosingPriced",
	30: "TickerType_ComprehensiveDelayPrice",
}
View Source
var TickerType_value = map[string]int32{
	"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,
}
View Source
var TradeDateType_name = map[int32]string{
	0: "TradeDateType_Whole",
	1: "TradeDateType_Morning",
	2: "TradeDateType_Afternoon",
}
View Source
var TradeDateType_value = map[string]int32{
	"TradeDateType_Whole":     0,
	"TradeDateType_Morning":   1,
	"TradeDateType_Afternoon": 2,
}
View Source
var WarrantStatus_name = map[int32]string{
	0: "WarrantStatus_Unknow",
	1: "WarrantStatus_Normal",
	2: "WarrantStatus_Suspend",
	3: "WarrantStatus_StopTrade",
	4: "WarrantStatus_PendingListing",
}
View Source
var WarrantStatus_value = map[string]int32{
	"WarrantStatus_Unknow":         0,
	"WarrantStatus_Normal":         1,
	"WarrantStatus_Suspend":        2,
	"WarrantStatus_StopTrade":      3,
	"WarrantStatus_PendingListing": 4,
}
View Source
var WarrantType_name = map[int32]string{
	0: "WarrantType_Unknown",
	1: "WarrantType_Buy",
	2: "WarrantType_Sell",
	3: "WarrantType_Bull",
	4: "WarrantType_Bear",
	5: "WarrantType_InLine",
}
View Source
var WarrantType_value = map[string]int32{
	"WarrantType_Unknown": 0,
	"WarrantType_Buy":     1,
	"WarrantType_Sell":    2,
	"WarrantType_Bull":    3,
	"WarrantType_Bear":    4,
	"WarrantType_InLine":  5,
}

Functions

This section is empty.

Types

type BasicQot

type BasicQot struct {
	Security         *Security             `protobuf:"bytes,1,req,name=security" json:"security,omitempty"`
	IsSuspended      *bool                 `protobuf:"varint,2,req,name=isSuspended" json:"isSuspended,omitempty"`
	ListTime         *string               `protobuf:"bytes,3,req,name=listTime" json:"listTime,omitempty"`
	PriceSpread      *float64              `protobuf:"fixed64,4,req,name=priceSpread" json:"priceSpread,omitempty"`
	UpdateTime       *string               `protobuf:"bytes,5,req,name=updateTime" json:"updateTime,omitempty"`
	HighPrice        *float64              `protobuf:"fixed64,6,req,name=highPrice" json:"highPrice,omitempty"`
	OpenPrice        *float64              `protobuf:"fixed64,7,req,name=openPrice" json:"openPrice,omitempty"`
	LowPrice         *float64              `protobuf:"fixed64,8,req,name=lowPrice" json:"lowPrice,omitempty"`
	CurPrice         *float64              `protobuf:"fixed64,9,req,name=curPrice" json:"curPrice,omitempty"`
	LastClosePrice   *float64              `protobuf:"fixed64,10,req,name=lastClosePrice" json:"lastClosePrice,omitempty"`
	Volume           *int64                `protobuf:"varint,11,req,name=volume" json:"volume,omitempty"`
	Turnover         *float64              `protobuf:"fixed64,12,req,name=turnover" json:"turnover,omitempty"`
	TurnoverRate     *float64              `protobuf:"fixed64,13,req,name=turnoverRate" json:"turnoverRate,omitempty"`
	Amplitude        *float64              `protobuf:"fixed64,14,req,name=amplitude" json:"amplitude,omitempty"`
	DarkStatus       *int32                `protobuf:"varint,15,opt,name=darkStatus" json:"darkStatus,omitempty"`
	OptionExData     *OptionBasicQotExData `protobuf:"bytes,16,opt,name=optionExData" json:"optionExData,omitempty"`
	ListTimestamp    *float64              `protobuf:"fixed64,17,opt,name=listTimestamp" json:"listTimestamp,omitempty"`
	UpdateTimestamp  *float64              `protobuf:"fixed64,18,opt,name=updateTimestamp" json:"updateTimestamp,omitempty"`
	PreMarket        *PreAfterMarketData   `protobuf:"bytes,19,opt,name=preMarket" json:"preMarket,omitempty"`
	AfterMarket      *PreAfterMarketData   `protobuf:"bytes,20,opt,name=afterMarket" json:"afterMarket,omitempty"`
	SecStatus        *int32                `protobuf:"varint,21,opt,name=secStatus" json:"secStatus,omitempty"`
	FutureExData     *FutureBasicQotExData `protobuf:"bytes,22,opt,name=futureExData" json:"futureExData,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

func (*BasicQot) Descriptor

func (*BasicQot) Descriptor() ([]byte, []int)

func (*BasicQot) GetAfterMarket

func (m *BasicQot) GetAfterMarket() *PreAfterMarketData

func (*BasicQot) GetAmplitude

func (m *BasicQot) GetAmplitude() float64

func (*BasicQot) GetCurPrice

func (m *BasicQot) GetCurPrice() float64

func (*BasicQot) GetDarkStatus

func (m *BasicQot) GetDarkStatus() int32

func (*BasicQot) GetFutureExData

func (m *BasicQot) GetFutureExData() *FutureBasicQotExData

func (*BasicQot) GetHighPrice

func (m *BasicQot) GetHighPrice() float64

func (*BasicQot) GetIsSuspended

func (m *BasicQot) GetIsSuspended() bool

func (*BasicQot) GetLastClosePrice

func (m *BasicQot) GetLastClosePrice() float64

func (*BasicQot) GetListTime

func (m *BasicQot) GetListTime() string

func (*BasicQot) GetListTimestamp

func (m *BasicQot) GetListTimestamp() float64

func (*BasicQot) GetLowPrice

func (m *BasicQot) GetLowPrice() float64

func (*BasicQot) GetOpenPrice

func (m *BasicQot) GetOpenPrice() float64

func (*BasicQot) GetOptionExData

func (m *BasicQot) GetOptionExData() *OptionBasicQotExData

func (*BasicQot) GetPreMarket

func (m *BasicQot) GetPreMarket() *PreAfterMarketData

func (*BasicQot) GetPriceSpread

func (m *BasicQot) GetPriceSpread() float64

func (*BasicQot) GetSecStatus

func (m *BasicQot) GetSecStatus() int32

func (*BasicQot) GetSecurity

func (m *BasicQot) GetSecurity() *Security

func (*BasicQot) GetTurnover

func (m *BasicQot) GetTurnover() float64

func (*BasicQot) GetTurnoverRate

func (m *BasicQot) GetTurnoverRate() float64

func (*BasicQot) GetUpdateTime

func (m *BasicQot) GetUpdateTime() string

func (*BasicQot) GetUpdateTimestamp

func (m *BasicQot) GetUpdateTimestamp() float64

func (*BasicQot) GetVolume

func (m *BasicQot) GetVolume() int64

func (*BasicQot) ProtoMessage

func (*BasicQot) ProtoMessage()

func (*BasicQot) Reset

func (m *BasicQot) Reset()

func (*BasicQot) String

func (m *BasicQot) String() string

type Broker

type Broker struct {
	Id               *int64  `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	Pos              *int32  `protobuf:"varint,3,req,name=pos" json:"pos,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Broker) Descriptor

func (*Broker) Descriptor() ([]byte, []int)

func (*Broker) GetId

func (m *Broker) GetId() int64

func (*Broker) GetName

func (m *Broker) GetName() string

func (*Broker) GetPos

func (m *Broker) GetPos() int32

func (*Broker) ProtoMessage

func (*Broker) ProtoMessage()

func (*Broker) Reset

func (m *Broker) Reset()

func (*Broker) String

func (m *Broker) String() string

type CompanyAct

type CompanyAct int32
const (
	CompanyAct_CompanyAct_None       CompanyAct = 0
	CompanyAct_CompanyAct_Split      CompanyAct = 1
	CompanyAct_CompanyAct_Join       CompanyAct = 2
	CompanyAct_CompanyAct_Bonus      CompanyAct = 4
	CompanyAct_CompanyAct_Transfer   CompanyAct = 8
	CompanyAct_CompanyAct_Allot      CompanyAct = 16
	CompanyAct_CompanyAct_Add        CompanyAct = 32
	CompanyAct_CompanyAct_Dividend   CompanyAct = 64
	CompanyAct_CompanyAct_SPDividend CompanyAct = 128
)

func (CompanyAct) Enum

func (x CompanyAct) Enum() *CompanyAct

func (CompanyAct) EnumDescriptor

func (CompanyAct) EnumDescriptor() ([]byte, []int)

func (CompanyAct) String

func (x CompanyAct) String() string

func (*CompanyAct) UnmarshalJSON

func (x *CompanyAct) UnmarshalJSON(data []byte) error

type ConnSubInfo

type ConnSubInfo struct {
	SubInfoList      []*SubInfo `protobuf:"bytes,1,rep,name=subInfoList" json:"subInfoList,omitempty"`
	UsedQuota        *int32     `protobuf:"varint,2,req,name=usedQuota" json:"usedQuota,omitempty"`
	IsOwnConnData    *bool      `protobuf:"varint,3,req,name=isOwnConnData" json:"isOwnConnData,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

func (*ConnSubInfo) Descriptor

func (*ConnSubInfo) Descriptor() ([]byte, []int)

func (*ConnSubInfo) GetIsOwnConnData

func (m *ConnSubInfo) GetIsOwnConnData() bool

func (*ConnSubInfo) GetSubInfoList

func (m *ConnSubInfo) GetSubInfoList() []*SubInfo

func (*ConnSubInfo) GetUsedQuota

func (m *ConnSubInfo) GetUsedQuota() int32

func (*ConnSubInfo) ProtoMessage

func (*ConnSubInfo) ProtoMessage()

func (*ConnSubInfo) Reset

func (m *ConnSubInfo) Reset()

func (*ConnSubInfo) String

func (m *ConnSubInfo) String() string

type DarkStatus

type DarkStatus int32
const (
	DarkStatus_DarkStatus_None    DarkStatus = 0
	DarkStatus_DarkStatus_Trading DarkStatus = 1
	DarkStatus_DarkStatus_End     DarkStatus = 2
)

func (DarkStatus) Enum

func (x DarkStatus) Enum() *DarkStatus

func (DarkStatus) EnumDescriptor

func (DarkStatus) EnumDescriptor() ([]byte, []int)

func (DarkStatus) String

func (x DarkStatus) String() string

func (*DarkStatus) UnmarshalJSON

func (x *DarkStatus) UnmarshalJSON(data []byte) error

type FutureBasicQotExData

type FutureBasicQotExData struct {
	LastSettlePrice    *float64 `protobuf:"fixed64,1,req,name=lastSettlePrice" json:"lastSettlePrice,omitempty"`
	Position           *int32   `protobuf:"varint,2,req,name=position" json:"position,omitempty"`
	PositionChange     *int32   `protobuf:"varint,3,req,name=positionChange" json:"positionChange,omitempty"`
	ExpiryDateDistance *int32   `protobuf:"varint,4,opt,name=expiryDateDistance" json:"expiryDateDistance,omitempty"`
	XXX_unrecognized   []byte   `json:"-"`
}

func (*FutureBasicQotExData) Descriptor

func (*FutureBasicQotExData) Descriptor() ([]byte, []int)

func (*FutureBasicQotExData) GetExpiryDateDistance

func (m *FutureBasicQotExData) GetExpiryDateDistance() int32

func (*FutureBasicQotExData) GetLastSettlePrice

func (m *FutureBasicQotExData) GetLastSettlePrice() float64

func (*FutureBasicQotExData) GetPosition

func (m *FutureBasicQotExData) GetPosition() int32

func (*FutureBasicQotExData) GetPositionChange

func (m *FutureBasicQotExData) GetPositionChange() int32

func (*FutureBasicQotExData) ProtoMessage

func (*FutureBasicQotExData) ProtoMessage()

func (*FutureBasicQotExData) Reset

func (m *FutureBasicQotExData) Reset()

func (*FutureBasicQotExData) String

func (m *FutureBasicQotExData) String() string

type FutureStaticExData

type FutureStaticExData struct {
	LastTradeTime      *string  `protobuf:"bytes,1,req,name=lastTradeTime" json:"lastTradeTime,omitempty"`
	LastTradeTimestamp *float64 `protobuf:"fixed64,2,opt,name=lastTradeTimestamp" json:"lastTradeTimestamp,omitempty"`
	IsMainContract     *bool    `protobuf:"varint,3,req,name=isMainContract" json:"isMainContract,omitempty"`
	XXX_unrecognized   []byte   `json:"-"`
}

func (*FutureStaticExData) Descriptor

func (*FutureStaticExData) Descriptor() ([]byte, []int)

func (*FutureStaticExData) GetIsMainContract

func (m *FutureStaticExData) GetIsMainContract() bool

func (*FutureStaticExData) GetLastTradeTime

func (m *FutureStaticExData) GetLastTradeTime() string

func (*FutureStaticExData) GetLastTradeTimestamp

func (m *FutureStaticExData) GetLastTradeTimestamp() float64

func (*FutureStaticExData) ProtoMessage

func (*FutureStaticExData) ProtoMessage()

func (*FutureStaticExData) Reset

func (m *FutureStaticExData) Reset()

func (*FutureStaticExData) String

func (m *FutureStaticExData) String() string

type HolderCategory

type HolderCategory int32
const (
	HolderCategory_HolderCategory_Unknow        HolderCategory = 0
	HolderCategory_HolderCategory_Agency        HolderCategory = 1
	HolderCategory_HolderCategory_Fund          HolderCategory = 2
	HolderCategory_HolderCategory_SeniorManager HolderCategory = 3
)

func (HolderCategory) Enum

func (x HolderCategory) Enum() *HolderCategory

func (HolderCategory) EnumDescriptor

func (HolderCategory) EnumDescriptor() ([]byte, []int)

func (HolderCategory) String

func (x HolderCategory) String() string

func (*HolderCategory) UnmarshalJSON

func (x *HolderCategory) UnmarshalJSON(data []byte) error

type IndexOptionType

type IndexOptionType int32
const (
	IndexOptionType_IndexOptionType_Unknown IndexOptionType = 0
	IndexOptionType_IndexOptionType_Normal  IndexOptionType = 1
	IndexOptionType_IndexOptionType_Small   IndexOptionType = 2
)

func (IndexOptionType) Enum

func (x IndexOptionType) Enum() *IndexOptionType

func (IndexOptionType) EnumDescriptor

func (IndexOptionType) EnumDescriptor() ([]byte, []int)

func (IndexOptionType) String

func (x IndexOptionType) String() string

func (*IndexOptionType) UnmarshalJSON

func (x *IndexOptionType) UnmarshalJSON(data []byte) error

type IpoPeriod

type IpoPeriod int32

窝轮上市日

const (
	IpoPeriod_IpoPeriod_Unknow    IpoPeriod = 0
	IpoPeriod_IpoPeriod_Today     IpoPeriod = 1
	IpoPeriod_IpoPeriod_Tomorrow  IpoPeriod = 2
	IpoPeriod_IpoPeriod_Nextweek  IpoPeriod = 3
	IpoPeriod_IpoPeriod_Lastweek  IpoPeriod = 4
	IpoPeriod_IpoPeriod_Lastmonth IpoPeriod = 5
)

func (IpoPeriod) Enum

func (x IpoPeriod) Enum() *IpoPeriod

func (IpoPeriod) EnumDescriptor

func (IpoPeriod) EnumDescriptor() ([]byte, []int)

func (IpoPeriod) String

func (x IpoPeriod) String() string

func (*IpoPeriod) UnmarshalJSON

func (x *IpoPeriod) UnmarshalJSON(data []byte) error

type Issuer

type Issuer int32

窝轮发行人

const (
	Issuer_Issuer_Unknow Issuer = 0
	Issuer_Issuer_SG     Issuer = 1
	Issuer_Issuer_BP     Issuer = 2
	Issuer_Issuer_CS     Issuer = 3
	Issuer_Issuer_CT     Issuer = 4
	Issuer_Issuer_EA     Issuer = 5
	Issuer_Issuer_GS     Issuer = 6
	Issuer_Issuer_HS     Issuer = 7
	Issuer_Issuer_JP     Issuer = 8
	Issuer_Issuer_MB     Issuer = 9
	Issuer_Issuer_SC     Issuer = 10
	Issuer_Issuer_UB     Issuer = 11
	Issuer_Issuer_BI     Issuer = 12
	Issuer_Issuer_DB     Issuer = 13
	Issuer_Issuer_DC     Issuer = 14
	Issuer_Issuer_ML     Issuer = 15
	Issuer_Issuer_NM     Issuer = 16
	Issuer_Issuer_RB     Issuer = 17
	Issuer_Issuer_RS     Issuer = 18
	Issuer_Issuer_BC     Issuer = 19
	Issuer_Issuer_HT     Issuer = 20
	Issuer_Issuer_VT     Issuer = 21
	Issuer_Issuer_KC     Issuer = 22
	Issuer_Issuer_MS     Issuer = 23
)

func (Issuer) Enum

func (x Issuer) Enum() *Issuer

func (Issuer) EnumDescriptor

func (Issuer) EnumDescriptor() ([]byte, []int)

func (Issuer) String

func (x Issuer) String() string

func (*Issuer) UnmarshalJSON

func (x *Issuer) UnmarshalJSON(data []byte) error

type KLFields

type KLFields int32
const (
	KLFields_KLFields_None         KLFields = 0
	KLFields_KLFields_High         KLFields = 1
	KLFields_KLFields_Open         KLFields = 2
	KLFields_KLFields_Low          KLFields = 4
	KLFields_KLFields_Close        KLFields = 8
	KLFields_KLFields_LastClose    KLFields = 16
	KLFields_KLFields_Volume       KLFields = 32
	KLFields_KLFields_Turnover     KLFields = 64
	KLFields_KLFields_TurnoverRate KLFields = 128
	KLFields_KLFields_PE           KLFields = 256
	KLFields_KLFields_ChangeRate   KLFields = 512
)

func (KLFields) Enum

func (x KLFields) Enum() *KLFields

func (KLFields) EnumDescriptor

func (KLFields) EnumDescriptor() ([]byte, []int)

func (KLFields) String

func (x KLFields) String() string

func (*KLFields) UnmarshalJSON

func (x *KLFields) UnmarshalJSON(data []byte) error

type KLType

type KLType int32

枚举值兼容旧协议定义

const (
	KLType_KLType_Unknown KLType = 0
	KLType_KLType_1Min    KLType = 1
	KLType_KLType_Day     KLType = 2
	KLType_KLType_Week    KLType = 3
	KLType_KLType_Month   KLType = 4
	KLType_KLType_Year    KLType = 5
	KLType_KLType_5Min    KLType = 6
	KLType_KLType_15Min   KLType = 7
	KLType_KLType_30Min   KLType = 8
	KLType_KLType_60Min   KLType = 9
	KLType_KLType_3Min    KLType = 10
	KLType_KLType_Quarter KLType = 11
)

func (KLType) Enum

func (x KLType) Enum() *KLType

func (KLType) EnumDescriptor

func (KLType) EnumDescriptor() ([]byte, []int)

func (KLType) String

func (x KLType) String() string

func (*KLType) UnmarshalJSON

func (x *KLType) UnmarshalJSON(data []byte) error

type KLine

type KLine struct {
	Time             *string  `protobuf:"bytes,1,req,name=time" json:"time,omitempty"`
	IsBlank          *bool    `protobuf:"varint,2,req,name=isBlank" json:"isBlank,omitempty"`
	HighPrice        *float64 `protobuf:"fixed64,3,opt,name=highPrice" json:"highPrice,omitempty"`
	OpenPrice        *float64 `protobuf:"fixed64,4,opt,name=openPrice" json:"openPrice,omitempty"`
	LowPrice         *float64 `protobuf:"fixed64,5,opt,name=lowPrice" json:"lowPrice,omitempty"`
	ClosePrice       *float64 `protobuf:"fixed64,6,opt,name=closePrice" json:"closePrice,omitempty"`
	LastClosePrice   *float64 `protobuf:"fixed64,7,opt,name=lastClosePrice" json:"lastClosePrice,omitempty"`
	Volume           *int64   `protobuf:"varint,8,opt,name=volume" json:"volume,omitempty"`
	Turnover         *float64 `protobuf:"fixed64,9,opt,name=turnover" json:"turnover,omitempty"`
	TurnoverRate     *float64 `protobuf:"fixed64,10,opt,name=turnoverRate" json:"turnoverRate,omitempty"`
	Pe               *float64 `protobuf:"fixed64,11,opt,name=pe" json:"pe,omitempty"`
	ChangeRate       *float64 `protobuf:"fixed64,12,opt,name=changeRate" json:"changeRate,omitempty"`
	Timestamp        *float64 `protobuf:"fixed64,13,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*KLine) Descriptor

func (*KLine) Descriptor() ([]byte, []int)

func (*KLine) GetChangeRate

func (m *KLine) GetChangeRate() float64

func (*KLine) GetClosePrice

func (m *KLine) GetClosePrice() float64

func (*KLine) GetHighPrice

func (m *KLine) GetHighPrice() float64

func (*KLine) GetIsBlank

func (m *KLine) GetIsBlank() bool

func (*KLine) GetLastClosePrice

func (m *KLine) GetLastClosePrice() float64

func (*KLine) GetLowPrice

func (m *KLine) GetLowPrice() float64

func (*KLine) GetOpenPrice

func (m *KLine) GetOpenPrice() float64

func (*KLine) GetPe

func (m *KLine) GetPe() float64

func (*KLine) GetTime

func (m *KLine) GetTime() string

func (*KLine) GetTimestamp

func (m *KLine) GetTimestamp() float64

func (*KLine) GetTurnover

func (m *KLine) GetTurnover() float64

func (*KLine) GetTurnoverRate

func (m *KLine) GetTurnoverRate() float64

func (*KLine) GetVolume

func (m *KLine) GetVolume() int64

func (*KLine) ProtoMessage

func (*KLine) ProtoMessage()

func (*KLine) Reset

func (m *KLine) Reset()

func (*KLine) String

func (m *KLine) String() string

type OptionAreaType

type OptionAreaType int32
const (
	OptionAreaType_OptionAreaType_Unknown  OptionAreaType = 0
	OptionAreaType_OptionAreaType_American OptionAreaType = 1
	OptionAreaType_OptionAreaType_European OptionAreaType = 2
	OptionAreaType_OptionAreaType_Bermuda  OptionAreaType = 3
)

func (OptionAreaType) Enum

func (x OptionAreaType) Enum() *OptionAreaType

func (OptionAreaType) EnumDescriptor

func (OptionAreaType) EnumDescriptor() ([]byte, []int)

func (OptionAreaType) String

func (x OptionAreaType) String() string

func (*OptionAreaType) UnmarshalJSON

func (x *OptionAreaType) UnmarshalJSON(data []byte) error

type OptionBasicQotExData

type OptionBasicQotExData struct {
	StrikePrice       *float64 `protobuf:"fixed64,1,req,name=strikePrice" json:"strikePrice,omitempty"`
	ContractSize      *int32   `protobuf:"varint,2,req,name=contractSize" json:"contractSize,omitempty"`
	OpenInterest      *int32   `protobuf:"varint,3,req,name=openInterest" json:"openInterest,omitempty"`
	ImpliedVolatility *float64 `protobuf:"fixed64,4,req,name=impliedVolatility" json:"impliedVolatility,omitempty"`
	Premium           *float64 `protobuf:"fixed64,5,req,name=premium" json:"premium,omitempty"`
	Delta             *float64 `protobuf:"fixed64,6,req,name=delta" json:"delta,omitempty"`
	Gamma             *float64 `protobuf:"fixed64,7,req,name=gamma" json:"gamma,omitempty"`
	Vega              *float64 `protobuf:"fixed64,8,req,name=vega" json:"vega,omitempty"`
	Theta             *float64 `protobuf:"fixed64,9,req,name=theta" json:"theta,omitempty"`
	Rho               *float64 `protobuf:"fixed64,10,req,name=rho" json:"rho,omitempty"`
	// 以下字段仅支持港股期权
	NetOpenInterest      *int32   `protobuf:"varint,11,opt,name=netOpenInterest" json:"netOpenInterest,omitempty"`
	ExpiryDateDistance   *int32   `protobuf:"varint,12,opt,name=expiryDateDistance" json:"expiryDateDistance,omitempty"`
	ContractNominalValue *float64 `protobuf:"fixed64,13,opt,name=contractNominalValue" json:"contractNominalValue,omitempty"`
	OwnerLotMultiplier   *float64 `protobuf:"fixed64,14,opt,name=ownerLotMultiplier" json:"ownerLotMultiplier,omitempty"`
	OptionAreaType       *int32   `protobuf:"varint,15,opt,name=optionAreaType" json:"optionAreaType,omitempty"`
	ContractMultiplier   *float64 `protobuf:"fixed64,16,opt,name=contractMultiplier" json:"contractMultiplier,omitempty"`
	XXX_unrecognized     []byte   `json:"-"`
}

func (*OptionBasicQotExData) Descriptor

func (*OptionBasicQotExData) Descriptor() ([]byte, []int)

func (*OptionBasicQotExData) GetContractMultiplier

func (m *OptionBasicQotExData) GetContractMultiplier() float64

func (*OptionBasicQotExData) GetContractNominalValue

func (m *OptionBasicQotExData) GetContractNominalValue() float64

func (*OptionBasicQotExData) GetContractSize

func (m *OptionBasicQotExData) GetContractSize() int32

func (*OptionBasicQotExData) GetDelta

func (m *OptionBasicQotExData) GetDelta() float64

func (*OptionBasicQotExData) GetExpiryDateDistance

func (m *OptionBasicQotExData) GetExpiryDateDistance() int32

func (*OptionBasicQotExData) GetGamma

func (m *OptionBasicQotExData) GetGamma() float64

func (*OptionBasicQotExData) GetImpliedVolatility

func (m *OptionBasicQotExData) GetImpliedVolatility() float64

func (*OptionBasicQotExData) GetNetOpenInterest

func (m *OptionBasicQotExData) GetNetOpenInterest() int32

func (*OptionBasicQotExData) GetOpenInterest

func (m *OptionBasicQotExData) GetOpenInterest() int32

func (*OptionBasicQotExData) GetOptionAreaType

func (m *OptionBasicQotExData) GetOptionAreaType() int32

func (*OptionBasicQotExData) GetOwnerLotMultiplier

func (m *OptionBasicQotExData) GetOwnerLotMultiplier() float64

func (*OptionBasicQotExData) GetPremium

func (m *OptionBasicQotExData) GetPremium() float64

func (*OptionBasicQotExData) GetRho

func (m *OptionBasicQotExData) GetRho() float64

func (*OptionBasicQotExData) GetStrikePrice

func (m *OptionBasicQotExData) GetStrikePrice() float64

func (*OptionBasicQotExData) GetTheta

func (m *OptionBasicQotExData) GetTheta() float64

func (*OptionBasicQotExData) GetVega

func (m *OptionBasicQotExData) GetVega() float64

func (*OptionBasicQotExData) ProtoMessage

func (*OptionBasicQotExData) ProtoMessage()

func (*OptionBasicQotExData) Reset

func (m *OptionBasicQotExData) Reset()

func (*OptionBasicQotExData) String

func (m *OptionBasicQotExData) String() string

type OptionStaticExData

type OptionStaticExData struct {
	Type             *int32    `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
	Owner            *Security `protobuf:"bytes,2,req,name=owner" json:"owner,omitempty"`
	StrikeTime       *string   `protobuf:"bytes,3,req,name=strikeTime" json:"strikeTime,omitempty"`
	StrikePrice      *float64  `protobuf:"fixed64,4,req,name=strikePrice" json:"strikePrice,omitempty"`
	Suspend          *bool     `protobuf:"varint,5,req,name=suspend" json:"suspend,omitempty"`
	Market           *string   `protobuf:"bytes,6,req,name=market" json:"market,omitempty"`
	StrikeTimestamp  *float64  `protobuf:"fixed64,7,opt,name=strikeTimestamp" json:"strikeTimestamp,omitempty"`
	IndexOptionType  *int32    `protobuf:"varint,8,opt,name=indexOptionType" json:"indexOptionType,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*OptionStaticExData) Descriptor

func (*OptionStaticExData) Descriptor() ([]byte, []int)

func (*OptionStaticExData) GetIndexOptionType

func (m *OptionStaticExData) GetIndexOptionType() int32

func (*OptionStaticExData) GetMarket

func (m *OptionStaticExData) GetMarket() string

func (*OptionStaticExData) GetOwner

func (m *OptionStaticExData) GetOwner() *Security

func (*OptionStaticExData) GetStrikePrice

func (m *OptionStaticExData) GetStrikePrice() float64

func (*OptionStaticExData) GetStrikeTime

func (m *OptionStaticExData) GetStrikeTime() string

func (*OptionStaticExData) GetStrikeTimestamp

func (m *OptionStaticExData) GetStrikeTimestamp() float64

func (*OptionStaticExData) GetSuspend

func (m *OptionStaticExData) GetSuspend() bool

func (*OptionStaticExData) GetType

func (m *OptionStaticExData) GetType() int32

func (*OptionStaticExData) ProtoMessage

func (*OptionStaticExData) ProtoMessage()

func (*OptionStaticExData) Reset

func (m *OptionStaticExData) Reset()

func (*OptionStaticExData) String

func (m *OptionStaticExData) String() string

type OptionType

type OptionType int32
const (
	OptionType_OptionType_Unknown OptionType = 0
	OptionType_OptionType_Call    OptionType = 1
	OptionType_OptionType_Put     OptionType = 2
)

func (OptionType) Enum

func (x OptionType) Enum() *OptionType

func (OptionType) EnumDescriptor

func (OptionType) EnumDescriptor() ([]byte, []int)

func (OptionType) String

func (x OptionType) String() string

func (*OptionType) UnmarshalJSON

func (x *OptionType) UnmarshalJSON(data []byte) error

type OrderBook

type OrderBook struct {
	Price            *float64 `protobuf:"fixed64,1,req,name=price" json:"price,omitempty"`
	Volume           *int64   `protobuf:"varint,2,req,name=volume" json:"volume,omitempty"`
	OrederCount      *int32   `protobuf:"varint,3,req,name=orederCount" json:"orederCount,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*OrderBook) Descriptor

func (*OrderBook) Descriptor() ([]byte, []int)

func (*OrderBook) GetOrederCount

func (m *OrderBook) GetOrederCount() int32

func (*OrderBook) GetPrice

func (m *OrderBook) GetPrice() float64

func (*OrderBook) GetVolume

func (m *OrderBook) GetVolume() int64

func (*OrderBook) ProtoMessage

func (*OrderBook) ProtoMessage()

func (*OrderBook) Reset

func (m *OrderBook) Reset()

func (*OrderBook) String

func (m *OrderBook) String() string

type OrderDetail

type OrderDetail struct {
	OrderCount       *int32    `protobuf:"varint,1,req,name=orderCount" json:"orderCount,omitempty"`
	OrderVol         []float64 `protobuf:"fixed64,2,rep,name=orderVol" json:"orderVol,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*OrderDetail) Descriptor

func (*OrderDetail) Descriptor() ([]byte, []int)

func (*OrderDetail) GetOrderCount

func (m *OrderDetail) GetOrderCount() int32

func (*OrderDetail) GetOrderVol

func (m *OrderDetail) GetOrderVol() []float64

func (*OrderDetail) ProtoMessage

func (*OrderDetail) ProtoMessage()

func (*OrderDetail) Reset

func (m *OrderDetail) Reset()

func (*OrderDetail) String

func (m *OrderDetail) String() string

type PlateInfo

type PlateInfo struct {
	Plate            *Security `protobuf:"bytes,1,req,name=plate" json:"plate,omitempty"`
	Name             *string   `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	PlateType        *int32    `protobuf:"varint,3,opt,name=plateType" json:"plateType,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*PlateInfo) Descriptor

func (*PlateInfo) Descriptor() ([]byte, []int)

func (*PlateInfo) GetName

func (m *PlateInfo) GetName() string

func (*PlateInfo) GetPlate

func (m *PlateInfo) GetPlate() *Security

func (*PlateInfo) GetPlateType

func (m *PlateInfo) GetPlateType() int32

func (*PlateInfo) ProtoMessage

func (*PlateInfo) ProtoMessage()

func (*PlateInfo) Reset

func (m *PlateInfo) Reset()

func (*PlateInfo) String

func (m *PlateInfo) String() string

type PlateSetType

type PlateSetType int32
const (
	PlateSetType_PlateSetType_All      PlateSetType = 0
	PlateSetType_PlateSetType_Industry PlateSetType = 1
	PlateSetType_PlateSetType_Region   PlateSetType = 2
	PlateSetType_PlateSetType_Concept  PlateSetType = 3
	PlateSetType_PlateSetType_Other    PlateSetType = 4
)

func (PlateSetType) Enum

func (x PlateSetType) Enum() *PlateSetType

func (PlateSetType) EnumDescriptor

func (PlateSetType) EnumDescriptor() ([]byte, []int)

func (PlateSetType) String

func (x PlateSetType) String() string

func (*PlateSetType) UnmarshalJSON

func (x *PlateSetType) UnmarshalJSON(data []byte) error

type PreAfterMarketData

type PreAfterMarketData struct {
	Price            *float64 `protobuf:"fixed64,1,opt,name=price" json:"price,omitempty"`
	HighPrice        *float64 `protobuf:"fixed64,2,opt,name=highPrice" json:"highPrice,omitempty"`
	LowPrice         *float64 `protobuf:"fixed64,3,opt,name=lowPrice" json:"lowPrice,omitempty"`
	Volume           *int64   `protobuf:"varint,4,opt,name=volume" json:"volume,omitempty"`
	Turnover         *float64 `protobuf:"fixed64,5,opt,name=turnover" json:"turnover,omitempty"`
	ChangeVal        *float64 `protobuf:"fixed64,6,opt,name=changeVal" json:"changeVal,omitempty"`
	ChangeRate       *float64 `protobuf:"fixed64,7,opt,name=changeRate" json:"changeRate,omitempty"`
	Amplitude        *float64 `protobuf:"fixed64,8,opt,name=amplitude" json:"amplitude,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

美股支持盘前盘后数据 科创板仅支持盘后数据:成交量,成交额

func (*PreAfterMarketData) Descriptor

func (*PreAfterMarketData) Descriptor() ([]byte, []int)

func (*PreAfterMarketData) GetAmplitude

func (m *PreAfterMarketData) GetAmplitude() float64

func (*PreAfterMarketData) GetChangeRate

func (m *PreAfterMarketData) GetChangeRate() float64

func (*PreAfterMarketData) GetChangeVal

func (m *PreAfterMarketData) GetChangeVal() float64

func (*PreAfterMarketData) GetHighPrice

func (m *PreAfterMarketData) GetHighPrice() float64

func (*PreAfterMarketData) GetLowPrice

func (m *PreAfterMarketData) GetLowPrice() float64

func (*PreAfterMarketData) GetPrice

func (m *PreAfterMarketData) GetPrice() float64

func (*PreAfterMarketData) GetTurnover

func (m *PreAfterMarketData) GetTurnover() float64

func (*PreAfterMarketData) GetVolume

func (m *PreAfterMarketData) GetVolume() int64

func (*PreAfterMarketData) ProtoMessage

func (*PreAfterMarketData) ProtoMessage()

func (*PreAfterMarketData) Reset

func (m *PreAfterMarketData) Reset()

func (*PreAfterMarketData) String

func (m *PreAfterMarketData) String() string

type PriceType

type PriceType int32

窝轮价外/内,界内证表示界内界外

const (
	PriceType_PriceType_Unknow  PriceType = 0
	PriceType_PriceType_Outside PriceType = 1
	PriceType_PriceType_WithIn  PriceType = 2
)

func (PriceType) Enum

func (x PriceType) Enum() *PriceType

func (PriceType) EnumDescriptor

func (PriceType) EnumDescriptor() ([]byte, []int)

func (PriceType) String

func (x PriceType) String() string

func (*PriceType) UnmarshalJSON

func (x *PriceType) UnmarshalJSON(data []byte) error

type PushDataType

type PushDataType int32

推送数据的分类,目前只有逐笔在使用

const (
	PushDataType_PushDataType_Unknow    PushDataType = 0
	PushDataType_PushDataType_Realtime  PushDataType = 1
	PushDataType_PushDataType_ByDisConn PushDataType = 2
	PushDataType_PushDataType_Cache     PushDataType = 3
)

func (PushDataType) Enum

func (x PushDataType) Enum() *PushDataType

func (PushDataType) EnumDescriptor

func (PushDataType) EnumDescriptor() ([]byte, []int)

func (PushDataType) String

func (x PushDataType) String() string

func (*PushDataType) UnmarshalJSON

func (x *PushDataType) UnmarshalJSON(data []byte) error

type QotMarket

type QotMarket int32
const (
	QotMarket_QotMarket_Unknown       QotMarket = 0
	QotMarket_QotMarket_HK_Security   QotMarket = 1
	QotMarket_QotMarket_HK_Future     QotMarket = 2
	QotMarket_QotMarket_US_Security   QotMarket = 11
	QotMarket_QotMarket_CNSH_Security QotMarket = 21
	QotMarket_QotMarket_CNSZ_Security QotMarket = 22
)

func (QotMarket) Enum

func (x QotMarket) Enum() *QotMarket

func (QotMarket) EnumDescriptor

func (QotMarket) EnumDescriptor() ([]byte, []int)

func (QotMarket) String

func (x QotMarket) String() string

func (*QotMarket) UnmarshalJSON

func (x *QotMarket) UnmarshalJSON(data []byte) error

type QotMarketState

type QotMarketState int32
const (
	QotMarketState_QotMarketState_None                 QotMarketState = 0
	QotMarketState_QotMarketState_Auction              QotMarketState = 1
	QotMarketState_QotMarketState_WaitingOpen          QotMarketState = 2
	QotMarketState_QotMarketState_Morning              QotMarketState = 3
	QotMarketState_QotMarketState_Rest                 QotMarketState = 4
	QotMarketState_QotMarketState_Afternoon            QotMarketState = 5
	QotMarketState_QotMarketState_Closed               QotMarketState = 6
	QotMarketState_QotMarketState_PreMarketBegin       QotMarketState = 8
	QotMarketState_QotMarketState_PreMarketEnd         QotMarketState = 9
	QotMarketState_QotMarketState_AfterHoursBegin      QotMarketState = 10
	QotMarketState_QotMarketState_AfterHoursEnd        QotMarketState = 11
	QotMarketState_QotMarketState_NightOpen            QotMarketState = 13
	QotMarketState_QotMarketState_NightEnd             QotMarketState = 14
	QotMarketState_QotMarketState_FutureDayOpen        QotMarketState = 15
	QotMarketState_QotMarketState_FutureDayBreak       QotMarketState = 16
	QotMarketState_QotMarketState_FutureDayClose       QotMarketState = 17
	QotMarketState_QotMarketState_FutureDayWaitForOpen QotMarketState = 18
	QotMarketState_QotMarketState_HkCas                QotMarketState = 19
)

func (QotMarketState) Enum

func (x QotMarketState) Enum() *QotMarketState

func (QotMarketState) EnumDescriptor

func (QotMarketState) EnumDescriptor() ([]byte, []int)

func (QotMarketState) String

func (x QotMarketState) String() string

func (*QotMarketState) UnmarshalJSON

func (x *QotMarketState) UnmarshalJSON(data []byte) error

type QotRight

type QotRight int32

行情权限

const (
	QotRight_QotRight_Unknow QotRight = 0
	QotRight_QotRight_Bmp    QotRight = 1
	QotRight_QotRight_Level1 QotRight = 2
	QotRight_QotRight_Level2 QotRight = 3
)

func (QotRight) Enum

func (x QotRight) Enum() *QotRight

func (QotRight) EnumDescriptor

func (QotRight) EnumDescriptor() ([]byte, []int)

func (QotRight) String

func (x QotRight) String() string

func (*QotRight) UnmarshalJSON

func (x *QotRight) UnmarshalJSON(data []byte) error

type Rehab

type Rehab struct {
	Time             *string  `protobuf:"bytes,1,req,name=time" json:"time,omitempty"`
	CompanyActFlag   *int64   `protobuf:"varint,2,req,name=companyActFlag" json:"companyActFlag,omitempty"`
	FwdFactorA       *float64 `protobuf:"fixed64,3,req,name=fwdFactorA" json:"fwdFactorA,omitempty"`
	FwdFactorB       *float64 `protobuf:"fixed64,4,req,name=fwdFactorB" json:"fwdFactorB,omitempty"`
	BwdFactorA       *float64 `protobuf:"fixed64,5,req,name=bwdFactorA" json:"bwdFactorA,omitempty"`
	BwdFactorB       *float64 `protobuf:"fixed64,6,req,name=bwdFactorB" json:"bwdFactorB,omitempty"`
	SplitBase        *int32   `protobuf:"varint,7,opt,name=splitBase" json:"splitBase,omitempty"`
	SplitErt         *int32   `protobuf:"varint,8,opt,name=splitErt" json:"splitErt,omitempty"`
	JoinBase         *int32   `protobuf:"varint,9,opt,name=joinBase" json:"joinBase,omitempty"`
	JoinErt          *int32   `protobuf:"varint,10,opt,name=joinErt" json:"joinErt,omitempty"`
	BonusBase        *int32   `protobuf:"varint,11,opt,name=bonusBase" json:"bonusBase,omitempty"`
	BonusErt         *int32   `protobuf:"varint,12,opt,name=bonusErt" json:"bonusErt,omitempty"`
	TransferBase     *int32   `protobuf:"varint,13,opt,name=transferBase" json:"transferBase,omitempty"`
	TransferErt      *int32   `protobuf:"varint,14,opt,name=transferErt" json:"transferErt,omitempty"`
	AllotBase        *int32   `protobuf:"varint,15,opt,name=allotBase" json:"allotBase,omitempty"`
	AllotErt         *int32   `protobuf:"varint,16,opt,name=allotErt" json:"allotErt,omitempty"`
	AllotPrice       *float64 `protobuf:"fixed64,17,opt,name=allotPrice" json:"allotPrice,omitempty"`
	AddBase          *int32   `protobuf:"varint,18,opt,name=addBase" json:"addBase,omitempty"`
	AddErt           *int32   `protobuf:"varint,19,opt,name=addErt" json:"addErt,omitempty"`
	AddPrice         *float64 `protobuf:"fixed64,20,opt,name=addPrice" json:"addPrice,omitempty"`
	Dividend         *float64 `protobuf:"fixed64,21,opt,name=dividend" json:"dividend,omitempty"`
	SpDividend       *float64 `protobuf:"fixed64,22,opt,name=spDividend" json:"spDividend,omitempty"`
	Timestamp        *float64 `protobuf:"fixed64,23,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Rehab) Descriptor

func (*Rehab) Descriptor() ([]byte, []int)

func (*Rehab) GetAddBase

func (m *Rehab) GetAddBase() int32

func (*Rehab) GetAddErt

func (m *Rehab) GetAddErt() int32

func (*Rehab) GetAddPrice

func (m *Rehab) GetAddPrice() float64

func (*Rehab) GetAllotBase

func (m *Rehab) GetAllotBase() int32

func (*Rehab) GetAllotErt

func (m *Rehab) GetAllotErt() int32

func (*Rehab) GetAllotPrice

func (m *Rehab) GetAllotPrice() float64

func (*Rehab) GetBonusBase

func (m *Rehab) GetBonusBase() int32

func (*Rehab) GetBonusErt

func (m *Rehab) GetBonusErt() int32

func (*Rehab) GetBwdFactorA

func (m *Rehab) GetBwdFactorA() float64

func (*Rehab) GetBwdFactorB

func (m *Rehab) GetBwdFactorB() float64

func (*Rehab) GetCompanyActFlag

func (m *Rehab) GetCompanyActFlag() int64

func (*Rehab) GetDividend

func (m *Rehab) GetDividend() float64

func (*Rehab) GetFwdFactorA

func (m *Rehab) GetFwdFactorA() float64

func (*Rehab) GetFwdFactorB

func (m *Rehab) GetFwdFactorB() float64

func (*Rehab) GetJoinBase

func (m *Rehab) GetJoinBase() int32

func (*Rehab) GetJoinErt

func (m *Rehab) GetJoinErt() int32

func (*Rehab) GetSpDividend

func (m *Rehab) GetSpDividend() float64

func (*Rehab) GetSplitBase

func (m *Rehab) GetSplitBase() int32

func (*Rehab) GetSplitErt

func (m *Rehab) GetSplitErt() int32

func (*Rehab) GetTime

func (m *Rehab) GetTime() string

func (*Rehab) GetTimestamp

func (m *Rehab) GetTimestamp() float64

func (*Rehab) GetTransferBase

func (m *Rehab) GetTransferBase() int32

func (*Rehab) GetTransferErt

func (m *Rehab) GetTransferErt() int32

func (*Rehab) ProtoMessage

func (*Rehab) ProtoMessage()

func (*Rehab) Reset

func (m *Rehab) Reset()

func (*Rehab) String

func (m *Rehab) String() string

type RehabType

type RehabType int32
const (
	RehabType_RehabType_None     RehabType = 0
	RehabType_RehabType_Forward  RehabType = 1
	RehabType_RehabType_Backward RehabType = 2
)

func (RehabType) Enum

func (x RehabType) Enum() *RehabType

func (RehabType) EnumDescriptor

func (RehabType) EnumDescriptor() ([]byte, []int)

func (RehabType) String

func (x RehabType) String() string

func (*RehabType) UnmarshalJSON

func (x *RehabType) UnmarshalJSON(data []byte) error

type Security

type Security struct {
	Market           *int32  `protobuf:"varint,1,req,name=market" json:"market,omitempty"`
	Code             *string `protobuf:"bytes,2,req,name=code" json:"code,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

两个字段确定一支股票

func (*Security) Descriptor

func (*Security) Descriptor() ([]byte, []int)

func (*Security) GetCode

func (m *Security) GetCode() string

func (*Security) GetMarket

func (m *Security) GetMarket() int32

func (*Security) ProtoMessage

func (*Security) ProtoMessage()

func (*Security) Reset

func (m *Security) Reset()

func (*Security) String

func (m *Security) String() string

type SecurityStaticBasic

type SecurityStaticBasic struct {
	Security         *Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"`
	Id               *int64    `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
	LotSize          *int32    `protobuf:"varint,3,req,name=lotSize" json:"lotSize,omitempty"`
	SecType          *int32    `protobuf:"varint,4,req,name=secType" json:"secType,omitempty"`
	Name             *string   `protobuf:"bytes,5,req,name=name" json:"name,omitempty"`
	ListTime         *string   `protobuf:"bytes,6,req,name=listTime" json:"listTime,omitempty"`
	Delisting        *bool     `protobuf:"varint,7,opt,name=delisting" json:"delisting,omitempty"`
	ListTimestamp    *float64  `protobuf:"fixed64,8,opt,name=listTimestamp" json:"listTimestamp,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*SecurityStaticBasic) Descriptor

func (*SecurityStaticBasic) Descriptor() ([]byte, []int)

func (*SecurityStaticBasic) GetDelisting

func (m *SecurityStaticBasic) GetDelisting() bool

func (*SecurityStaticBasic) GetId

func (m *SecurityStaticBasic) GetId() int64

func (*SecurityStaticBasic) GetListTime

func (m *SecurityStaticBasic) GetListTime() string

func (*SecurityStaticBasic) GetListTimestamp

func (m *SecurityStaticBasic) GetListTimestamp() float64

func (*SecurityStaticBasic) GetLotSize

func (m *SecurityStaticBasic) GetLotSize() int32

func (*SecurityStaticBasic) GetName

func (m *SecurityStaticBasic) GetName() string

func (*SecurityStaticBasic) GetSecType

func (m *SecurityStaticBasic) GetSecType() int32

func (*SecurityStaticBasic) GetSecurity

func (m *SecurityStaticBasic) GetSecurity() *Security

func (*SecurityStaticBasic) ProtoMessage

func (*SecurityStaticBasic) ProtoMessage()

func (*SecurityStaticBasic) Reset

func (m *SecurityStaticBasic) Reset()

func (*SecurityStaticBasic) String

func (m *SecurityStaticBasic) String() string

type SecurityStaticInfo

type SecurityStaticInfo struct {
	Basic            *SecurityStaticBasic `protobuf:"bytes,1,req,name=basic" json:"basic,omitempty"`
	WarrantExData    *WarrantStaticExData `protobuf:"bytes,2,opt,name=warrantExData" json:"warrantExData,omitempty"`
	OptionExData     *OptionStaticExData  `protobuf:"bytes,3,opt,name=optionExData" json:"optionExData,omitempty"`
	FutureExData     *FutureStaticExData  `protobuf:"bytes,4,opt,name=futureExData" json:"futureExData,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*SecurityStaticInfo) Descriptor

func (*SecurityStaticInfo) Descriptor() ([]byte, []int)

func (*SecurityStaticInfo) GetBasic

func (m *SecurityStaticInfo) GetBasic() *SecurityStaticBasic

func (*SecurityStaticInfo) GetFutureExData

func (m *SecurityStaticInfo) GetFutureExData() *FutureStaticExData

func (*SecurityStaticInfo) GetOptionExData

func (m *SecurityStaticInfo) GetOptionExData() *OptionStaticExData

func (*SecurityStaticInfo) GetWarrantExData

func (m *SecurityStaticInfo) GetWarrantExData() *WarrantStaticExData

func (*SecurityStaticInfo) ProtoMessage

func (*SecurityStaticInfo) ProtoMessage()

func (*SecurityStaticInfo) Reset

func (m *SecurityStaticInfo) Reset()

func (*SecurityStaticInfo) String

func (m *SecurityStaticInfo) String() string

type SecurityStatus

type SecurityStatus int32
const (
	SecurityStatus_SecurityStatus_Unknown                     SecurityStatus = 0
	SecurityStatus_SecurityStatus_Normal                      SecurityStatus = 1
	SecurityStatus_SecurityStatus_Listing                     SecurityStatus = 2
	SecurityStatus_SecurityStatus_Purchasing                  SecurityStatus = 3
	SecurityStatus_SecurityStatus_Subscribing                 SecurityStatus = 4
	SecurityStatus_SecurityStatus_BeforeDrakTradeOpening      SecurityStatus = 5
	SecurityStatus_SecurityStatus_DrakTrading                 SecurityStatus = 6
	SecurityStatus_SecurityStatus_DrakTradeEnd                SecurityStatus = 7
	SecurityStatus_SecurityStatus_ToBeOpen                    SecurityStatus = 8
	SecurityStatus_SecurityStatus_Suspended                   SecurityStatus = 9
	SecurityStatus_SecurityStatus_Called                      SecurityStatus = 10
	SecurityStatus_SecurityStatus_ExpiredLastTradingDate      SecurityStatus = 11
	SecurityStatus_SecurityStatus_Expired                     SecurityStatus = 12
	SecurityStatus_SecurityStatus_Delisted                    SecurityStatus = 13
	SecurityStatus_SecurityStatus_ChangeToTemporaryCode       SecurityStatus = 14
	SecurityStatus_SecurityStatus_TemporaryCodeTradeEnd       SecurityStatus = 15
	SecurityStatus_SecurityStatus_ChangedPlateTradeEnd        SecurityStatus = 16
	SecurityStatus_SecurityStatus_ChangedCodeTradeEnd         SecurityStatus = 17
	SecurityStatus_SecurityStatus_RecoverableCircuitBreaker   SecurityStatus = 18
	SecurityStatus_SecurityStatus_UnRecoverableCircuitBreaker SecurityStatus = 19
	SecurityStatus_SecurityStatus_AfterCombination            SecurityStatus = 20
	SecurityStatus_SecurityStatus_AfterTransation             SecurityStatus = 21
)

func (SecurityStatus) Enum

func (x SecurityStatus) Enum() *SecurityStatus

func (SecurityStatus) EnumDescriptor

func (SecurityStatus) EnumDescriptor() ([]byte, []int)

func (SecurityStatus) String

func (x SecurityStatus) String() string

func (*SecurityStatus) UnmarshalJSON

func (x *SecurityStatus) UnmarshalJSON(data []byte) error

type SecurityType

type SecurityType int32
const (
	SecurityType_SecurityType_Unknown  SecurityType = 0
	SecurityType_SecurityType_Bond     SecurityType = 1
	SecurityType_SecurityType_Bwrt     SecurityType = 2
	SecurityType_SecurityType_Eqty     SecurityType = 3
	SecurityType_SecurityType_Trust    SecurityType = 4
	SecurityType_SecurityType_Warrant  SecurityType = 5
	SecurityType_SecurityType_Index    SecurityType = 6
	SecurityType_SecurityType_Plate    SecurityType = 7
	SecurityType_SecurityType_Drvt     SecurityType = 8
	SecurityType_SecurityType_PlateSet SecurityType = 9
	SecurityType_SecurityType_Future   SecurityType = 10
)

func (SecurityType) Enum

func (x SecurityType) Enum() *SecurityType

func (SecurityType) EnumDescriptor

func (SecurityType) EnumDescriptor() ([]byte, []int)

func (SecurityType) String

func (x SecurityType) String() string

func (*SecurityType) UnmarshalJSON

func (x *SecurityType) UnmarshalJSON(data []byte) error

type ShareHoldingChange

type ShareHoldingChange struct {
	HolderName       *string  `protobuf:"bytes,1,req,name=holderName" json:"holderName,omitempty"`
	HoldingQty       *float64 `protobuf:"fixed64,2,req,name=holdingQty" json:"holdingQty,omitempty"`
	HoldingRatio     *float64 `protobuf:"fixed64,3,req,name=holdingRatio" json:"holdingRatio,omitempty"`
	ChangeQty        *float64 `protobuf:"fixed64,4,req,name=changeQty" json:"changeQty,omitempty"`
	ChangeRatio      *float64 `protobuf:"fixed64,5,req,name=changeRatio" json:"changeRatio,omitempty"`
	Time             *string  `protobuf:"bytes,6,req,name=time" json:"time,omitempty"`
	Timestamp        *float64 `protobuf:"fixed64,7,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

持股变动

func (*ShareHoldingChange) Descriptor

func (*ShareHoldingChange) Descriptor() ([]byte, []int)

func (*ShareHoldingChange) GetChangeQty

func (m *ShareHoldingChange) GetChangeQty() float64

func (*ShareHoldingChange) GetChangeRatio

func (m *ShareHoldingChange) GetChangeRatio() float64

func (*ShareHoldingChange) GetHolderName

func (m *ShareHoldingChange) GetHolderName() string

func (*ShareHoldingChange) GetHoldingQty

func (m *ShareHoldingChange) GetHoldingQty() float64

func (*ShareHoldingChange) GetHoldingRatio

func (m *ShareHoldingChange) GetHoldingRatio() float64

func (*ShareHoldingChange) GetTime

func (m *ShareHoldingChange) GetTime() string

func (*ShareHoldingChange) GetTimestamp

func (m *ShareHoldingChange) GetTimestamp() float64

func (*ShareHoldingChange) ProtoMessage

func (*ShareHoldingChange) ProtoMessage()

func (*ShareHoldingChange) Reset

func (m *ShareHoldingChange) Reset()

func (*ShareHoldingChange) String

func (m *ShareHoldingChange) String() string

type SortField

type SortField int32

窝轮排序

const (
	SortField_SortField_Unknow         SortField = 0
	SortField_SortField_Code           SortField = 1
	SortField_SortField_CurPrice       SortField = 2
	SortField_SortField_PriceChangeVal SortField = 3
	SortField_SortField_ChangeRate     SortField = 4
	SortField_SortField_Status         SortField = 5
	SortField_SortField_BidPrice       SortField = 6
	SortField_SortField_AskPrice       SortField = 7
	SortField_SortField_BidVol         SortField = 8
	SortField_SortField_AskVol         SortField = 9
	SortField_SortField_Volume         SortField = 10
	SortField_SortField_Turnover       SortField = 11
	SortField_SortField_Amplitude      SortField = 30
	// 以下排序字段只支持用于Qot_GetWarrant协议
	SortField_SortField_Score             SortField = 12
	SortField_SortField_Premium           SortField = 13
	SortField_SortField_EffectiveLeverage SortField = 14
	SortField_SortField_Delta             SortField = 15
	SortField_SortField_ImpliedVolatility SortField = 16
	SortField_SortField_Type              SortField = 17
	SortField_SortField_StrikePrice       SortField = 18
	SortField_SortField_BreakEvenPoint    SortField = 19
	SortField_SortField_MaturityTime      SortField = 20
	SortField_SortField_ListTime          SortField = 21
	SortField_SortField_LastTradeTime     SortField = 22
	SortField_SortField_Leverage          SortField = 23
	SortField_SortField_InOutMoney        SortField = 24
	SortField_SortField_RecoveryPrice     SortField = 25
	SortField_SortField_ChangePrice       SortField = 26
	SortField_SortField_Change            SortField = 27
	SortField_SortField_StreetRate        SortField = 28
	SortField_SortField_StreetVol         SortField = 29
	SortField_SortField_WarrantName       SortField = 31
	SortField_SortField_Issuer            SortField = 32
	SortField_SortField_LotSize           SortField = 33
	SortField_SortField_IssueSize         SortField = 34
	SortField_SortField_UpperStrikePrice  SortField = 45
	SortField_SortField_LowerStrikePrice  SortField = 46
	SortField_SortField_InLinePriceStatus SortField = 47
	// 以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持美股
	SortField_SortField_PreCurPrice         SortField = 35
	SortField_SortField_AfterCurPrice       SortField = 36
	SortField_SortField_PrePriceChangeVal   SortField = 37
	SortField_SortField_AfterPriceChangeVal SortField = 38
	SortField_SortField_PreChangeRate       SortField = 39
	SortField_SortField_AfterChangeRate     SortField = 40
	SortField_SortField_PreAmplitude        SortField = 41
	SortField_SortField_AfterAmplitude      SortField = 42
	SortField_SortField_PreTurnover         SortField = 43
	SortField_SortField_AfterTurnover       SortField = 44
	// 以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持期货
	SortField_SortField_LastSettlePrice SortField = 48
	SortField_SortField_Position        SortField = 49
	SortField_SortField_PositionChange  SortField = 50
)

func (SortField) Enum

func (x SortField) Enum() *SortField

func (SortField) EnumDescriptor

func (SortField) EnumDescriptor() ([]byte, []int)

func (SortField) String

func (x SortField) String() string

func (*SortField) UnmarshalJSON

func (x *SortField) UnmarshalJSON(data []byte) error

type SubInfo

type SubInfo struct {
	SubType          *int32      `protobuf:"varint,1,req,name=subType" json:"subType,omitempty"`
	SecurityList     []*Security `protobuf:"bytes,2,rep,name=securityList" json:"securityList,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*SubInfo) Descriptor

func (*SubInfo) Descriptor() ([]byte, []int)

func (*SubInfo) GetSecurityList

func (m *SubInfo) GetSecurityList() []*Security

func (*SubInfo) GetSubType

func (m *SubInfo) GetSubType() int32

func (*SubInfo) ProtoMessage

func (*SubInfo) ProtoMessage()

func (*SubInfo) Reset

func (m *SubInfo) Reset()

func (*SubInfo) String

func (m *SubInfo) String() string

type SubType

type SubType int32

订阅类型 枚举值兼容旧协议定义

const (
	SubType_SubType_None        SubType = 0
	SubType_SubType_Basic       SubType = 1
	SubType_SubType_OrderBook   SubType = 2
	SubType_SubType_Ticker      SubType = 4
	SubType_SubType_RT          SubType = 5
	SubType_SubType_KL_Day      SubType = 6
	SubType_SubType_KL_5Min     SubType = 7
	SubType_SubType_KL_15Min    SubType = 8
	SubType_SubType_KL_30Min    SubType = 9
	SubType_SubType_KL_60Min    SubType = 10
	SubType_SubType_KL_1Min     SubType = 11
	SubType_SubType_KL_Week     SubType = 12
	SubType_SubType_KL_Month    SubType = 13
	SubType_SubType_Broker      SubType = 14
	SubType_SubType_KL_Qurater  SubType = 15
	SubType_SubType_KL_Year     SubType = 16
	SubType_SubType_KL_3Min     SubType = 17
	SubType_SubType_OrderDetail SubType = 18
)

func (SubType) Enum

func (x SubType) Enum() *SubType

func (SubType) EnumDescriptor

func (SubType) EnumDescriptor() ([]byte, []int)

func (SubType) String

func (x SubType) String() string

func (*SubType) UnmarshalJSON

func (x *SubType) UnmarshalJSON(data []byte) error

type Ticker

type Ticker struct {
	Time             *string  `protobuf:"bytes,1,req,name=time" json:"time,omitempty"`
	Sequence         *int64   `protobuf:"varint,2,req,name=sequence" json:"sequence,omitempty"`
	Dir              *int32   `protobuf:"varint,3,req,name=dir" json:"dir,omitempty"`
	Price            *float64 `protobuf:"fixed64,4,req,name=price" json:"price,omitempty"`
	Volume           *int64   `protobuf:"varint,5,req,name=volume" json:"volume,omitempty"`
	Turnover         *float64 `protobuf:"fixed64,6,req,name=turnover" json:"turnover,omitempty"`
	RecvTime         *float64 `protobuf:"fixed64,7,opt,name=recvTime" json:"recvTime,omitempty"`
	Type             *int32   `protobuf:"varint,8,opt,name=type" json:"type,omitempty"`
	TypeSign         *int32   `protobuf:"varint,9,opt,name=typeSign" json:"typeSign,omitempty"`
	PushDataType     *int32   `protobuf:"varint,10,opt,name=pushDataType" json:"pushDataType,omitempty"`
	Timestamp        *float64 `protobuf:"fixed64,11,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Ticker) Descriptor

func (*Ticker) Descriptor() ([]byte, []int)

func (*Ticker) GetDir

func (m *Ticker) GetDir() int32

func (*Ticker) GetPrice

func (m *Ticker) GetPrice() float64

func (*Ticker) GetPushDataType

func (m *Ticker) GetPushDataType() int32

func (*Ticker) GetRecvTime

func (m *Ticker) GetRecvTime() float64

func (*Ticker) GetSequence

func (m *Ticker) GetSequence() int64

func (*Ticker) GetTime

func (m *Ticker) GetTime() string

func (*Ticker) GetTimestamp

func (m *Ticker) GetTimestamp() float64

func (*Ticker) GetTurnover

func (m *Ticker) GetTurnover() float64

func (*Ticker) GetType

func (m *Ticker) GetType() int32

func (*Ticker) GetTypeSign

func (m *Ticker) GetTypeSign() int32

func (*Ticker) GetVolume

func (m *Ticker) GetVolume() int64

func (*Ticker) ProtoMessage

func (*Ticker) ProtoMessage()

func (*Ticker) Reset

func (m *Ticker) Reset()

func (*Ticker) String

func (m *Ticker) String() string

type TickerDirection

type TickerDirection int32
const (
	TickerDirection_TickerDirection_Unknown TickerDirection = 0
	TickerDirection_TickerDirection_Bid     TickerDirection = 1
	TickerDirection_TickerDirection_Ask     TickerDirection = 2
	TickerDirection_TickerDirection_Neutral TickerDirection = 3
)

func (TickerDirection) Enum

func (x TickerDirection) Enum() *TickerDirection

func (TickerDirection) EnumDescriptor

func (TickerDirection) EnumDescriptor() ([]byte, []int)

func (TickerDirection) String

func (x TickerDirection) String() string

func (*TickerDirection) UnmarshalJSON

func (x *TickerDirection) UnmarshalJSON(data []byte) error

type TickerType

type TickerType int32
const (
	TickerType_TickerType_Unknown                 TickerType = 0
	TickerType_TickerType_Automatch               TickerType = 1
	TickerType_TickerType_Late                    TickerType = 2
	TickerType_TickerType_NoneAutomatch           TickerType = 3
	TickerType_TickerType_InterAutomatch          TickerType = 4
	TickerType_TickerType_InterNoneAutomatch      TickerType = 5
	TickerType_TickerType_OddLot                  TickerType = 6
	TickerType_TickerType_Auction                 TickerType = 7
	TickerType_TickerType_Bulk                    TickerType = 8
	TickerType_TickerType_Crash                   TickerType = 9
	TickerType_TickerType_CrossMarket             TickerType = 10
	TickerType_TickerType_BulkSold                TickerType = 11
	TickerType_TickerType_FreeOnBoard             TickerType = 12
	TickerType_TickerType_Rule127Or155            TickerType = 13
	TickerType_TickerType_Delay                   TickerType = 14
	TickerType_TickerType_MarketCenterClosePrice  TickerType = 15
	TickerType_TickerType_NextDay                 TickerType = 16
	TickerType_TickerType_MarketCenterOpening     TickerType = 17
	TickerType_TickerType_PriorReferencePrice     TickerType = 18
	TickerType_TickerType_MarketCenterOpenPrice   TickerType = 19
	TickerType_TickerType_Seller                  TickerType = 20
	TickerType_TickerType_T                       TickerType = 21
	TickerType_TickerType_ExtendedTradingHours    TickerType = 22
	TickerType_TickerType_Contingent              TickerType = 23
	TickerType_TickerType_AvgPrice                TickerType = 24
	TickerType_TickerType_OTCSold                 TickerType = 25
	TickerType_TickerType_OddLotCrossMarket       TickerType = 26
	TickerType_TickerType_DerivativelyPriced      TickerType = 27
	TickerType_TickerType_ReOpeningPriced         TickerType = 28
	TickerType_TickerType_ClosingPriced           TickerType = 29
	TickerType_TickerType_ComprehensiveDelayPrice TickerType = 30
)

func (TickerType) Enum

func (x TickerType) Enum() *TickerType

func (TickerType) EnumDescriptor

func (TickerType) EnumDescriptor() ([]byte, []int)

func (TickerType) String

func (x TickerType) String() string

func (*TickerType) UnmarshalJSON

func (x *TickerType) UnmarshalJSON(data []byte) error

type TimeShare

type TimeShare struct {
	Time             *string  `protobuf:"bytes,1,req,name=time" json:"time,omitempty"`
	Minute           *int32   `protobuf:"varint,2,req,name=minute" json:"minute,omitempty"`
	IsBlank          *bool    `protobuf:"varint,3,req,name=isBlank" json:"isBlank,omitempty"`
	Price            *float64 `protobuf:"fixed64,4,opt,name=price" json:"price,omitempty"`
	LastClosePrice   *float64 `protobuf:"fixed64,5,opt,name=lastClosePrice" json:"lastClosePrice,omitempty"`
	AvgPrice         *float64 `protobuf:"fixed64,6,opt,name=avgPrice" json:"avgPrice,omitempty"`
	Volume           *int64   `protobuf:"varint,7,opt,name=volume" json:"volume,omitempty"`
	Turnover         *float64 `protobuf:"fixed64,8,opt,name=turnover" json:"turnover,omitempty"`
	Timestamp        *float64 `protobuf:"fixed64,9,opt,name=timestamp" json:"timestamp,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*TimeShare) Descriptor

func (*TimeShare) Descriptor() ([]byte, []int)

func (*TimeShare) GetAvgPrice

func (m *TimeShare) GetAvgPrice() float64

func (*TimeShare) GetIsBlank

func (m *TimeShare) GetIsBlank() bool

func (*TimeShare) GetLastClosePrice

func (m *TimeShare) GetLastClosePrice() float64

func (*TimeShare) GetMinute

func (m *TimeShare) GetMinute() int32

func (*TimeShare) GetPrice

func (m *TimeShare) GetPrice() float64

func (*TimeShare) GetTime

func (m *TimeShare) GetTime() string

func (*TimeShare) GetTimestamp

func (m *TimeShare) GetTimestamp() float64

func (*TimeShare) GetTurnover

func (m *TimeShare) GetTurnover() float64

func (*TimeShare) GetVolume

func (m *TimeShare) GetVolume() int64

func (*TimeShare) ProtoMessage

func (*TimeShare) ProtoMessage()

func (*TimeShare) Reset

func (m *TimeShare) Reset()

func (*TimeShare) String

func (m *TimeShare) String() string

type TradeDateType

type TradeDateType int32

交易时间类型

const (
	TradeDateType_TradeDateType_Whole     TradeDateType = 0
	TradeDateType_TradeDateType_Morning   TradeDateType = 1
	TradeDateType_TradeDateType_Afternoon TradeDateType = 2
)

func (TradeDateType) Enum

func (x TradeDateType) Enum() *TradeDateType

func (TradeDateType) EnumDescriptor

func (TradeDateType) EnumDescriptor() ([]byte, []int)

func (TradeDateType) String

func (x TradeDateType) String() string

func (*TradeDateType) UnmarshalJSON

func (x *TradeDateType) UnmarshalJSON(data []byte) error

type WarrantStaticExData

type WarrantStaticExData struct {
	Type             *int32    `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
	Owner            *Security `protobuf:"bytes,2,req,name=owner" json:"owner,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*WarrantStaticExData) Descriptor

func (*WarrantStaticExData) Descriptor() ([]byte, []int)

func (*WarrantStaticExData) GetOwner

func (m *WarrantStaticExData) GetOwner() *Security

func (*WarrantStaticExData) GetType

func (m *WarrantStaticExData) GetType() int32

func (*WarrantStaticExData) ProtoMessage

func (*WarrantStaticExData) ProtoMessage()

func (*WarrantStaticExData) Reset

func (m *WarrantStaticExData) Reset()

func (*WarrantStaticExData) String

func (m *WarrantStaticExData) String() string

type WarrantStatus

type WarrantStatus int32

窝轮状态

const (
	WarrantStatus_WarrantStatus_Unknow         WarrantStatus = 0
	WarrantStatus_WarrantStatus_Normal         WarrantStatus = 1
	WarrantStatus_WarrantStatus_Suspend        WarrantStatus = 2
	WarrantStatus_WarrantStatus_StopTrade      WarrantStatus = 3
	WarrantStatus_WarrantStatus_PendingListing WarrantStatus = 4
)

func (WarrantStatus) Enum

func (x WarrantStatus) Enum() *WarrantStatus

func (WarrantStatus) EnumDescriptor

func (WarrantStatus) EnumDescriptor() ([]byte, []int)

func (WarrantStatus) String

func (x WarrantStatus) String() string

func (*WarrantStatus) UnmarshalJSON

func (x *WarrantStatus) UnmarshalJSON(data []byte) error

type WarrantType

type WarrantType int32
const (
	WarrantType_WarrantType_Unknown WarrantType = 0
	WarrantType_WarrantType_Buy     WarrantType = 1
	WarrantType_WarrantType_Sell    WarrantType = 2
	WarrantType_WarrantType_Bull    WarrantType = 3
	WarrantType_WarrantType_Bear    WarrantType = 4
	WarrantType_WarrantType_InLine  WarrantType = 5
)

func (WarrantType) Enum

func (x WarrantType) Enum() *WarrantType

func (WarrantType) EnumDescriptor

func (WarrantType) EnumDescriptor() ([]byte, []int)

func (WarrantType) String

func (x WarrantType) String() string

func (*WarrantType) UnmarshalJSON

func (x *WarrantType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL