qotcommon

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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",
		31: "QotMarket_SG_Security",
		41: "QotMarket_JP_Security",
	}
	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,
		"QotMarket_SG_Security":   31,
		"QotMarket_JP_Security":   41,
	}
)

Enum value maps for QotMarket.

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",
	}
	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,
	}
)

Enum value maps for SecurityType.

View Source
var (
	PlateSetType_name = map[int32]string{
		0: "PlateSetType_All",
		1: "PlateSetType_Industry",
		2: "PlateSetType_Region",
		3: "PlateSetType_Concept",
		4: "PlateSetType_Other",
	}
	PlateSetType_value = map[string]int32{
		"PlateSetType_All":      0,
		"PlateSetType_Industry": 1,
		"PlateSetType_Region":   2,
		"PlateSetType_Concept":  3,
		"PlateSetType_Other":    4,
	}
)

Enum value maps for PlateSetType.

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",
	}
	WarrantType_value = map[string]int32{
		"WarrantType_Unknown": 0,
		"WarrantType_Buy":     1,
		"WarrantType_Sell":    2,
		"WarrantType_Bull":    3,
		"WarrantType_Bear":    4,
		"WarrantType_InLine":  5,
	}
)

Enum value maps for WarrantType.

View Source
var (
	OptionType_name = map[int32]string{
		0: "OptionType_Unknown",
		1: "OptionType_Call",
		2: "OptionType_Put",
	}
	OptionType_value = map[string]int32{
		"OptionType_Unknown": 0,
		"OptionType_Call":    1,
		"OptionType_Put":     2,
	}
)

Enum value maps for OptionType.

View Source
var (
	IndexOptionType_name = map[int32]string{
		0: "IndexOptionType_Unknown",
		1: "IndexOptionType_Normal",
		2: "IndexOptionType_Small",
	}
	IndexOptionType_value = map[string]int32{
		"IndexOptionType_Unknown": 0,
		"IndexOptionType_Normal":  1,
		"IndexOptionType_Small":   2,
	}
)

Enum value maps for IndexOptionType.

View Source
var (
	OptionAreaType_name = map[int32]string{
		0: "OptionAreaType_Unknown",
		1: "OptionAreaType_American",
		2: "OptionAreaType_European",
		3: "OptionAreaType_Bermuda",
	}
	OptionAreaType_value = map[string]int32{
		"OptionAreaType_Unknown":  0,
		"OptionAreaType_American": 1,
		"OptionAreaType_European": 2,
		"OptionAreaType_Bermuda":  3,
	}
)

Enum value maps for OptionAreaType.

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",
		20: "QotMarketState_FutureNightWait",
		21: "QotMarketState_FutureAfternoon",
		22: "QotMarketState_FutureSwitchDate",
		23: "QotMarketState_FutureOpen",
		24: "QotMarketState_FutureBreak",
		25: "QotMarketState_FutureBreakOver",
		26: "QotMarketState_FutureClose",
		27: "QotMarketState_StibAfterHoursWait",
		28: "QotMarketState_StibAfterHoursBegin",
		29: "QotMarketState_StibAfterHoursEnd",
	}
	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,
		"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,
	}
)

Enum value maps for QotMarketState.

View Source
var (
	TradeDateMarket_name = map[int32]string{
		0: "TradeDateMarket_Unknown",
		1: "TradeDateMarket_HK",
		2: "TradeDateMarket_US",
		3: "TradeDateMarket_CN",
		4: "TradeDateMarket_NT",
		5: "TradeDateMarket_ST",
	}
	TradeDateMarket_value = map[string]int32{
		"TradeDateMarket_Unknown": 0,
		"TradeDateMarket_HK":      1,
		"TradeDateMarket_US":      2,
		"TradeDateMarket_CN":      3,
		"TradeDateMarket_NT":      4,
		"TradeDateMarket_ST":      5,
	}
)

Enum value maps for TradeDateMarket.

View Source
var (
	TradeDateType_name = map[int32]string{
		0: "TradeDateType_Whole",
		1: "TradeDateType_Morning",
		2: "TradeDateType_Afternoon",
	}
	TradeDateType_value = map[string]int32{
		"TradeDateType_Whole":     0,
		"TradeDateType_Morning":   1,
		"TradeDateType_Afternoon": 2,
	}
)

Enum value maps for TradeDateType.

View Source
var (
	RehabType_name = map[int32]string{
		0: "RehabType_None",
		1: "RehabType_Forward",
		2: "RehabType_Backward",
	}
	RehabType_value = map[string]int32{
		"RehabType_None":     0,
		"RehabType_Forward":  1,
		"RehabType_Backward": 2,
	}
)

Enum value maps for RehabType.

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",
	}
	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,
	}
)

Enum value maps for KLType.

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",
	}
	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,
	}
)

Enum value maps for KLFields.

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",
	}
	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,
	}
)

Enum value maps for SubType.

View Source
var (
	TickerDirection_name = map[int32]string{
		0: "TickerDirection_Unknown",
		1: "TickerDirection_Bid",
		2: "TickerDirection_Ask",
		3: "TickerDirection_Neutral",
	}
	TickerDirection_value = map[string]int32{
		"TickerDirection_Unknown": 0,
		"TickerDirection_Bid":     1,
		"TickerDirection_Ask":     2,
		"TickerDirection_Neutral": 3,
	}
)

Enum value maps for TickerDirection.

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",
		31: "TickerType_Overseas",
	}
	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,
		"TickerType_Overseas":                31,
	}
)

Enum value maps for TickerType.

View Source
var (
	DarkStatus_name = map[int32]string{
		0: "DarkStatus_None",
		1: "DarkStatus_Trading",
		2: "DarkStatus_End",
	}
	DarkStatus_value = map[string]int32{
		"DarkStatus_None":    0,
		"DarkStatus_Trading": 1,
		"DarkStatus_End":     2,
	}
)

Enum value maps for DarkStatus.

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",
	}
	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,
	}
)

Enum value maps for SecurityStatus.

View Source
var (
	HolderCategory_name = map[int32]string{
		0: "HolderCategory_Unknow",
		1: "HolderCategory_Agency",
		2: "HolderCategory_Fund",
		3: "HolderCategory_SeniorManager",
	}
	HolderCategory_value = map[string]int32{
		"HolderCategory_Unknow":        0,
		"HolderCategory_Agency":        1,
		"HolderCategory_Fund":          2,
		"HolderCategory_SeniorManager": 3,
	}
)

Enum value maps for HolderCategory.

View Source
var (
	PushDataType_name = map[int32]string{
		0: "PushDataType_Unknow",
		1: "PushDataType_Realtime",
		2: "PushDataType_ByDisConn",
		3: "PushDataType_Cache",
	}
	PushDataType_value = map[string]int32{
		"PushDataType_Unknow":    0,
		"PushDataType_Realtime":  1,
		"PushDataType_ByDisConn": 2,
		"PushDataType_Cache":     3,
	}
)

Enum value maps for PushDataType.

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",
	}
	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,
	}
)

Enum value maps for SortField.

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",
		24: "Issuer_GJ",
	}
	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,
		"Issuer_GJ":     24,
	}
)

Enum value maps for Issuer.

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",
	}
	IpoPeriod_value = map[string]int32{
		"IpoPeriod_Unknow":    0,
		"IpoPeriod_Today":     1,
		"IpoPeriod_Tomorrow":  2,
		"IpoPeriod_Nextweek":  3,
		"IpoPeriod_Lastweek":  4,
		"IpoPeriod_Lastmonth": 5,
	}
)

Enum value maps for IpoPeriod.

View Source
var (
	PriceType_name = map[int32]string{
		0: "PriceType_Unknow",
		1: "PriceType_Outside",
		2: "PriceType_WithIn",
	}
	PriceType_value = map[string]int32{
		"PriceType_Unknow":  0,
		"PriceType_Outside": 1,
		"PriceType_WithIn":  2,
	}
)

Enum value maps for PriceType.

View Source
var (
	WarrantStatus_name = map[int32]string{
		0: "WarrantStatus_Unknow",
		1: "WarrantStatus_Normal",
		2: "WarrantStatus_Suspend",
		3: "WarrantStatus_StopTrade",
		4: "WarrantStatus_PendingListing",
	}
	WarrantStatus_value = map[string]int32{
		"WarrantStatus_Unknow":         0,
		"WarrantStatus_Normal":         1,
		"WarrantStatus_Suspend":        2,
		"WarrantStatus_StopTrade":      3,
		"WarrantStatus_PendingListing": 4,
	}
)

Enum value maps for WarrantStatus.

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",
	}
	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,
	}
)

Enum value maps for CompanyAct.

View Source
var (
	QotRight_name = map[int32]string{
		0: "QotRight_Unknow",
		1: "QotRight_Bmp",
		2: "QotRight_Level1",
		3: "QotRight_Level2",
		4: "QotRight_SF",
		5: "QotRight_No",
	}
	QotRight_value = map[string]int32{
		"QotRight_Unknow": 0,
		"QotRight_Bmp":    1,
		"QotRight_Level1": 2,
		"QotRight_Level2": 3,
		"QotRight_SF":     4,
		"QotRight_No":     5,
	}
)

Enum value maps for QotRight.

View Source
var (
	PriceReminderType_name = map[int32]string{
		0:  "PriceReminderType_Unknown",
		1:  "PriceReminderType_PriceUp",
		2:  "PriceReminderType_PriceDown",
		3:  "PriceReminderType_ChangeRateUp",
		4:  "PriceReminderType_ChangeRateDown",
		5:  "PriceReminderType_5MinChangeRateUp",
		6:  "PriceReminderType_5MinChangeRateDown",
		7:  "PriceReminderType_VolumeUp",
		8:  "PriceReminderType_TurnoverUp",
		9:  "PriceReminderType_TurnoverRateUp",
		10: "PriceReminderType_BidPriceUp",
		11: "PriceReminderType_AskPriceDown",
		12: "PriceReminderType_BidVolUp",
		13: "PriceReminderType_AskVolUp",
		14: "PriceReminderType_3MinChangeRateUp",
		15: "PriceReminderType_3MinChangeRateDown",
	}
	PriceReminderType_value = map[string]int32{
		"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,
	}
)

Enum value maps for PriceReminderType.

View Source
var (
	PriceReminderFreq_name = map[int32]string{
		0: "PriceReminderFreq_Unknown",
		1: "PriceReminderFreq_Always",
		2: "PriceReminderFreq_OnceADay",
		3: "PriceReminderFreq_OnlyOnce",
	}
	PriceReminderFreq_value = map[string]int32{
		"PriceReminderFreq_Unknown":  0,
		"PriceReminderFreq_Always":   1,
		"PriceReminderFreq_OnceADay": 2,
		"PriceReminderFreq_OnlyOnce": 3,
	}
)

Enum value maps for PriceReminderFreq.

View Source
var (
	AssetClass_name = map[int32]string{
		0: "AssetClass_Unknow",
		1: "AssetClass_Stock",
		2: "AssetClass_Bond",
		3: "AssetClass_Commodity",
		4: "AssetClass_CurrencyMarket",
		5: "AssetClass_Future",
		6: "AssetClass_Swap",
	}
	AssetClass_value = map[string]int32{
		"AssetClass_Unknow":         0,
		"AssetClass_Stock":          1,
		"AssetClass_Bond":           2,
		"AssetClass_Commodity":      3,
		"AssetClass_CurrencyMarket": 4,
		"AssetClass_Future":         5,
		"AssetClass_Swap":           6,
	}
)

Enum value maps for AssetClass.

View Source
var File_Qot_Common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AssetClass

type AssetClass int32

资产类别

const (
	AssetClass_AssetClass_Unknow         AssetClass = 0 //未知
	AssetClass_AssetClass_Stock          AssetClass = 1 //股票
	AssetClass_AssetClass_Bond           AssetClass = 2 //债券
	AssetClass_AssetClass_Commodity      AssetClass = 3 //商品
	AssetClass_AssetClass_CurrencyMarket AssetClass = 4 //货币市场
	AssetClass_AssetClass_Future         AssetClass = 5 //期货
	AssetClass_AssetClass_Swap           AssetClass = 6 //掉期
)

func (AssetClass) Descriptor

func (AssetClass) Descriptor() protoreflect.EnumDescriptor

func (AssetClass) Enum

func (x AssetClass) Enum() *AssetClass

func (AssetClass) EnumDescriptor deprecated

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

Deprecated: Use AssetClass.Descriptor instead.

func (AssetClass) Number

func (x AssetClass) Number() protoreflect.EnumNumber

func (AssetClass) String

func (x AssetClass) String() string

func (AssetClass) Type

func (*AssetClass) UnmarshalJSON deprecated

func (x *AssetClass) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

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"`       //换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
	Amplitude       *float64               `protobuf:"fixed64,14,req,name=amplitude" json:"amplitude,omitempty"`             //振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
	DarkStatus      *int32                 `protobuf:"varint,15,opt,name=darkStatus" json:"darkStatus,omitempty"`            //DarkStatus, 暗盘交易状态
	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"`              //SecurityStatus, 股票状态
	FutureExData    *FutureBasicQotExData  `protobuf:"bytes,22,opt,name=futureExData" json:"futureExData,omitempty"`         //期货特有字段
	WarrantExData   *WarrantBasicQotExData `protobuf:"bytes,23,opt,name=warrantExData" json:"warrantExData,omitempty"`       //窝轮特有字段
	// contains filtered or unexported fields
}

func (*BasicQot) Descriptor deprecated

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

Deprecated: Use BasicQot.ProtoReflect.Descriptor instead.

func (*BasicQot) GetAfterMarket

func (x *BasicQot) GetAfterMarket() *PreAfterMarketData

func (*BasicQot) GetAmplitude

func (x *BasicQot) GetAmplitude() float64

func (*BasicQot) GetCurPrice

func (x *BasicQot) GetCurPrice() float64

func (*BasicQot) GetDarkStatus

func (x *BasicQot) GetDarkStatus() int32

func (*BasicQot) GetFutureExData

func (x *BasicQot) GetFutureExData() *FutureBasicQotExData

func (*BasicQot) GetHighPrice

func (x *BasicQot) GetHighPrice() float64

func (*BasicQot) GetIsSuspended

func (x *BasicQot) GetIsSuspended() bool

func (*BasicQot) GetLastClosePrice

func (x *BasicQot) GetLastClosePrice() float64

func (*BasicQot) GetListTime

func (x *BasicQot) GetListTime() string

func (*BasicQot) GetListTimestamp

func (x *BasicQot) GetListTimestamp() float64

func (*BasicQot) GetLowPrice

func (x *BasicQot) GetLowPrice() float64

func (*BasicQot) GetOpenPrice

func (x *BasicQot) GetOpenPrice() float64

func (*BasicQot) GetOptionExData

func (x *BasicQot) GetOptionExData() *OptionBasicQotExData

func (*BasicQot) GetPreMarket

func (x *BasicQot) GetPreMarket() *PreAfterMarketData

func (*BasicQot) GetPriceSpread

func (x *BasicQot) GetPriceSpread() float64

func (*BasicQot) GetSecStatus

func (x *BasicQot) GetSecStatus() int32

func (*BasicQot) GetSecurity

func (x *BasicQot) GetSecurity() *Security

func (*BasicQot) GetTurnover

func (x *BasicQot) GetTurnover() float64

func (*BasicQot) GetTurnoverRate

func (x *BasicQot) GetTurnoverRate() float64

func (*BasicQot) GetUpdateTime

func (x *BasicQot) GetUpdateTime() string

func (*BasicQot) GetUpdateTimestamp

func (x *BasicQot) GetUpdateTimestamp() float64

func (*BasicQot) GetVolume

func (x *BasicQot) GetVolume() int64

func (*BasicQot) GetWarrantExData

func (x *BasicQot) GetWarrantExData() *WarrantBasicQotExData

func (*BasicQot) ProtoMessage

func (*BasicQot) ProtoMessage()

func (*BasicQot) ProtoReflect

func (x *BasicQot) ProtoReflect() protoreflect.Message

func (*BasicQot) Reset

func (x *BasicQot) Reset()

func (*BasicQot) String

func (x *BasicQot) String() string

type Broker

type Broker struct {
	Id   *int64  `protobuf:"varint,1,req,name=id" json:"id,omitempty"`    //经纪ID
	Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` //经纪名称
	Pos  *int32  `protobuf:"varint,3,req,name=pos" json:"pos,omitempty"`  //经纪档位
	//以下为SF行情特有字段
	OrderID *int64 `protobuf:"varint,4,opt,name=orderID" json:"orderID,omitempty"` //交易所订单ID,与交易接口返回的订单ID并不一样
	Volume  *int64 `protobuf:"varint,5,opt,name=volume" json:"volume,omitempty"`   //订单股数
	// contains filtered or unexported fields
}

func (*Broker) Descriptor deprecated

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

Deprecated: Use Broker.ProtoReflect.Descriptor instead.

func (*Broker) GetId

func (x *Broker) GetId() int64

func (*Broker) GetName

func (x *Broker) GetName() string

func (*Broker) GetOrderID

func (x *Broker) GetOrderID() int64

func (*Broker) GetPos

func (x *Broker) GetPos() int32

func (*Broker) GetVolume

func (x *Broker) GetVolume() int64

func (*Broker) ProtoMessage

func (*Broker) ProtoMessage()

func (*Broker) ProtoReflect

func (x *Broker) ProtoReflect() protoreflect.Message

func (*Broker) Reset

func (x *Broker) Reset()

func (*Broker) String

func (x *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) Descriptor

func (CompanyAct) Descriptor() protoreflect.EnumDescriptor

func (CompanyAct) Enum

func (x CompanyAct) Enum() *CompanyAct

func (CompanyAct) EnumDescriptor deprecated

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

Deprecated: Use CompanyAct.Descriptor instead.

func (CompanyAct) Number

func (x CompanyAct) Number() protoreflect.EnumNumber

func (CompanyAct) String

func (x CompanyAct) String() string

func (CompanyAct) Type

func (*CompanyAct) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` //用于区分是否是自己连接的数据
	// contains filtered or unexported fields
}

func (*ConnSubInfo) Descriptor deprecated

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

Deprecated: Use ConnSubInfo.ProtoReflect.Descriptor instead.

func (*ConnSubInfo) GetIsOwnConnData

func (x *ConnSubInfo) GetIsOwnConnData() bool

func (*ConnSubInfo) GetSubInfoList

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

func (*ConnSubInfo) GetUsedQuota

func (x *ConnSubInfo) GetUsedQuota() int32

func (*ConnSubInfo) ProtoMessage

func (*ConnSubInfo) ProtoMessage()

func (*ConnSubInfo) ProtoReflect

func (x *ConnSubInfo) ProtoReflect() protoreflect.Message

func (*ConnSubInfo) Reset

func (x *ConnSubInfo) Reset()

func (*ConnSubInfo) String

func (x *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) Descriptor

func (DarkStatus) Descriptor() protoreflect.EnumDescriptor

func (DarkStatus) Enum

func (x DarkStatus) Enum() *DarkStatus

func (DarkStatus) EnumDescriptor deprecated

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

Deprecated: Use DarkStatus.Descriptor instead.

func (DarkStatus) Number

func (x DarkStatus) Number() protoreflect.EnumNumber

func (DarkStatus) String

func (x DarkStatus) String() string

func (DarkStatus) Type

func (*DarkStatus) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` //距离到期日天数
	// contains filtered or unexported fields
}

func (*FutureBasicQotExData) Descriptor deprecated

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

Deprecated: Use FutureBasicQotExData.ProtoReflect.Descriptor instead.

func (*FutureBasicQotExData) GetExpiryDateDistance

func (x *FutureBasicQotExData) GetExpiryDateDistance() int32

func (*FutureBasicQotExData) GetLastSettlePrice

func (x *FutureBasicQotExData) GetLastSettlePrice() float64

func (*FutureBasicQotExData) GetPosition

func (x *FutureBasicQotExData) GetPosition() int32

func (*FutureBasicQotExData) GetPositionChange

func (x *FutureBasicQotExData) GetPositionChange() int32

func (*FutureBasicQotExData) ProtoMessage

func (*FutureBasicQotExData) ProtoMessage()

func (*FutureBasicQotExData) ProtoReflect

func (x *FutureBasicQotExData) ProtoReflect() protoreflect.Message

func (*FutureBasicQotExData) Reset

func (x *FutureBasicQotExData) Reset()

func (*FutureBasicQotExData) String

func (x *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"`          //是否主连合约
	// contains filtered or unexported fields
}

func (*FutureStaticExData) Descriptor deprecated

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

Deprecated: Use FutureStaticExData.ProtoReflect.Descriptor instead.

func (*FutureStaticExData) GetIsMainContract

func (x *FutureStaticExData) GetIsMainContract() bool

func (*FutureStaticExData) GetLastTradeTime

func (x *FutureStaticExData) GetLastTradeTime() string

func (*FutureStaticExData) GetLastTradeTimestamp

func (x *FutureStaticExData) GetLastTradeTimestamp() float64

func (*FutureStaticExData) ProtoMessage

func (*FutureStaticExData) ProtoMessage()

func (*FutureStaticExData) ProtoReflect

func (x *FutureStaticExData) ProtoReflect() protoreflect.Message

func (*FutureStaticExData) Reset

func (x *FutureStaticExData) Reset()

func (*FutureStaticExData) String

func (x *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) Descriptor

func (HolderCategory) Enum

func (x HolderCategory) Enum() *HolderCategory

func (HolderCategory) EnumDescriptor deprecated

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

Deprecated: Use HolderCategory.Descriptor instead.

func (HolderCategory) Number

func (HolderCategory) String

func (x HolderCategory) String() string

func (HolderCategory) Type

func (*HolderCategory) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type IndexOptionType

type IndexOptionType int32
const (
	IndexOptionType_IndexOptionType_Unknown IndexOptionType = 0 //未知
	IndexOptionType_IndexOptionType_Normal  IndexOptionType = 1 //正常普通的指数期权
	IndexOptionType_IndexOptionType_Small   IndexOptionType = 2 //小型指数期权
)

func (IndexOptionType) Descriptor

func (IndexOptionType) Enum

func (x IndexOptionType) Enum() *IndexOptionType

func (IndexOptionType) EnumDescriptor deprecated

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

Deprecated: Use IndexOptionType.Descriptor instead.

func (IndexOptionType) Number

func (IndexOptionType) String

func (x IndexOptionType) String() string

func (IndexOptionType) Type

func (*IndexOptionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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) Descriptor

func (IpoPeriod) Descriptor() protoreflect.EnumDescriptor

func (IpoPeriod) Enum

func (x IpoPeriod) Enum() *IpoPeriod

func (IpoPeriod) EnumDescriptor deprecated

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

Deprecated: Use IpoPeriod.Descriptor instead.

func (IpoPeriod) Number

func (x IpoPeriod) Number() protoreflect.EnumNumber

func (IpoPeriod) String

func (x IpoPeriod) String() string

func (IpoPeriod) Type

func (*IpoPeriod) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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 //摩利
	Issuer_Issuer_GJ     Issuer = 24 //国君
)

func (Issuer) Descriptor

func (Issuer) Descriptor() protoreflect.EnumDescriptor

func (Issuer) Enum

func (x Issuer) Enum() *Issuer

func (Issuer) EnumDescriptor deprecated

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

Deprecated: Use Issuer.Descriptor instead.

func (Issuer) Number

func (x Issuer) Number() protoreflect.EnumNumber

func (Issuer) String

func (x Issuer) String() string

func (Issuer) Type

func (Issuer) Type() protoreflect.EnumType

func (*Issuer) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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) Descriptor

func (KLFields) Descriptor() protoreflect.EnumDescriptor

func (KLFields) Enum

func (x KLFields) Enum() *KLFields

func (KLFields) EnumDescriptor deprecated

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

Deprecated: Use KLFields.Descriptor instead.

func (KLFields) Number

func (x KLFields) Number() protoreflect.EnumNumber

func (KLFields) String

func (x KLFields) String() string

func (KLFields) Type

func (*KLFields) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type KLType

type KLType int32

枚举值兼容旧协议定义

const (
	KLType_KLType_Unknown KLType = 0  //未知
	KLType_KLType_1Min    KLType = 1  //1分K
	KLType_KLType_Day     KLType = 2  //日K
	KLType_KLType_Week    KLType = 3  //周K
	KLType_KLType_Month   KLType = 4  //月K
	KLType_KLType_Year    KLType = 5  //年K
	KLType_KLType_5Min    KLType = 6  //5分K
	KLType_KLType_15Min   KLType = 7  //15分K
	KLType_KLType_30Min   KLType = 8  //30分K
	KLType_KLType_60Min   KLType = 9  //60分K
	KLType_KLType_3Min    KLType = 10 //3分K
	KLType_KLType_Quarter KLType = 11 //季K
)

func (KLType) Descriptor

func (KLType) Descriptor() protoreflect.EnumDescriptor

func (KLType) Enum

func (x KLType) Enum() *KLType

func (KLType) EnumDescriptor deprecated

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

Deprecated: Use KLType.Descriptor instead.

func (KLType) Number

func (x KLType) Number() protoreflect.EnumNumber

func (KLType) String

func (x KLType) String() string

func (KLType) Type

func (KLType) Type() protoreflect.EnumType

func (*KLType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`                //是否是空内容的点,若为ture则只有时间信息
	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"`        //涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
	Timestamp      *float64 `protobuf:"fixed64,13,opt,name=timestamp" json:"timestamp,omitempty"`          //时间戳
	// contains filtered or unexported fields
}

func (*KLine) Descriptor deprecated

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

Deprecated: Use KLine.ProtoReflect.Descriptor instead.

func (*KLine) GetChangeRate

func (x *KLine) GetChangeRate() float64

func (*KLine) GetClosePrice

func (x *KLine) GetClosePrice() float64

func (*KLine) GetHighPrice

func (x *KLine) GetHighPrice() float64

func (*KLine) GetIsBlank

func (x *KLine) GetIsBlank() bool

func (*KLine) GetLastClosePrice

func (x *KLine) GetLastClosePrice() float64

func (*KLine) GetLowPrice

func (x *KLine) GetLowPrice() float64

func (*KLine) GetOpenPrice

func (x *KLine) GetOpenPrice() float64

func (*KLine) GetPe

func (x *KLine) GetPe() float64

func (*KLine) GetTime

func (x *KLine) GetTime() string

func (*KLine) GetTimestamp

func (x *KLine) GetTimestamp() float64

func (*KLine) GetTurnover

func (x *KLine) GetTurnover() float64

func (*KLine) GetTurnoverRate

func (x *KLine) GetTurnoverRate() float64

func (*KLine) GetVolume

func (x *KLine) GetVolume() int64

func (*KLine) ProtoMessage

func (*KLine) ProtoMessage()

func (*KLine) ProtoReflect

func (x *KLine) ProtoReflect() protoreflect.Message

func (*KLine) Reset

func (x *KLine) Reset()

func (*KLine) String

func (x *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) Descriptor

func (OptionAreaType) Enum

func (x OptionAreaType) Enum() *OptionAreaType

func (OptionAreaType) EnumDescriptor deprecated

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

Deprecated: Use OptionAreaType.Descriptor instead.

func (OptionAreaType) Number

func (OptionAreaType) String

func (x OptionAreaType) String() string

func (OptionAreaType) Type

func (*OptionAreaType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`                   //每份合约数(整型数据)
	ContractSizeFloat    *float64 `protobuf:"fixed64,17,opt,name=contractSizeFloat" json:"contractSizeFloat,omitempty"`       //每份合约数(浮点型数据)
	OpenInterest         *int32   `protobuf:"varint,3,req,name=openInterest" json:"openInterest,omitempty"`                   //未平仓合约数
	ImpliedVolatility    *float64 `protobuf:"fixed64,4,req,name=impliedVolatility" json:"impliedVolatility,omitempty"`        //隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
	Premium              *float64 `protobuf:"fixed64,5,req,name=premium" json:"premium,omitempty"`                            //溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
	Delta                *float64 `protobuf:"fixed64,6,req,name=delta" json:"delta,omitempty"`                                //希腊值 Delta
	Gamma                *float64 `protobuf:"fixed64,7,req,name=gamma" json:"gamma,omitempty"`                                //希腊值 Gamma
	Vega                 *float64 `protobuf:"fixed64,8,req,name=vega" json:"vega,omitempty"`                                  //希腊值 Vega
	Theta                *float64 `protobuf:"fixed64,9,req,name=theta" json:"theta,omitempty"`                                //希腊值 Theta
	Rho                  *float64 `protobuf:"fixed64,10,req,name=rho" json:"rho,omitempty"`                                   //希腊值 Rho
	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"`              //OptionAreaType,期权类型(按行权时间)
	ContractMultiplier   *float64 `protobuf:"fixed64,16,opt,name=contractMultiplier" json:"contractMultiplier,omitempty"`     //合约乘数
	IndexOptionType      *int32   `protobuf:"varint,18,opt,name=indexOptionType" json:"indexOptionType,omitempty"`            //IndexOptionType,指数期权类型
	// contains filtered or unexported fields
}

func (*OptionBasicQotExData) Descriptor deprecated

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

Deprecated: Use OptionBasicQotExData.ProtoReflect.Descriptor instead.

func (*OptionBasicQotExData) GetContractMultiplier

func (x *OptionBasicQotExData) GetContractMultiplier() float64

func (*OptionBasicQotExData) GetContractNominalValue

func (x *OptionBasicQotExData) GetContractNominalValue() float64

func (*OptionBasicQotExData) GetContractSize

func (x *OptionBasicQotExData) GetContractSize() int32

func (*OptionBasicQotExData) GetContractSizeFloat

func (x *OptionBasicQotExData) GetContractSizeFloat() float64

func (*OptionBasicQotExData) GetDelta

func (x *OptionBasicQotExData) GetDelta() float64

func (*OptionBasicQotExData) GetExpiryDateDistance

func (x *OptionBasicQotExData) GetExpiryDateDistance() int32

func (*OptionBasicQotExData) GetGamma

func (x *OptionBasicQotExData) GetGamma() float64

func (*OptionBasicQotExData) GetImpliedVolatility

func (x *OptionBasicQotExData) GetImpliedVolatility() float64

func (*OptionBasicQotExData) GetIndexOptionType

func (x *OptionBasicQotExData) GetIndexOptionType() int32

func (*OptionBasicQotExData) GetNetOpenInterest

func (x *OptionBasicQotExData) GetNetOpenInterest() int32

func (*OptionBasicQotExData) GetOpenInterest

func (x *OptionBasicQotExData) GetOpenInterest() int32

func (*OptionBasicQotExData) GetOptionAreaType

func (x *OptionBasicQotExData) GetOptionAreaType() int32

func (*OptionBasicQotExData) GetOwnerLotMultiplier

func (x *OptionBasicQotExData) GetOwnerLotMultiplier() float64

func (*OptionBasicQotExData) GetPremium

func (x *OptionBasicQotExData) GetPremium() float64

func (*OptionBasicQotExData) GetRho

func (x *OptionBasicQotExData) GetRho() float64

func (*OptionBasicQotExData) GetStrikePrice

func (x *OptionBasicQotExData) GetStrikePrice() float64

func (*OptionBasicQotExData) GetTheta

func (x *OptionBasicQotExData) GetTheta() float64

func (*OptionBasicQotExData) GetVega

func (x *OptionBasicQotExData) GetVega() float64

func (*OptionBasicQotExData) ProtoMessage

func (*OptionBasicQotExData) ProtoMessage()

func (*OptionBasicQotExData) ProtoReflect

func (x *OptionBasicQotExData) ProtoReflect() protoreflect.Message

func (*OptionBasicQotExData) Reset

func (x *OptionBasicQotExData) Reset()

func (*OptionBasicQotExData) String

func (x *OptionBasicQotExData) String() string

type OptionStaticExData

type OptionStaticExData struct {
	Type            *int32    `protobuf:"varint,1,req,name=type" json:"type,omitempty"`                        //Qot_Common.OptionType,期权
	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"`  //Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
	// contains filtered or unexported fields
}

func (*OptionStaticExData) Descriptor deprecated

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

Deprecated: Use OptionStaticExData.ProtoReflect.Descriptor instead.

func (*OptionStaticExData) GetIndexOptionType

func (x *OptionStaticExData) GetIndexOptionType() int32

func (*OptionStaticExData) GetMarket

func (x *OptionStaticExData) GetMarket() string

func (*OptionStaticExData) GetOwner

func (x *OptionStaticExData) GetOwner() *Security

func (*OptionStaticExData) GetStrikePrice

func (x *OptionStaticExData) GetStrikePrice() float64

func (*OptionStaticExData) GetStrikeTime

func (x *OptionStaticExData) GetStrikeTime() string

func (*OptionStaticExData) GetStrikeTimestamp

func (x *OptionStaticExData) GetStrikeTimestamp() float64

func (*OptionStaticExData) GetSuspend

func (x *OptionStaticExData) GetSuspend() bool

func (*OptionStaticExData) GetType

func (x *OptionStaticExData) GetType() int32

func (*OptionStaticExData) ProtoMessage

func (*OptionStaticExData) ProtoMessage()

func (*OptionStaticExData) ProtoReflect

func (x *OptionStaticExData) ProtoReflect() protoreflect.Message

func (*OptionStaticExData) Reset

func (x *OptionStaticExData) Reset()

func (*OptionStaticExData) String

func (x *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) Descriptor

func (OptionType) Descriptor() protoreflect.EnumDescriptor

func (OptionType) Enum

func (x OptionType) Enum() *OptionType

func (OptionType) EnumDescriptor deprecated

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

Deprecated: Use OptionType.Descriptor instead.

func (OptionType) Number

func (x OptionType) Number() protoreflect.EnumNumber

func (OptionType) String

func (x OptionType) String() string

func (OptionType) Type

func (*OptionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` //委托订单个数
	DetailList  []*OrderBookDetail `protobuf:"bytes,4,rep,name=detailList" json:"detailList,omitempty"`    //订单信息,SF行情特有
	// contains filtered or unexported fields
}

func (*OrderBook) Descriptor deprecated

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

Deprecated: Use OrderBook.ProtoReflect.Descriptor instead.

func (*OrderBook) GetDetailList

func (x *OrderBook) GetDetailList() []*OrderBookDetail

func (*OrderBook) GetOrederCount

func (x *OrderBook) GetOrederCount() int32

func (*OrderBook) GetPrice

func (x *OrderBook) GetPrice() float64

func (*OrderBook) GetVolume

func (x *OrderBook) GetVolume() int64

func (*OrderBook) ProtoMessage

func (*OrderBook) ProtoMessage()

func (*OrderBook) ProtoReflect

func (x *OrderBook) ProtoReflect() protoreflect.Message

func (*OrderBook) Reset

func (x *OrderBook) Reset()

func (*OrderBook) String

func (x *OrderBook) String() string

type OrderBookDetail

type OrderBookDetail struct {
	OrderID *int64 `protobuf:"varint,1,req,name=orderID" json:"orderID,omitempty"` //交易所订单ID,与交易接口返回的订单ID并不一样
	Volume  *int64 `protobuf:"varint,2,req,name=volume" json:"volume,omitempty"`   //订单股数
	// contains filtered or unexported fields
}

func (*OrderBookDetail) Descriptor deprecated

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

Deprecated: Use OrderBookDetail.ProtoReflect.Descriptor instead.

func (*OrderBookDetail) GetOrderID

func (x *OrderBookDetail) GetOrderID() int64

func (*OrderBookDetail) GetVolume

func (x *OrderBookDetail) GetVolume() int64

func (*OrderBookDetail) ProtoMessage

func (*OrderBookDetail) ProtoMessage()

func (*OrderBookDetail) ProtoReflect

func (x *OrderBookDetail) ProtoReflect() protoreflect.Message

func (*OrderBookDetail) Reset

func (x *OrderBookDetail) Reset()

func (*OrderBookDetail) String

func (x *OrderBookDetail) 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"`    //每笔委托的委托量,注意:当前只会返回最多前50笔委托的委托数量
	// contains filtered or unexported fields
}

func (*OrderDetail) Descriptor deprecated

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

Deprecated: Use OrderDetail.ProtoReflect.Descriptor instead.

func (*OrderDetail) GetOrderCount

func (x *OrderDetail) GetOrderCount() int32

func (*OrderDetail) GetOrderVol

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

func (*OrderDetail) ProtoMessage

func (*OrderDetail) ProtoMessage()

func (*OrderDetail) ProtoReflect

func (x *OrderDetail) ProtoReflect() protoreflect.Message

func (*OrderDetail) Reset

func (x *OrderDetail) Reset()

func (*OrderDetail) String

func (x *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"` //PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
	// contains filtered or unexported fields
}

func (*PlateInfo) Descriptor deprecated

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

Deprecated: Use PlateInfo.ProtoReflect.Descriptor instead.

func (*PlateInfo) GetName

func (x *PlateInfo) GetName() string

func (*PlateInfo) GetPlate

func (x *PlateInfo) GetPlate() *Security

func (*PlateInfo) GetPlateType

func (x *PlateInfo) GetPlateType() int32

func (*PlateInfo) ProtoMessage

func (*PlateInfo) ProtoMessage()

func (*PlateInfo) ProtoReflect

func (x *PlateInfo) ProtoReflect() protoreflect.Message

func (*PlateInfo) Reset

func (x *PlateInfo) Reset()

func (*PlateInfo) String

func (x *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 //其他板块, 仅用于3207(获取股票所属板块)协议返回,不可作为其他协议的请求参数
)

func (PlateSetType) Descriptor

func (PlateSetType) Enum

func (x PlateSetType) Enum() *PlateSetType

func (PlateSetType) EnumDescriptor deprecated

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

Deprecated: Use PlateSetType.Descriptor instead.

func (PlateSetType) Number

func (PlateSetType) String

func (x PlateSetType) String() string

func (PlateSetType) Type

func (*PlateSetType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` // 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
	Amplitude  *float64 `protobuf:"fixed64,8,opt,name=amplitude" json:"amplitude,omitempty"`   // 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
	// contains filtered or unexported fields
}

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

func (*PreAfterMarketData) Descriptor deprecated

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

Deprecated: Use PreAfterMarketData.ProtoReflect.Descriptor instead.

func (*PreAfterMarketData) GetAmplitude

func (x *PreAfterMarketData) GetAmplitude() float64

func (*PreAfterMarketData) GetChangeRate

func (x *PreAfterMarketData) GetChangeRate() float64

func (*PreAfterMarketData) GetChangeVal

func (x *PreAfterMarketData) GetChangeVal() float64

func (*PreAfterMarketData) GetHighPrice

func (x *PreAfterMarketData) GetHighPrice() float64

func (*PreAfterMarketData) GetLowPrice

func (x *PreAfterMarketData) GetLowPrice() float64

func (*PreAfterMarketData) GetPrice

func (x *PreAfterMarketData) GetPrice() float64

func (*PreAfterMarketData) GetTurnover

func (x *PreAfterMarketData) GetTurnover() float64

func (*PreAfterMarketData) GetVolume

func (x *PreAfterMarketData) GetVolume() int64

func (*PreAfterMarketData) ProtoMessage

func (*PreAfterMarketData) ProtoMessage()

func (*PreAfterMarketData) ProtoReflect

func (x *PreAfterMarketData) ProtoReflect() protoreflect.Message

func (*PreAfterMarketData) Reset

func (x *PreAfterMarketData) Reset()

func (*PreAfterMarketData) String

func (x *PreAfterMarketData) String() string

type PriceReminderFreq

type PriceReminderFreq int32

提醒频率

const (
	PriceReminderFreq_PriceReminderFreq_Unknown  PriceReminderFreq = 0 // 未知
	PriceReminderFreq_PriceReminderFreq_Always   PriceReminderFreq = 1 // 持续提醒
	PriceReminderFreq_PriceReminderFreq_OnceADay PriceReminderFreq = 2 // 每日一次
	PriceReminderFreq_PriceReminderFreq_OnlyOnce PriceReminderFreq = 3 // 仅提醒一次
)

func (PriceReminderFreq) Descriptor

func (PriceReminderFreq) Enum

func (PriceReminderFreq) EnumDescriptor deprecated

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

Deprecated: Use PriceReminderFreq.Descriptor instead.

func (PriceReminderFreq) Number

func (PriceReminderFreq) String

func (x PriceReminderFreq) String() string

func (PriceReminderFreq) Type

func (*PriceReminderFreq) UnmarshalJSON deprecated

func (x *PriceReminderFreq) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PriceReminderType

type PriceReminderType int32

提醒类型

const (
	PriceReminderType_PriceReminderType_Unknown            PriceReminderType = 0  // 未知
	PriceReminderType_PriceReminderType_PriceUp            PriceReminderType = 1  // 价格涨到
	PriceReminderType_PriceReminderType_PriceDown          PriceReminderType = 2  // 价格跌到
	PriceReminderType_PriceReminderType_ChangeRateUp       PriceReminderType = 3  // 日涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_ChangeRateDown     PriceReminderType = 4  // 日跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_5MinChangeRateUp   PriceReminderType = 5  // 5 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_5MinChangeRateDown PriceReminderType = 6  // 5 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_VolumeUp           PriceReminderType = 7  // 成交量超过
	PriceReminderType_PriceReminderType_TurnoverUp         PriceReminderType = 8  // 成交额超过
	PriceReminderType_PriceReminderType_TurnoverRateUp     PriceReminderType = 9  // 换手率超过(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_BidPriceUp         PriceReminderType = 10 // 买一价高于
	PriceReminderType_PriceReminderType_AskPriceDown       PriceReminderType = 11 // 卖一价低于
	PriceReminderType_PriceReminderType_BidVolUp           PriceReminderType = 12 // 买一量高于
	PriceReminderType_PriceReminderType_AskVolUp           PriceReminderType = 13 // 卖一量高于
	PriceReminderType_PriceReminderType_3MinChangeRateUp   PriceReminderType = 14 // 3 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
	PriceReminderType_PriceReminderType_3MinChangeRateDown PriceReminderType = 15 // 3 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
)

func (PriceReminderType) Descriptor

func (PriceReminderType) Enum

func (PriceReminderType) EnumDescriptor deprecated

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

Deprecated: Use PriceReminderType.Descriptor instead.

func (PriceReminderType) Number

func (PriceReminderType) String

func (x PriceReminderType) String() string

func (PriceReminderType) Type

func (*PriceReminderType) UnmarshalJSON deprecated

func (x *PriceReminderType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PriceType

type PriceType int32

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

const (
	PriceType_PriceType_Unknow  PriceType = 0
	PriceType_PriceType_Outside PriceType = 1 //价外,界内证表示界外
	PriceType_PriceType_WithIn  PriceType = 2 //价内,界内证表示界内
)

func (PriceType) Descriptor

func (PriceType) Descriptor() protoreflect.EnumDescriptor

func (PriceType) Enum

func (x PriceType) Enum() *PriceType

func (PriceType) EnumDescriptor deprecated

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

Deprecated: Use PriceType.Descriptor instead.

func (PriceType) Number

func (x PriceType) Number() protoreflect.EnumNumber

func (PriceType) String

func (x PriceType) String() string

func (PriceType) Type

func (*PriceType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type PushDataType

type PushDataType int32

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

const (
	PushDataType_PushDataType_Unknow    PushDataType = 0
	PushDataType_PushDataType_Realtime  PushDataType = 1 //实时推送的数据
	PushDataType_PushDataType_ByDisConn PushDataType = 2 //对后台行情连接断开期间拉取补充的数据 最多50个
	PushDataType_PushDataType_Cache     PushDataType = 3 //非实时非连接断开补充数据
)

func (PushDataType) Descriptor

func (PushDataType) Enum

func (x PushDataType) Enum() *PushDataType

func (PushDataType) EnumDescriptor deprecated

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

Deprecated: Use PushDataType.Descriptor instead.

func (PushDataType) Number

func (PushDataType) String

func (x PushDataType) String() string

func (PushDataType) Type

func (*PushDataType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type QotMarket

type QotMarket int32
const (
	QotMarket_QotMarket_Unknown       QotMarket = 0  //未知市场
	QotMarket_QotMarket_HK_Security   QotMarket = 1  //香港市场
	QotMarket_QotMarket_HK_Future     QotMarket = 2  //港期货(已废弃,使用QotMarket_HK_Security即可)
	QotMarket_QotMarket_US_Security   QotMarket = 11 //美国市场
	QotMarket_QotMarket_CNSH_Security QotMarket = 21 //沪股市场
	QotMarket_QotMarket_CNSZ_Security QotMarket = 22 //深股市场
	QotMarket_QotMarket_SG_Security   QotMarket = 31 //新加坡市场
	QotMarket_QotMarket_JP_Security   QotMarket = 41 //日本市场
)

func (QotMarket) Descriptor

func (QotMarket) Descriptor() protoreflect.EnumDescriptor

func (QotMarket) Enum

func (x QotMarket) Enum() *QotMarket

func (QotMarket) EnumDescriptor deprecated

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

Deprecated: Use QotMarket.Descriptor instead.

func (QotMarket) Number

func (x QotMarket) Number() protoreflect.EnumNumber

func (QotMarket) String

func (x QotMarket) String() string

func (QotMarket) Type

func (*QotMarket) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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 // 盘后竞价,港股市场增加CAS机制对应的市场状态
	QotMarketState_QotMarketState_FutureNightWait      QotMarketState = 20 // 夜市等待开盘
	QotMarketState_QotMarketState_FutureAfternoon      QotMarketState = 21 // 期货下午开盘
	//美国期货新增加状态
	QotMarketState_QotMarketState_FutureSwitchDate QotMarketState = 22 // 期货切交易日
	QotMarketState_QotMarketState_FutureOpen       QotMarketState = 23 // 期货开盘
	QotMarketState_QotMarketState_FutureBreak      QotMarketState = 24 // 期货中盘休息
	QotMarketState_QotMarketState_FutureBreakOver  QotMarketState = 25 // 期货休息后开盘
	QotMarketState_QotMarketState_FutureClose      QotMarketState = 26 // 期货收盘
	//科创板新增状态
	QotMarketState_QotMarketState_StibAfterHoursWait  QotMarketState = 27 // 科创板的盘后撮合时段
	QotMarketState_QotMarketState_StibAfterHoursBegin QotMarketState = 28 // 科创板的盘后交易开始
	QotMarketState_QotMarketState_StibAfterHoursEnd   QotMarketState = 29 // 科创板的盘后交易结束
)

func (QotMarketState) Descriptor

func (QotMarketState) Enum

func (x QotMarketState) Enum() *QotMarketState

func (QotMarketState) EnumDescriptor deprecated

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

Deprecated: Use QotMarketState.Descriptor instead.

func (QotMarketState) Number

func (QotMarketState) String

func (x QotMarketState) String() string

func (QotMarketState) Type

func (*QotMarketState) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type QotRight

type QotRight int32

行情权限

const (
	QotRight_QotRight_Unknow QotRight = 0 //未知
	QotRight_QotRight_Bmp    QotRight = 1 //Bmp,无法订阅
	QotRight_QotRight_Level1 QotRight = 2 //Level1
	QotRight_QotRight_Level2 QotRight = 3 //Level2
	QotRight_QotRight_SF     QotRight = 4 //SF高级行情
	QotRight_QotRight_No     QotRight = 5 //无权限
)

func (QotRight) Descriptor

func (QotRight) Descriptor() protoreflect.EnumDescriptor

func (QotRight) Enum

func (x QotRight) Enum() *QotRight

func (QotRight) EnumDescriptor deprecated

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

Deprecated: Use QotRight.Descriptor instead.

func (QotRight) Number

func (x QotRight) Number() protoreflect.EnumNumber

func (QotRight) String

func (x QotRight) String() string

func (QotRight) Type

func (*QotRight) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` //公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
	FwdFactorA     *float64 `protobuf:"fixed64,3,req,name=fwdFactorA" json:"fwdFactorA,omitempty"`        //前复权因子A
	FwdFactorB     *float64 `protobuf:"fixed64,4,req,name=fwdFactorB" json:"fwdFactorB,omitempty"`        //前复权因子B
	BwdFactorA     *float64 `protobuf:"fixed64,5,req,name=bwdFactorA" json:"bwdFactorA,omitempty"`        //后复权因子A
	BwdFactorB     *float64 `protobuf:"fixed64,6,req,name=bwdFactorB" json:"bwdFactorB,omitempty"`        //后复权因子B
	SplitBase      *int32   `protobuf:"varint,7,opt,name=splitBase" json:"splitBase,omitempty"`           //拆股(例如,1拆5,Base为1,Ert为5)
	SplitErt       *int32   `protobuf:"varint,8,opt,name=splitErt" json:"splitErt,omitempty"`
	JoinBase       *int32   `protobuf:"varint,9,opt,name=joinBase" json:"joinBase,omitempty"` //合股(例如,50合1,Base为50,Ert为1)
	JoinErt        *int32   `protobuf:"varint,10,opt,name=joinErt" json:"joinErt,omitempty"`
	BonusBase      *int32   `protobuf:"varint,11,opt,name=bonusBase" json:"bonusBase,omitempty"` //送股(例如,10送3, Base为10,Ert为3)
	BonusErt       *int32   `protobuf:"varint,12,opt,name=bonusErt" json:"bonusErt,omitempty"`
	TransferBase   *int32   `protobuf:"varint,13,opt,name=transferBase" json:"transferBase,omitempty"` //转赠股(例如,10转3, Base为10,Ert为3)
	TransferErt    *int32   `protobuf:"varint,14,opt,name=transferErt" json:"transferErt,omitempty"`
	AllotBase      *int32   `protobuf:"varint,15,opt,name=allotBase" json:"allotBase,omitempty"` //配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
	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"` //增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
	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"`     //现金分红(例如,每10股派现0.5元,则该字段值为0.05)
	SpDividend     *float64 `protobuf:"fixed64,22,opt,name=spDividend" json:"spDividend,omitempty"` //特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
	Timestamp      *float64 `protobuf:"fixed64,23,opt,name=timestamp" json:"timestamp,omitempty"`   //时间戳
	// contains filtered or unexported fields
}

func (*Rehab) Descriptor deprecated

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

Deprecated: Use Rehab.ProtoReflect.Descriptor instead.

func (*Rehab) GetAddBase

func (x *Rehab) GetAddBase() int32

func (*Rehab) GetAddErt

func (x *Rehab) GetAddErt() int32

func (*Rehab) GetAddPrice

func (x *Rehab) GetAddPrice() float64

func (*Rehab) GetAllotBase

func (x *Rehab) GetAllotBase() int32

func (*Rehab) GetAllotErt

func (x *Rehab) GetAllotErt() int32

func (*Rehab) GetAllotPrice

func (x *Rehab) GetAllotPrice() float64

func (*Rehab) GetBonusBase

func (x *Rehab) GetBonusBase() int32

func (*Rehab) GetBonusErt

func (x *Rehab) GetBonusErt() int32

func (*Rehab) GetBwdFactorA

func (x *Rehab) GetBwdFactorA() float64

func (*Rehab) GetBwdFactorB

func (x *Rehab) GetBwdFactorB() float64

func (*Rehab) GetCompanyActFlag

func (x *Rehab) GetCompanyActFlag() int64

func (*Rehab) GetDividend

func (x *Rehab) GetDividend() float64

func (*Rehab) GetFwdFactorA

func (x *Rehab) GetFwdFactorA() float64

func (*Rehab) GetFwdFactorB

func (x *Rehab) GetFwdFactorB() float64

func (*Rehab) GetJoinBase

func (x *Rehab) GetJoinBase() int32

func (*Rehab) GetJoinErt

func (x *Rehab) GetJoinErt() int32

func (*Rehab) GetSpDividend

func (x *Rehab) GetSpDividend() float64

func (*Rehab) GetSplitBase

func (x *Rehab) GetSplitBase() int32

func (*Rehab) GetSplitErt

func (x *Rehab) GetSplitErt() int32

func (*Rehab) GetTime

func (x *Rehab) GetTime() string

func (*Rehab) GetTimestamp

func (x *Rehab) GetTimestamp() float64

func (*Rehab) GetTransferBase

func (x *Rehab) GetTransferBase() int32

func (*Rehab) GetTransferErt

func (x *Rehab) GetTransferErt() int32

func (*Rehab) ProtoMessage

func (*Rehab) ProtoMessage()

func (*Rehab) ProtoReflect

func (x *Rehab) ProtoReflect() protoreflect.Message

func (*Rehab) Reset

func (x *Rehab) Reset()

func (*Rehab) String

func (x *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) Descriptor

func (RehabType) Descriptor() protoreflect.EnumDescriptor

func (RehabType) Enum

func (x RehabType) Enum() *RehabType

func (RehabType) EnumDescriptor deprecated

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

Deprecated: Use RehabType.Descriptor instead.

func (RehabType) Number

func (x RehabType) Number() protoreflect.EnumNumber

func (RehabType) String

func (x RehabType) String() string

func (RehabType) Type

func (*RehabType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Security

type Security struct {
	Market *int32  `protobuf:"varint,1,req,name=market" json:"market,omitempty"` //QotMarket,股票市场
	Code   *string `protobuf:"bytes,2,req,name=code" json:"code,omitempty"`      //股票代码
	// contains filtered or unexported fields
}

两个字段确定一支股票

func (*Security) Descriptor deprecated

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

Deprecated: Use Security.ProtoReflect.Descriptor instead.

func (*Security) GetCode

func (x *Security) GetCode() string

func (*Security) GetMarket

func (x *Security) GetMarket() int32

func (*Security) ProtoMessage

func (*Security) ProtoMessage()

func (*Security) ProtoReflect

func (x *Security) ProtoReflect() protoreflect.Message

func (*Security) Reset

func (x *Security) Reset()

func (*Security) String

func (x *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"`                        //股票ID
	LotSize       *int32    `protobuf:"varint,3,req,name=lotSize" json:"lotSize,omitempty"`              //每手数量,期权以及期货类型表示合约乘数
	SecType       *int32    `protobuf:"varint,4,req,name=secType" json:"secType,omitempty"`              //Qot_Common.SecurityType,股票类型
	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"` //上市时间戳
	// contains filtered or unexported fields
}

func (*SecurityStaticBasic) Descriptor deprecated

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

Deprecated: Use SecurityStaticBasic.ProtoReflect.Descriptor instead.

func (*SecurityStaticBasic) GetDelisting

func (x *SecurityStaticBasic) GetDelisting() bool

func (*SecurityStaticBasic) GetId

func (x *SecurityStaticBasic) GetId() int64

func (*SecurityStaticBasic) GetListTime

func (x *SecurityStaticBasic) GetListTime() string

func (*SecurityStaticBasic) GetListTimestamp

func (x *SecurityStaticBasic) GetListTimestamp() float64

func (*SecurityStaticBasic) GetLotSize

func (x *SecurityStaticBasic) GetLotSize() int32

func (*SecurityStaticBasic) GetName

func (x *SecurityStaticBasic) GetName() string

func (*SecurityStaticBasic) GetSecType

func (x *SecurityStaticBasic) GetSecType() int32

func (*SecurityStaticBasic) GetSecurity

func (x *SecurityStaticBasic) GetSecurity() *Security

func (*SecurityStaticBasic) ProtoMessage

func (*SecurityStaticBasic) ProtoMessage()

func (*SecurityStaticBasic) ProtoReflect

func (x *SecurityStaticBasic) ProtoReflect() protoreflect.Message

func (*SecurityStaticBasic) Reset

func (x *SecurityStaticBasic) Reset()

func (*SecurityStaticBasic) String

func (x *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"`   //期货额外股票静态信息
	// contains filtered or unexported fields
}

func (*SecurityStaticInfo) Descriptor deprecated

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

Deprecated: Use SecurityStaticInfo.ProtoReflect.Descriptor instead.

func (*SecurityStaticInfo) GetBasic

func (x *SecurityStaticInfo) GetBasic() *SecurityStaticBasic

func (*SecurityStaticInfo) GetFutureExData

func (x *SecurityStaticInfo) GetFutureExData() *FutureStaticExData

func (*SecurityStaticInfo) GetOptionExData

func (x *SecurityStaticInfo) GetOptionExData() *OptionStaticExData

func (*SecurityStaticInfo) GetWarrantExData

func (x *SecurityStaticInfo) GetWarrantExData() *WarrantStaticExData

func (*SecurityStaticInfo) ProtoMessage

func (*SecurityStaticInfo) ProtoMessage()

func (*SecurityStaticInfo) ProtoReflect

func (x *SecurityStaticInfo) ProtoReflect() protoreflect.Message

func (*SecurityStaticInfo) Reset

func (x *SecurityStaticInfo) Reset()

func (*SecurityStaticInfo) String

func (x *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) Descriptor

func (SecurityStatus) Enum

func (x SecurityStatus) Enum() *SecurityStatus

func (SecurityStatus) EnumDescriptor deprecated

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

Deprecated: Use SecurityStatus.Descriptor instead.

func (SecurityStatus) Number

func (SecurityStatus) String

func (x SecurityStatus) String() string

func (SecurityStatus) Type

func (*SecurityStatus) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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) Descriptor

func (SecurityType) Enum

func (x SecurityType) Enum() *SecurityType

func (SecurityType) EnumDescriptor deprecated

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

Deprecated: Use SecurityType.Descriptor instead.

func (SecurityType) Number

func (SecurityType) String

func (x SecurityType) String() string

func (SecurityType) Type

func (*SecurityType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"` //当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
	ChangeQty    *float64 `protobuf:"fixed64,4,req,name=changeQty" json:"changeQty,omitempty"`       //较上一次变动数量
	ChangeRatio  *float64 `protobuf:"fixed64,5,req,name=changeRatio" json:"changeRatio,omitempty"`   //较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
	Time         *string  `protobuf:"bytes,6,req,name=time" json:"time,omitempty"`                   //发布时间(YYYY-MM-DD HH:MM:SS字符串)
	Timestamp    *float64 `protobuf:"fixed64,7,opt,name=timestamp" json:"timestamp,omitempty"`       //时间戳
	// contains filtered or unexported fields
}

持股变动

func (*ShareHoldingChange) Descriptor deprecated

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

Deprecated: Use ShareHoldingChange.ProtoReflect.Descriptor instead.

func (*ShareHoldingChange) GetChangeQty

func (x *ShareHoldingChange) GetChangeQty() float64

func (*ShareHoldingChange) GetChangeRatio

func (x *ShareHoldingChange) GetChangeRatio() float64

func (*ShareHoldingChange) GetHolderName

func (x *ShareHoldingChange) GetHolderName() string

func (*ShareHoldingChange) GetHoldingQty

func (x *ShareHoldingChange) GetHoldingQty() float64

func (*ShareHoldingChange) GetHoldingRatio

func (x *ShareHoldingChange) GetHoldingRatio() float64

func (*ShareHoldingChange) GetTime

func (x *ShareHoldingChange) GetTime() string

func (*ShareHoldingChange) GetTimestamp

func (x *ShareHoldingChange) GetTimestamp() float64

func (*ShareHoldingChange) ProtoMessage

func (*ShareHoldingChange) ProtoMessage()

func (*ShareHoldingChange) ProtoReflect

func (x *ShareHoldingChange) ProtoReflect() protoreflect.Message

func (*ShareHoldingChange) Reset

func (x *ShareHoldingChange) Reset()

func (*ShareHoldingChange) String

func (x *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) Descriptor

func (SortField) Descriptor() protoreflect.EnumDescriptor

func (SortField) Enum

func (x SortField) Enum() *SortField

func (SortField) EnumDescriptor deprecated

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

Deprecated: Use SortField.Descriptor instead.

func (SortField) Number

func (x SortField) Number() protoreflect.EnumNumber

func (SortField) String

func (x SortField) String() string

func (SortField) Type

func (*SortField) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type SubInfo

type SubInfo struct {
	SubType      *int32      `protobuf:"varint,1,req,name=subType" json:"subType,omitempty"`          //Qot_Common.SubType,订阅类型
	SecurityList []*Security `protobuf:"bytes,2,rep,name=securityList" json:"securityList,omitempty"` //订阅该类型行情的股票
	// contains filtered or unexported fields
}

func (*SubInfo) Descriptor deprecated

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

Deprecated: Use SubInfo.ProtoReflect.Descriptor instead.

func (*SubInfo) GetSecurityList

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

func (*SubInfo) GetSubType

func (x *SubInfo) GetSubType() int32

func (*SubInfo) ProtoMessage

func (*SubInfo) ProtoMessage()

func (*SubInfo) ProtoReflect

func (x *SubInfo) ProtoReflect() protoreflect.Message

func (*SubInfo) Reset

func (x *SubInfo) Reset()

func (*SubInfo) String

func (x *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  //日K
	SubType_SubType_KL_5Min     SubType = 7  //5分K
	SubType_SubType_KL_15Min    SubType = 8  //15分K
	SubType_SubType_KL_30Min    SubType = 9  //30分K
	SubType_SubType_KL_60Min    SubType = 10 //60分K
	SubType_SubType_KL_1Min     SubType = 11 //1分K
	SubType_SubType_KL_Week     SubType = 12 //周K
	SubType_SubType_KL_Month    SubType = 13 //月K
	SubType_SubType_Broker      SubType = 14 //经纪队列
	SubType_SubType_KL_Qurater  SubType = 15 //季K
	SubType_SubType_KL_Year     SubType = 16 //年K
	SubType_SubType_KL_3Min     SubType = 17 //3分K
	SubType_SubType_OrderDetail SubType = 18 //委托明细
)

func (SubType) Descriptor

func (SubType) Descriptor() protoreflect.EnumDescriptor

func (SubType) Enum

func (x SubType) Enum() *SubType

func (SubType) EnumDescriptor deprecated

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

Deprecated: Use SubType.Descriptor instead.

func (SubType) Number

func (x SubType) Number() protoreflect.EnumNumber

func (SubType) String

func (x SubType) String() string

func (SubType) Type

func (SubType) Type() protoreflect.EnumType

func (*SubType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`                    //TickerDirection, 买卖方向
	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"`                  //TickerType, 逐笔类型
	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"`      //时间戳
	// contains filtered or unexported fields
}

func (*Ticker) Descriptor deprecated

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

Deprecated: Use Ticker.ProtoReflect.Descriptor instead.

func (*Ticker) GetDir

func (x *Ticker) GetDir() int32

func (*Ticker) GetPrice

func (x *Ticker) GetPrice() float64

func (*Ticker) GetPushDataType

func (x *Ticker) GetPushDataType() int32

func (*Ticker) GetRecvTime

func (x *Ticker) GetRecvTime() float64

func (*Ticker) GetSequence

func (x *Ticker) GetSequence() int64

func (*Ticker) GetTime

func (x *Ticker) GetTime() string

func (*Ticker) GetTimestamp

func (x *Ticker) GetTimestamp() float64

func (*Ticker) GetTurnover

func (x *Ticker) GetTurnover() float64

func (*Ticker) GetType

func (x *Ticker) GetType() int32

func (*Ticker) GetTypeSign

func (x *Ticker) GetTypeSign() int32

func (*Ticker) GetVolume

func (x *Ticker) GetVolume() int64

func (*Ticker) ProtoMessage

func (*Ticker) ProtoMessage()

func (*Ticker) ProtoReflect

func (x *Ticker) ProtoReflect() protoreflect.Message

func (*Ticker) Reset

func (x *Ticker) Reset()

func (*Ticker) String

func (x *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) Descriptor

func (TickerDirection) Enum

func (x TickerDirection) Enum() *TickerDirection

func (TickerDirection) EnumDescriptor deprecated

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

Deprecated: Use TickerDirection.Descriptor instead.

func (TickerDirection) Number

func (TickerDirection) String

func (x TickerDirection) String() string

func (TickerDirection) Type

func (*TickerDirection) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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 //第127条交易(纽交所规则)或第155条交易
	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 //T类交易(盘前和盘后交易)
	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 //综合延迟价格
	TickerType_TickerType_Overseas                TickerType = 31 //交易的一方不是香港交易所的成员,属于场外交易
)

func (TickerType) Descriptor

func (TickerType) Descriptor() protoreflect.EnumDescriptor

func (TickerType) Enum

func (x TickerType) Enum() *TickerType

func (TickerType) EnumDescriptor deprecated

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

Deprecated: Use TickerType.Descriptor instead.

func (TickerType) Number

func (x TickerType) Number() protoreflect.EnumNumber

func (TickerType) String

func (x TickerType) String() string

func (TickerType) Type

func (*TickerType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`                  //距离0点过了多少分钟
	IsBlank        *bool    `protobuf:"varint,3,req,name=isBlank" json:"isBlank,omitempty"`                //是否是空内容的点,若为ture则只有时间信息
	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"`           //时间戳
	// contains filtered or unexported fields
}

func (*TimeShare) Descriptor deprecated

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

Deprecated: Use TimeShare.ProtoReflect.Descriptor instead.

func (*TimeShare) GetAvgPrice

func (x *TimeShare) GetAvgPrice() float64

func (*TimeShare) GetIsBlank

func (x *TimeShare) GetIsBlank() bool

func (*TimeShare) GetLastClosePrice

func (x *TimeShare) GetLastClosePrice() float64

func (*TimeShare) GetMinute

func (x *TimeShare) GetMinute() int32

func (*TimeShare) GetPrice

func (x *TimeShare) GetPrice() float64

func (*TimeShare) GetTime

func (x *TimeShare) GetTime() string

func (*TimeShare) GetTimestamp

func (x *TimeShare) GetTimestamp() float64

func (*TimeShare) GetTurnover

func (x *TimeShare) GetTurnover() float64

func (*TimeShare) GetVolume

func (x *TimeShare) GetVolume() int64

func (*TimeShare) ProtoMessage

func (*TimeShare) ProtoMessage()

func (*TimeShare) ProtoReflect

func (x *TimeShare) ProtoReflect() protoreflect.Message

func (*TimeShare) Reset

func (x *TimeShare) Reset()

func (*TimeShare) String

func (x *TimeShare) String() string

type TradeDateMarket

type TradeDateMarket int32

交易日查询市场

const (
	TradeDateMarket_TradeDateMarket_Unknown TradeDateMarket = 0 //未知
	TradeDateMarket_TradeDateMarket_HK      TradeDateMarket = 1 //港股市场
	TradeDateMarket_TradeDateMarket_US      TradeDateMarket = 2 //美股市场
	TradeDateMarket_TradeDateMarket_CN      TradeDateMarket = 3 //A股市场
	TradeDateMarket_TradeDateMarket_NT      TradeDateMarket = 4 //深(沪)股通
	TradeDateMarket_TradeDateMarket_ST      TradeDateMarket = 5 //港股通(深、沪)
)

func (TradeDateMarket) Descriptor

func (TradeDateMarket) Enum

func (x TradeDateMarket) Enum() *TradeDateMarket

func (TradeDateMarket) EnumDescriptor deprecated

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

Deprecated: Use TradeDateMarket.Descriptor instead.

func (TradeDateMarket) Number

func (TradeDateMarket) String

func (x TradeDateMarket) String() string

func (TradeDateMarket) Type

func (*TradeDateMarket) UnmarshalJSON deprecated

func (x *TradeDateMarket) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TradeDateType

type TradeDateType int32

交易日类型

const (
	TradeDateType_TradeDateType_Whole     TradeDateType = 0 //全天交易
	TradeDateType_TradeDateType_Morning   TradeDateType = 1 //上午交易,下午休市
	TradeDateType_TradeDateType_Afternoon TradeDateType = 2 //下午交易,上午休市
)

func (TradeDateType) Descriptor

func (TradeDateType) Enum

func (x TradeDateType) Enum() *TradeDateType

func (TradeDateType) EnumDescriptor deprecated

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

Deprecated: Use TradeDateType.Descriptor instead.

func (TradeDateType) Number

func (TradeDateType) String

func (x TradeDateType) String() string

func (TradeDateType) Type

func (*TradeDateType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type WarrantBasicQotExData

type WarrantBasicQotExData struct {
	Delta             *float64 `protobuf:"fixed64,1,opt,name=delta" json:"delta,omitempty"`                         //对冲值,仅认购认沽支持该字段
	ImpliedVolatility *float64 `protobuf:"fixed64,2,opt,name=impliedVolatility" json:"impliedVolatility,omitempty"` //引申波幅,仅认购认沽支持该字段
	Premium           *float64 `protobuf:"fixed64,3,req,name=premium" json:"premium,omitempty"`                     //溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
	// contains filtered or unexported fields
}

func (*WarrantBasicQotExData) Descriptor deprecated

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

Deprecated: Use WarrantBasicQotExData.ProtoReflect.Descriptor instead.

func (*WarrantBasicQotExData) GetDelta

func (x *WarrantBasicQotExData) GetDelta() float64

func (*WarrantBasicQotExData) GetImpliedVolatility

func (x *WarrantBasicQotExData) GetImpliedVolatility() float64

func (*WarrantBasicQotExData) GetPremium

func (x *WarrantBasicQotExData) GetPremium() float64

func (*WarrantBasicQotExData) ProtoMessage

func (*WarrantBasicQotExData) ProtoMessage()

func (*WarrantBasicQotExData) ProtoReflect

func (x *WarrantBasicQotExData) ProtoReflect() protoreflect.Message

func (*WarrantBasicQotExData) Reset

func (x *WarrantBasicQotExData) Reset()

func (*WarrantBasicQotExData) String

func (x *WarrantBasicQotExData) String() string

type WarrantStaticExData

type WarrantStaticExData struct {
	Type  *int32    `protobuf:"varint,1,req,name=type" json:"type,omitempty"`  //Qot_Common.WarrantType,窝轮类型
	Owner *Security `protobuf:"bytes,2,req,name=owner" json:"owner,omitempty"` //所属正股
	// contains filtered or unexported fields
}

func (*WarrantStaticExData) Descriptor deprecated

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

Deprecated: Use WarrantStaticExData.ProtoReflect.Descriptor instead.

func (*WarrantStaticExData) GetOwner

func (x *WarrantStaticExData) GetOwner() *Security

func (*WarrantStaticExData) GetType

func (x *WarrantStaticExData) GetType() int32

func (*WarrantStaticExData) ProtoMessage

func (*WarrantStaticExData) ProtoMessage()

func (*WarrantStaticExData) ProtoReflect

func (x *WarrantStaticExData) ProtoReflect() protoreflect.Message

func (*WarrantStaticExData) Reset

func (x *WarrantStaticExData) Reset()

func (*WarrantStaticExData) String

func (x *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) Descriptor

func (WarrantStatus) Enum

func (x WarrantStatus) Enum() *WarrantStatus

func (WarrantStatus) EnumDescriptor deprecated

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

Deprecated: Use WarrantStatus.Descriptor instead.

func (WarrantStatus) Number

func (WarrantStatus) String

func (x WarrantStatus) String() string

func (WarrantStatus) Type

func (*WarrantStatus) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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) Descriptor

func (WarrantType) Enum

func (x WarrantType) Enum() *WarrantType

func (WarrantType) EnumDescriptor deprecated

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

Deprecated: Use WarrantType.Descriptor instead.

func (WarrantType) Number

func (x WarrantType) Number() protoreflect.EnumNumber

func (WarrantType) String

func (x WarrantType) String() string

func (WarrantType) Type

func (*WarrantType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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