Documentation
¶
Index ¶
- Constants
- Variables
- type AccumulateData
- func (*AccumulateData) Descriptor() ([]byte, []int)deprecated
- func (x *AccumulateData) GetDays() int32
- func (x *AccumulateData) GetFieldName() int32
- func (x *AccumulateData) GetValue() float64
- func (*AccumulateData) ProtoMessage()
- func (x *AccumulateData) ProtoReflect() protoreflect.Message
- func (x *AccumulateData) Reset()
- func (x *AccumulateData) String() string
- type AccumulateField
- func (AccumulateField) Descriptor() protoreflect.EnumDescriptor
- func (x AccumulateField) Enum() *AccumulateField
- func (AccumulateField) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccumulateField) Number() protoreflect.EnumNumber
- func (x AccumulateField) String() string
- func (AccumulateField) Type() protoreflect.EnumType
- func (x *AccumulateField) UnmarshalJSON(b []byte) errordeprecated
- type AccumulateFilter
- func (*AccumulateFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AccumulateFilter) GetDays() int32
- func (x *AccumulateFilter) GetFieldName() int32
- func (x *AccumulateFilter) GetFilterMax() float64
- func (x *AccumulateFilter) GetFilterMin() float64
- func (x *AccumulateFilter) GetIsNoFilter() bool
- func (x *AccumulateFilter) GetSortDir() int32
- func (*AccumulateFilter) ProtoMessage()
- func (x *AccumulateFilter) ProtoReflect() protoreflect.Message
- func (x *AccumulateFilter) Reset()
- func (x *AccumulateFilter) String() string
- type BaseData
- type BaseFilter
- func (*BaseFilter) Descriptor() ([]byte, []int)deprecated
- func (x *BaseFilter) GetFieldName() int32
- func (x *BaseFilter) GetFilterMax() float64
- func (x *BaseFilter) GetFilterMin() float64
- func (x *BaseFilter) GetIsNoFilter() bool
- func (x *BaseFilter) GetSortDir() int32
- func (*BaseFilter) ProtoMessage()
- func (x *BaseFilter) ProtoReflect() protoreflect.Message
- func (x *BaseFilter) Reset()
- func (x *BaseFilter) String() string
- type C2S
- func (*C2S) Descriptor() ([]byte, []int)deprecated
- func (x *C2S) GetAccumulateFilterList() []*AccumulateFilter
- func (x *C2S) GetBaseFilterList() []*BaseFilter
- func (x *C2S) GetBegin() int32
- func (x *C2S) GetCustomIndicatorFilterList() []*CustomIndicatorFilter
- func (x *C2S) GetFinancialFilterList() []*FinancialFilter
- func (x *C2S) GetMarket() int32
- func (x *C2S) GetNum() int32
- func (x *C2S) GetPatternFilterList() []*PatternFilter
- func (x *C2S) GetPlate() *qotcommon.Security
- func (*C2S) ProtoMessage()
- func (x *C2S) ProtoReflect() protoreflect.Message
- func (x *C2S) Reset()
- func (x *C2S) String() string
- type CustomIndicatorData
- func (*CustomIndicatorData) Descriptor() ([]byte, []int)deprecated
- func (x *CustomIndicatorData) GetFieldName() int32
- func (x *CustomIndicatorData) GetFieldParaList() []int32
- func (x *CustomIndicatorData) GetKlType() int32
- func (x *CustomIndicatorData) GetValue() float64
- func (*CustomIndicatorData) ProtoMessage()
- func (x *CustomIndicatorData) ProtoReflect() protoreflect.Message
- func (x *CustomIndicatorData) Reset()
- func (x *CustomIndicatorData) String() string
- type CustomIndicatorField
- func (CustomIndicatorField) Descriptor() protoreflect.EnumDescriptor
- func (x CustomIndicatorField) Enum() *CustomIndicatorField
- func (CustomIndicatorField) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomIndicatorField) Number() protoreflect.EnumNumber
- func (x CustomIndicatorField) String() string
- func (CustomIndicatorField) Type() protoreflect.EnumType
- func (x *CustomIndicatorField) UnmarshalJSON(b []byte) errordeprecated
- type CustomIndicatorFilter
- func (*CustomIndicatorFilter) Descriptor() ([]byte, []int)deprecated
- func (x *CustomIndicatorFilter) GetConsecutivePeriod() int32
- func (x *CustomIndicatorFilter) GetFieldValue() float64
- func (x *CustomIndicatorFilter) GetFirstFieldName() int32
- func (x *CustomIndicatorFilter) GetFirstFieldParaList() []int32
- func (x *CustomIndicatorFilter) GetIsNoFilter() bool
- func (x *CustomIndicatorFilter) GetKlType() int32
- func (x *CustomIndicatorFilter) GetRelativePosition() int32
- func (x *CustomIndicatorFilter) GetSecondFieldName() int32
- func (x *CustomIndicatorFilter) GetSecondFieldParaList() []int32
- func (*CustomIndicatorFilter) ProtoMessage()
- func (x *CustomIndicatorFilter) ProtoReflect() protoreflect.Message
- func (x *CustomIndicatorFilter) Reset()
- func (x *CustomIndicatorFilter) String() string
- type FinancialData
- func (*FinancialData) Descriptor() ([]byte, []int)deprecated
- func (x *FinancialData) GetFieldName() int32
- func (x *FinancialData) GetQuarter() int32
- func (x *FinancialData) GetValue() float64
- func (*FinancialData) ProtoMessage()
- func (x *FinancialData) ProtoReflect() protoreflect.Message
- func (x *FinancialData) Reset()
- func (x *FinancialData) String() string
- type FinancialField
- func (FinancialField) Descriptor() protoreflect.EnumDescriptor
- func (x FinancialField) Enum() *FinancialField
- func (FinancialField) EnumDescriptor() ([]byte, []int)deprecated
- func (x FinancialField) Number() protoreflect.EnumNumber
- func (x FinancialField) String() string
- func (FinancialField) Type() protoreflect.EnumType
- func (x *FinancialField) UnmarshalJSON(b []byte) errordeprecated
- type FinancialFilter
- func (*FinancialFilter) Descriptor() ([]byte, []int)deprecated
- func (x *FinancialFilter) GetFieldName() int32
- func (x *FinancialFilter) GetFilterMax() float64
- func (x *FinancialFilter) GetFilterMin() float64
- func (x *FinancialFilter) GetIsNoFilter() bool
- func (x *FinancialFilter) GetQuarter() int32
- func (x *FinancialFilter) GetSortDir() int32
- func (*FinancialFilter) ProtoMessage()
- func (x *FinancialFilter) ProtoReflect() protoreflect.Message
- func (x *FinancialFilter) Reset()
- func (x *FinancialFilter) String() string
- type FinancialQuarter
- func (FinancialQuarter) Descriptor() protoreflect.EnumDescriptor
- func (x FinancialQuarter) Enum() *FinancialQuarter
- func (FinancialQuarter) EnumDescriptor() ([]byte, []int)deprecated
- func (x FinancialQuarter) Number() protoreflect.EnumNumber
- func (x FinancialQuarter) String() string
- func (FinancialQuarter) Type() protoreflect.EnumType
- func (x *FinancialQuarter) UnmarshalJSON(b []byte) errordeprecated
- type PatternField
- func (PatternField) Descriptor() protoreflect.EnumDescriptor
- func (x PatternField) Enum() *PatternField
- func (PatternField) EnumDescriptor() ([]byte, []int)deprecated
- func (x PatternField) Number() protoreflect.EnumNumber
- func (x PatternField) String() string
- func (PatternField) Type() protoreflect.EnumType
- func (x *PatternField) UnmarshalJSON(b []byte) errordeprecated
- type PatternFilter
- func (*PatternFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PatternFilter) GetConsecutivePeriod() int32
- func (x *PatternFilter) GetFieldName() int32
- func (x *PatternFilter) GetIsNoFilter() bool
- func (x *PatternFilter) GetKlType() int32
- func (*PatternFilter) ProtoMessage()
- func (x *PatternFilter) ProtoReflect() protoreflect.Message
- func (x *PatternFilter) Reset()
- func (x *PatternFilter) String() string
- type RelativePosition
- func (RelativePosition) Descriptor() protoreflect.EnumDescriptor
- func (x RelativePosition) Enum() *RelativePosition
- func (RelativePosition) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelativePosition) Number() protoreflect.EnumNumber
- func (x RelativePosition) String() string
- func (RelativePosition) Type() protoreflect.EnumType
- func (x *RelativePosition) UnmarshalJSON(b []byte) errordeprecated
- type Request
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetErrCode() int32
- func (x *Response) GetRetMsg() string
- func (x *Response) GetRetType() int32
- func (x *Response) GetS2C() *S2C
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type S2C
- type SortDir
- func (SortDir) Descriptor() protoreflect.EnumDescriptor
- func (x SortDir) Enum() *SortDir
- func (SortDir) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortDir) Number() protoreflect.EnumNumber
- func (x SortDir) String() string
- func (SortDir) Type() protoreflect.EnumType
- func (x *SortDir) UnmarshalJSON(b []byte) errordeprecated
- type StockData
- func (*StockData) Descriptor() ([]byte, []int)deprecated
- func (x *StockData) GetAccumulateDataList() []*AccumulateData
- func (x *StockData) GetBaseDataList() []*BaseData
- func (x *StockData) GetCustomIndicatorDataList() []*CustomIndicatorData
- func (x *StockData) GetFinancialDataList() []*FinancialData
- func (x *StockData) GetName() string
- func (x *StockData) GetSecurity() *qotcommon.Security
- func (*StockData) ProtoMessage()
- func (x *StockData) ProtoReflect() protoreflect.Message
- func (x *StockData) Reset()
- func (x *StockData) String() string
- type StockField
- func (StockField) Descriptor() protoreflect.EnumDescriptor
- func (x StockField) Enum() *StockField
- func (StockField) EnumDescriptor() ([]byte, []int)deprecated
- func (x StockField) Number() protoreflect.EnumNumber
- func (x StockField) String() string
- func (StockField) Type() protoreflect.EnumType
- func (x *StockField) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const (
Default_Response_RetType = int32(-400)
)
Default values for Response fields.
Variables ¶
var ( StockField_name = map[int32]string{ 0: "StockField_Unknown", 1: "StockField_StockCode", 2: "StockField_StockName", 3: "StockField_CurPrice", 4: "StockField_CurPriceToHighest52WeeksRatio", 5: "StockField_CurPriceToLowest52WeeksRatio", 6: "StockField_HighPriceToHighest52WeeksRatio", 7: "StockField_LowPriceToLowest52WeeksRatio", 8: "StockField_VolumeRatio", 9: "StockField_BidAskRatio", 10: "StockField_LotPrice", 11: "StockField_MarketVal", 12: "StockField_PeAnnual", 13: "StockField_PeTTM", 14: "StockField_PbRate", 15: "StockField_ChangeRate5min", 16: "StockField_ChangeRateBeginYear", 17: "StockField_PSTTM", 18: "StockField_PCFTTM", 19: "StockField_TotalShare", 20: "StockField_FloatShare", 21: "StockField_FloatMarketVal", } StockField_value = map[string]int32{ "StockField_Unknown": 0, "StockField_StockCode": 1, "StockField_StockName": 2, "StockField_CurPrice": 3, "StockField_CurPriceToHighest52WeeksRatio": 4, "StockField_CurPriceToLowest52WeeksRatio": 5, "StockField_HighPriceToHighest52WeeksRatio": 6, "StockField_LowPriceToLowest52WeeksRatio": 7, "StockField_VolumeRatio": 8, "StockField_BidAskRatio": 9, "StockField_LotPrice": 10, "StockField_MarketVal": 11, "StockField_PeAnnual": 12, "StockField_PeTTM": 13, "StockField_PbRate": 14, "StockField_ChangeRate5min": 15, "StockField_ChangeRateBeginYear": 16, "StockField_PSTTM": 17, "StockField_PCFTTM": 18, "StockField_TotalShare": 19, "StockField_FloatShare": 20, "StockField_FloatMarketVal": 21, } )
Enum value maps for StockField.
var ( AccumulateField_name = map[int32]string{ 0: "AccumulateField_Unknown", 1: "AccumulateField_ChangeRate", 2: "AccumulateField_Amplitude", 3: "AccumulateField_Volume", 4: "AccumulateField_Turnover", 5: "AccumulateField_TurnoverRate", } AccumulateField_value = map[string]int32{ "AccumulateField_Unknown": 0, "AccumulateField_ChangeRate": 1, "AccumulateField_Amplitude": 2, "AccumulateField_Volume": 3, "AccumulateField_Turnover": 4, "AccumulateField_TurnoverRate": 5, } )
Enum value maps for AccumulateField.
var ( FinancialField_name = map[int32]string{ 0: "FinancialField_Unknown", 1: "FinancialField_NetProfit", 2: "FinancialField_NetProfitGrowth", 3: "FinancialField_SumOfBusiness", 4: "FinancialField_SumOfBusinessGrowth", 5: "FinancialField_NetProfitRate", 6: "FinancialField_GrossProfitRate", 7: "FinancialField_DebtAssetsRate", 8: "FinancialField_ReturnOnEquityRate", 9: "FinancialField_ROIC", 10: "FinancialField_ROATTM", 11: "FinancialField_EBITTTM", 12: "FinancialField_EBITDA", 13: "FinancialField_OperatingMarginTTM", 14: "FinancialField_EBITMargin", 15: "FinancialField_EBITDAMargin", 16: "FinancialField_FinancialCostRate", 17: "FinancialField_OperatingProfitTTM", 18: "FinancialField_ShareholderNetProfitTTM", 19: "FinancialField_NetProfitCashCoverTTM", 20: "FinancialField_CurrentRatio", 21: "FinancialField_QuickRatio", 22: "FinancialField_CurrentAssetRatio", 23: "FinancialField_CurrentDebtRatio", 24: "FinancialField_EquityMultiplier", 25: "FinancialField_PropertyRatio", 26: "FinancialField_CashAndCashEquivalents", 27: "FinancialField_TotalAssetTurnover", 28: "FinancialField_FixedAssetTurnover", 29: "FinancialField_InventoryTurnover", 30: "FinancialField_OperatingCashFlowTTM", 31: "FinancialField_AccountsReceivable", 32: "FinancialField_EBITGrowthRate", 33: "FinancialField_OperatingProfitGrowthRate", 34: "FinancialField_TotalAssetsGrowthRate", 35: "FinancialField_ProfitToShareholdersGrowthRate", 36: "FinancialField_ProfitBeforeTaxGrowthRate", 37: "FinancialField_EPSGrowthRate", 38: "FinancialField_ROEGrowthRate", 39: "FinancialField_ROICGrowthRate", 40: "FinancialField_NOCFGrowthRate", 41: "FinancialField_NOCFPerShareGrowthRate", 42: "FinancialField_OperatingRevenueCashCover", 43: "FinancialField_OperatingProfitToTotalProfit", 44: "FinancialField_BasicEPS", 45: "FinancialField_DilutedEPS", 46: "FinancialField_NOCFPerShare", } FinancialField_value = map[string]int32{ "FinancialField_Unknown": 0, "FinancialField_NetProfit": 1, "FinancialField_NetProfitGrowth": 2, "FinancialField_SumOfBusiness": 3, "FinancialField_SumOfBusinessGrowth": 4, "FinancialField_NetProfitRate": 5, "FinancialField_GrossProfitRate": 6, "FinancialField_DebtAssetsRate": 7, "FinancialField_ReturnOnEquityRate": 8, "FinancialField_ROIC": 9, "FinancialField_ROATTM": 10, "FinancialField_EBITTTM": 11, "FinancialField_EBITDA": 12, "FinancialField_OperatingMarginTTM": 13, "FinancialField_EBITMargin": 14, "FinancialField_EBITDAMargin": 15, "FinancialField_FinancialCostRate": 16, "FinancialField_OperatingProfitTTM": 17, "FinancialField_ShareholderNetProfitTTM": 18, "FinancialField_NetProfitCashCoverTTM": 19, "FinancialField_CurrentRatio": 20, "FinancialField_QuickRatio": 21, "FinancialField_CurrentAssetRatio": 22, "FinancialField_CurrentDebtRatio": 23, "FinancialField_EquityMultiplier": 24, "FinancialField_PropertyRatio": 25, "FinancialField_CashAndCashEquivalents": 26, "FinancialField_TotalAssetTurnover": 27, "FinancialField_FixedAssetTurnover": 28, "FinancialField_InventoryTurnover": 29, "FinancialField_OperatingCashFlowTTM": 30, "FinancialField_AccountsReceivable": 31, "FinancialField_EBITGrowthRate": 32, "FinancialField_OperatingProfitGrowthRate": 33, "FinancialField_TotalAssetsGrowthRate": 34, "FinancialField_ProfitToShareholdersGrowthRate": 35, "FinancialField_ProfitBeforeTaxGrowthRate": 36, "FinancialField_EPSGrowthRate": 37, "FinancialField_ROEGrowthRate": 38, "FinancialField_ROICGrowthRate": 39, "FinancialField_NOCFGrowthRate": 40, "FinancialField_NOCFPerShareGrowthRate": 41, "FinancialField_OperatingRevenueCashCover": 42, "FinancialField_OperatingProfitToTotalProfit": 43, "FinancialField_BasicEPS": 44, "FinancialField_DilutedEPS": 45, "FinancialField_NOCFPerShare": 46, } )
Enum value maps for FinancialField.
var ( CustomIndicatorField_name = map[int32]string{ 0: "CustomIndicatorField_Unknown", 1: "CustomIndicatorField_Price", 2: "CustomIndicatorField_MA5", 3: "CustomIndicatorField_MA10", 4: "CustomIndicatorField_MA20", 5: "CustomIndicatorField_MA30", 6: "CustomIndicatorField_MA60", 7: "CustomIndicatorField_MA120", 8: "CustomIndicatorField_MA250", 9: "CustomIndicatorField_RSI", 10: "CustomIndicatorField_EMA5", 11: "CustomIndicatorField_EMA10", 12: "CustomIndicatorField_EMA20", 13: "CustomIndicatorField_EMA30", 14: "CustomIndicatorField_EMA60", 15: "CustomIndicatorField_EMA120", 16: "CustomIndicatorField_EMA250", 17: "CustomIndicatorField_Value", 30: "CustomIndicatorField_MA", 40: "CustomIndicatorField_EMA", 50: "CustomIndicatorField_KDJ_K", 51: "CustomIndicatorField_KDJ_D", 52: "CustomIndicatorField_KDJ_J", 60: "CustomIndicatorField_MACD_DIFF", 61: "CustomIndicatorField_MACD_DEA", 62: "CustomIndicatorField_MACD", 70: "CustomIndicatorField_BOLL_UPPER", 71: "CustomIndicatorField_BOLL_MIDDLER", 72: "CustomIndicatorField_BOLL_LOWER", } CustomIndicatorField_value = map[string]int32{ "CustomIndicatorField_Unknown": 0, "CustomIndicatorField_Price": 1, "CustomIndicatorField_MA5": 2, "CustomIndicatorField_MA10": 3, "CustomIndicatorField_MA20": 4, "CustomIndicatorField_MA30": 5, "CustomIndicatorField_MA60": 6, "CustomIndicatorField_MA120": 7, "CustomIndicatorField_MA250": 8, "CustomIndicatorField_RSI": 9, "CustomIndicatorField_EMA5": 10, "CustomIndicatorField_EMA10": 11, "CustomIndicatorField_EMA20": 12, "CustomIndicatorField_EMA30": 13, "CustomIndicatorField_EMA60": 14, "CustomIndicatorField_EMA120": 15, "CustomIndicatorField_EMA250": 16, "CustomIndicatorField_Value": 17, "CustomIndicatorField_MA": 30, "CustomIndicatorField_EMA": 40, "CustomIndicatorField_KDJ_K": 50, "CustomIndicatorField_KDJ_D": 51, "CustomIndicatorField_KDJ_J": 52, "CustomIndicatorField_MACD_DIFF": 60, "CustomIndicatorField_MACD_DEA": 61, "CustomIndicatorField_MACD": 62, "CustomIndicatorField_BOLL_UPPER": 70, "CustomIndicatorField_BOLL_MIDDLER": 71, "CustomIndicatorField_BOLL_LOWER": 72, } )
Enum value maps for CustomIndicatorField.
var ( PatternField_name = map[int32]string{ 0: "PatternField_Unknown", 1: "PatternField_MAAlignmentLong", 2: "PatternField_MAAlignmentShort", 3: "PatternField_EMAAlignmentLong", 4: "PatternField_EMAAlignmentShort", 5: "PatternField_RSIGoldCrossLow", 6: "PatternField_RSIDeathCrossHigh", 7: "PatternField_RSITopDivergence", 8: "PatternField_RSIBottomDivergence", 9: "PatternField_KDJGoldCrossLow", 10: "PatternField_KDJDeathCrossHigh", 11: "PatternField_KDJTopDivergence", 12: "PatternField_KDJBottomDivergence", 13: "PatternField_MACDGoldCrossLow", 14: "PatternField_MACDDeathCrossHigh", 15: "PatternField_MACDTopDivergence", 16: "PatternField_MACDBottomDivergence", 17: "PatternField_BOLLBreakUpper", 18: "PatternField_BOLLLower", 19: "PatternField_BOLLCrossMiddleUp", 20: "PatternField_BOLLCrossMiddleDown", } PatternField_value = map[string]int32{ "PatternField_Unknown": 0, "PatternField_MAAlignmentLong": 1, "PatternField_MAAlignmentShort": 2, "PatternField_EMAAlignmentLong": 3, "PatternField_EMAAlignmentShort": 4, "PatternField_RSIGoldCrossLow": 5, "PatternField_RSIDeathCrossHigh": 6, "PatternField_RSITopDivergence": 7, "PatternField_RSIBottomDivergence": 8, "PatternField_KDJGoldCrossLow": 9, "PatternField_KDJDeathCrossHigh": 10, "PatternField_KDJTopDivergence": 11, "PatternField_KDJBottomDivergence": 12, "PatternField_MACDGoldCrossLow": 13, "PatternField_MACDDeathCrossHigh": 14, "PatternField_MACDTopDivergence": 15, "PatternField_MACDBottomDivergence": 16, "PatternField_BOLLBreakUpper": 17, "PatternField_BOLLLower": 18, "PatternField_BOLLCrossMiddleUp": 19, "PatternField_BOLLCrossMiddleDown": 20, } )
Enum value maps for PatternField.
var ( FinancialQuarter_name = map[int32]string{ 0: "FinancialQuarter_Unknown", 1: "FinancialQuarter_Annual", 2: "FinancialQuarter_FirstQuarter", 3: "FinancialQuarter_Interim", 4: "FinancialQuarter_ThirdQuarter", 5: "FinancialQuarter_MostRecentQuarter", } FinancialQuarter_value = map[string]int32{ "FinancialQuarter_Unknown": 0, "FinancialQuarter_Annual": 1, "FinancialQuarter_FirstQuarter": 2, "FinancialQuarter_Interim": 3, "FinancialQuarter_ThirdQuarter": 4, "FinancialQuarter_MostRecentQuarter": 5, } )
Enum value maps for FinancialQuarter.
var ( RelativePosition_name = map[int32]string{ 0: "RelativePosition_Unknown", 1: "RelativePosition_More", 2: "RelativePosition_Less", 3: "RelativePosition_CrossUp", 4: "RelativePosition_CrossDown", } RelativePosition_value = map[string]int32{ "RelativePosition_Unknown": 0, "RelativePosition_More": 1, "RelativePosition_Less": 2, "RelativePosition_CrossUp": 3, "RelativePosition_CrossDown": 4, } )
Enum value maps for RelativePosition.
var ( SortDir_name = map[int32]string{ 0: "SortDir_No", 1: "SortDir_Ascend", 2: "SortDir_Descend", } SortDir_value = map[string]int32{ "SortDir_No": 0, "SortDir_Ascend": 1, "SortDir_Descend": 2, } )
Enum value maps for SortDir.
var File_Qot_StockFilter_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccumulateData ¶
type AccumulateData struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // AccumulateField 累积属性 Value *float64 `protobuf:"fixed64,2,req,name=value" json:"value,omitempty"` Days *int32 `protobuf:"varint,3,req,name=days" json:"days,omitempty"` // 近几日,累积时间 // contains filtered or unexported fields }
累积属性数据
func (*AccumulateData) Descriptor
deprecated
func (*AccumulateData) Descriptor() ([]byte, []int)
Deprecated: Use AccumulateData.ProtoReflect.Descriptor instead.
func (*AccumulateData) GetDays ¶
func (x *AccumulateData) GetDays() int32
func (*AccumulateData) GetFieldName ¶
func (x *AccumulateData) GetFieldName() int32
func (*AccumulateData) GetValue ¶
func (x *AccumulateData) GetValue() float64
func (*AccumulateData) ProtoMessage ¶
func (*AccumulateData) ProtoMessage()
func (*AccumulateData) ProtoReflect ¶
func (x *AccumulateData) ProtoReflect() protoreflect.Message
func (*AccumulateData) Reset ¶
func (x *AccumulateData) Reset()
func (*AccumulateData) String ¶
func (x *AccumulateData) String() string
type AccumulateField ¶
type AccumulateField int32
累积属性
const ( AccumulateField_AccumulateField_Unknown AccumulateField = 0 // 未知 AccumulateField_AccumulateField_ChangeRate AccumulateField = 1 // 涨跌幅(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-10.2,20.4]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) AccumulateField_AccumulateField_Amplitude AccumulateField = 2 // 振幅(精确到小数点后 3 位,超出部分会被舍弃)例如填写[0.5,20.6]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) AccumulateField_AccumulateField_Volume AccumulateField = 3 // 日均成交量(精确到小数点后 0 位,超出部分会被舍弃)例如填写[2000,70000]值区间(精确到小数点后 0 位,超出部分会被舍弃) AccumulateField_AccumulateField_Turnover AccumulateField = 4 // 日均成交额(精确到小数点后 3 位,超出部分会被舍弃)例如填写[1400,890000]值区间 AccumulateField_AccumulateField_TurnoverRate AccumulateField = 5 // 换手率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[2,30]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) )
func (AccumulateField) Descriptor ¶
func (AccumulateField) Descriptor() protoreflect.EnumDescriptor
func (AccumulateField) Enum ¶
func (x AccumulateField) Enum() *AccumulateField
func (AccumulateField) EnumDescriptor
deprecated
func (AccumulateField) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccumulateField.Descriptor instead.
func (AccumulateField) Number ¶
func (x AccumulateField) Number() protoreflect.EnumNumber
func (AccumulateField) String ¶
func (x AccumulateField) String() string
func (AccumulateField) Type ¶
func (AccumulateField) Type() protoreflect.EnumType
func (*AccumulateField) UnmarshalJSON
deprecated
func (x *AccumulateField) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type AccumulateFilter ¶
type AccumulateFilter struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // AccumulateField 累积属性 FilterMin *float64 `protobuf:"fixed64,2,opt,name=filterMin" json:"filterMin,omitempty"` // 区间下限(闭区间),不传代表下限为 -∞ FilterMax *float64 `protobuf:"fixed64,3,opt,name=filterMax" json:"filterMax,omitempty"` // 区间上限(闭区间),不传代表上限为 +∞ IsNoFilter *bool `protobuf:"varint,4,opt,name=isNoFilter" json:"isNoFilter,omitempty"` // 该字段是否不需要筛选,True:不筛选,False:筛选。不传默认不筛选 SortDir *int32 `protobuf:"varint,5,opt,name=sortDir" json:"sortDir,omitempty"` // SortDir 排序方向,默认不排序。 Days *int32 `protobuf:"varint,6,req,name=days" json:"days,omitempty"` // 近几日,累积时间 // contains filtered or unexported fields }
累积属性筛选
func (*AccumulateFilter) Descriptor
deprecated
func (*AccumulateFilter) Descriptor() ([]byte, []int)
Deprecated: Use AccumulateFilter.ProtoReflect.Descriptor instead.
func (*AccumulateFilter) GetDays ¶
func (x *AccumulateFilter) GetDays() int32
func (*AccumulateFilter) GetFieldName ¶
func (x *AccumulateFilter) GetFieldName() int32
func (*AccumulateFilter) GetFilterMax ¶
func (x *AccumulateFilter) GetFilterMax() float64
func (*AccumulateFilter) GetFilterMin ¶
func (x *AccumulateFilter) GetFilterMin() float64
func (*AccumulateFilter) GetIsNoFilter ¶
func (x *AccumulateFilter) GetIsNoFilter() bool
func (*AccumulateFilter) GetSortDir ¶
func (x *AccumulateFilter) GetSortDir() int32
func (*AccumulateFilter) ProtoMessage ¶
func (*AccumulateFilter) ProtoMessage()
func (*AccumulateFilter) ProtoReflect ¶
func (x *AccumulateFilter) ProtoReflect() protoreflect.Message
func (*AccumulateFilter) Reset ¶
func (x *AccumulateFilter) Reset()
func (*AccumulateFilter) String ¶
func (x *AccumulateFilter) String() string
type BaseData ¶
type BaseData struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // StockField 简单属性 Value *float64 `protobuf:"fixed64,2,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
简单属性数据
func (*BaseData) Descriptor
deprecated
func (*BaseData) GetFieldName ¶
func (*BaseData) ProtoMessage ¶
func (*BaseData) ProtoMessage()
func (*BaseData) ProtoReflect ¶
func (x *BaseData) ProtoReflect() protoreflect.Message
type BaseFilter ¶
type BaseFilter struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // StockField 简单属性 FilterMin *float64 `protobuf:"fixed64,2,opt,name=filterMin" json:"filterMin,omitempty"` // 区间下限(闭区间),不传代表下限为 -∞ FilterMax *float64 `protobuf:"fixed64,3,opt,name=filterMax" json:"filterMax,omitempty"` // 区间上限(闭区间),不传代表上限为 +∞ IsNoFilter *bool `protobuf:"varint,4,opt,name=isNoFilter" json:"isNoFilter,omitempty"` // 该字段是否不需要筛选,True:不筛选,False:筛选。不传默认不筛选 SortDir *int32 `protobuf:"varint,5,opt,name=sortDir" json:"sortDir,omitempty"` // SortDir 排序方向,默认不排序。 // contains filtered or unexported fields }
简单属性筛选
func (*BaseFilter) Descriptor
deprecated
func (*BaseFilter) Descriptor() ([]byte, []int)
Deprecated: Use BaseFilter.ProtoReflect.Descriptor instead.
func (*BaseFilter) GetFieldName ¶
func (x *BaseFilter) GetFieldName() int32
func (*BaseFilter) GetFilterMax ¶
func (x *BaseFilter) GetFilterMax() float64
func (*BaseFilter) GetFilterMin ¶
func (x *BaseFilter) GetFilterMin() float64
func (*BaseFilter) GetIsNoFilter ¶
func (x *BaseFilter) GetIsNoFilter() bool
func (*BaseFilter) GetSortDir ¶
func (x *BaseFilter) GetSortDir() int32
func (*BaseFilter) ProtoMessage ¶
func (*BaseFilter) ProtoMessage()
func (*BaseFilter) ProtoReflect ¶
func (x *BaseFilter) ProtoReflect() protoreflect.Message
func (*BaseFilter) Reset ¶
func (x *BaseFilter) Reset()
func (*BaseFilter) String ¶
func (x *BaseFilter) String() string
type C2S ¶
type C2S struct { Begin *int32 `protobuf:"varint,1,req,name=begin" json:"begin,omitempty"` // 数据起始点 Num *int32 `protobuf:"varint,2,req,name=num" json:"num,omitempty"` // 请求数据个数,最大200 Market *int32 `protobuf:"varint,3,req,name=market" json:"market,omitempty"` // Qot_Common::QotMarket股票市场,支持沪股和深股,且沪股和深股不做区分都代表A股市场。 // 以下为筛选条件,可选字段,不填表示不过滤 Plate *qotcommon.Security `protobuf:"bytes,4,opt,name=plate" json:"plate,omitempty"` // 板块 BaseFilterList []*BaseFilter `protobuf:"bytes,5,rep,name=baseFilterList" json:"baseFilterList,omitempty"` // 简单指标过滤器 AccumulateFilterList []*AccumulateFilter `protobuf:"bytes,6,rep,name=accumulateFilterList" json:"accumulateFilterList,omitempty"` // 累积指标过滤器 FinancialFilterList []*FinancialFilter `protobuf:"bytes,7,rep,name=financialFilterList" json:"financialFilterList,omitempty"` // 财务指标过滤器 PatternFilterList []*PatternFilter `protobuf:"bytes,8,rep,name=patternFilterList" json:"patternFilterList,omitempty"` // 形态技术指标过滤器 CustomIndicatorFilterList []*CustomIndicatorFilter `protobuf:"bytes,9,rep,name=customIndicatorFilterList" json:"customIndicatorFilterList,omitempty"` // 自定义技术指标过滤器 // contains filtered or unexported fields }
func (*C2S) Descriptor
deprecated
func (*C2S) GetAccumulateFilterList ¶
func (x *C2S) GetAccumulateFilterList() []*AccumulateFilter
func (*C2S) GetBaseFilterList ¶
func (x *C2S) GetBaseFilterList() []*BaseFilter
func (*C2S) GetCustomIndicatorFilterList ¶
func (x *C2S) GetCustomIndicatorFilterList() []*CustomIndicatorFilter
func (*C2S) GetFinancialFilterList ¶
func (x *C2S) GetFinancialFilterList() []*FinancialFilter
func (*C2S) GetPatternFilterList ¶
func (x *C2S) GetPatternFilterList() []*PatternFilter
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
func (*C2S) ProtoReflect ¶
func (x *C2S) ProtoReflect() protoreflect.Message
type CustomIndicatorData ¶
type CustomIndicatorData struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // CustomIndicatorField 自定义技术指标属性 Value *float64 `protobuf:"fixed64,2,req,name=value" json:"value,omitempty"` KlType *int32 `protobuf:"varint,3,req,name=klType" json:"klType,omitempty"` // Qot_Common.KLType,K线类型,仅支持K_60M,K_DAY,K_WEEK,K_MON 四种时间周期 FieldParaList []int32 `protobuf:"varint,4,rep,name=fieldParaList" json:"fieldParaList,omitempty"` // 自定义指标参数 根据指标类型进行传参:1. MA:[平均移动周期] 2.EMA:[指数移动平均周期] 3.RSI:[RSI 指标周期] 4.MACD:[快速平均线值, 慢速平均线值, DIF值] 5.BOLL:[均线周期, 偏移值] 6.KDJ:[RSV 周期, K 值计算周期, D 值计算周期] // contains filtered or unexported fields }
自定义技术指标属性数据
func (*CustomIndicatorData) Descriptor
deprecated
func (*CustomIndicatorData) Descriptor() ([]byte, []int)
Deprecated: Use CustomIndicatorData.ProtoReflect.Descriptor instead.
func (*CustomIndicatorData) GetFieldName ¶
func (x *CustomIndicatorData) GetFieldName() int32
func (*CustomIndicatorData) GetFieldParaList ¶
func (x *CustomIndicatorData) GetFieldParaList() []int32
func (*CustomIndicatorData) GetKlType ¶
func (x *CustomIndicatorData) GetKlType() int32
func (*CustomIndicatorData) GetValue ¶
func (x *CustomIndicatorData) GetValue() float64
func (*CustomIndicatorData) ProtoMessage ¶
func (*CustomIndicatorData) ProtoMessage()
func (*CustomIndicatorData) ProtoReflect ¶
func (x *CustomIndicatorData) ProtoReflect() protoreflect.Message
func (*CustomIndicatorData) Reset ¶
func (x *CustomIndicatorData) Reset()
func (*CustomIndicatorData) String ¶
func (x *CustomIndicatorData) String() string
type CustomIndicatorField ¶
type CustomIndicatorField int32
自定义技术指标属性
const ( CustomIndicatorField_CustomIndicatorField_Unknown CustomIndicatorField = 0 // 未知 CustomIndicatorField_CustomIndicatorField_Price CustomIndicatorField = 1 // 最新价格 CustomIndicatorField_CustomIndicatorField_MA5 CustomIndicatorField = 2 // 5日简单均线(不建议使用) CustomIndicatorField_CustomIndicatorField_MA10 CustomIndicatorField = 3 // 10日简单均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_MA20 CustomIndicatorField = 4 // 20日简单均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_MA30 CustomIndicatorField = 5 // 30日简单均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_MA60 CustomIndicatorField = 6 // 60日简单均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_MA120 CustomIndicatorField = 7 // 120日简单均线(不建议使用) CustomIndicatorField_CustomIndicatorField_MA250 CustomIndicatorField = 8 // 250日简单均线(不建议使用) CustomIndicatorField_CustomIndicatorField_RSI CustomIndicatorField = 9 // RSI 指标参数的默认值为12 CustomIndicatorField_CustomIndicatorField_EMA5 CustomIndicatorField = 10 // 5日指数移动均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_EMA10 CustomIndicatorField = 11 // 10日指数移动均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_EMA20 CustomIndicatorField = 12 // 20日指数移动均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_EMA30 CustomIndicatorField = 13 // 30日指数移动均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_EMA60 CustomIndicatorField = 14 // 60日指数移动均线 (不建议使用) CustomIndicatorField_CustomIndicatorField_EMA120 CustomIndicatorField = 15 // 120日指数移动均线(不建议使用) CustomIndicatorField_CustomIndicatorField_EMA250 CustomIndicatorField = 16 // 250日指数移动均线(不建议使用) CustomIndicatorField_CustomIndicatorField_Value CustomIndicatorField = 17 // 自定义数值(stock_field1 不支持此字段) CustomIndicatorField_CustomIndicatorField_MA CustomIndicatorField = 30 // 简单均线 CustomIndicatorField_CustomIndicatorField_EMA CustomIndicatorField = 40 // 指数移动均线 CustomIndicatorField_CustomIndicatorField_KDJ_K CustomIndicatorField = 50 // KDJ 指标的 K 值。指标参数需要根据 KDJ 进行传参。不传则默认为 [9,3,3] CustomIndicatorField_CustomIndicatorField_KDJ_D CustomIndicatorField = 51 // KDJ 指标的 D 值。指标参数需要根据 KDJ 进行传参。不传则默认为 [9,3,3] CustomIndicatorField_CustomIndicatorField_KDJ_J CustomIndicatorField = 52 // KDJ 指标的 J 值。指标参数需要根据 KDJ 进行传参。不传则默认为 [9,3,3] CustomIndicatorField_CustomIndicatorField_MACD_DIFF CustomIndicatorField = 60 // MACD 指标的 DIFF 值。指标参数需要根据 MACD 进行传参。不传则默认为 [12,26,9] CustomIndicatorField_CustomIndicatorField_MACD_DEA CustomIndicatorField = 61 // MACD 指标的 DEA 值。指标参数需要根据 MACD 进行传参。不传则默认为 [12,26,9] CustomIndicatorField_CustomIndicatorField_MACD CustomIndicatorField = 62 // MACD 指标的 MACD 值。指标参数需要根据 MACD 进行传参。不传则默认为 [12,26,9] CustomIndicatorField_CustomIndicatorField_BOLL_UPPER CustomIndicatorField = 70 // BOLL 指标的 UPPER 值。指标参数需要根据 BOLL 进行传参。不传则默认为 [20,2] CustomIndicatorField_CustomIndicatorField_BOLL_MIDDLER CustomIndicatorField = 71 // BOLL 指标的 MIDDLER 值。指标参数需要根据 BOLL 进行传参。不传则默认为 [20,2] CustomIndicatorField_CustomIndicatorField_BOLL_LOWER CustomIndicatorField = 72 // BOLL 指标的 LOWER 值。指标参数需要根据 BOLL 进行传参。不传则默认为 [20,2] )
func (CustomIndicatorField) Descriptor ¶
func (CustomIndicatorField) Descriptor() protoreflect.EnumDescriptor
func (CustomIndicatorField) Enum ¶
func (x CustomIndicatorField) Enum() *CustomIndicatorField
func (CustomIndicatorField) EnumDescriptor
deprecated
func (CustomIndicatorField) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomIndicatorField.Descriptor instead.
func (CustomIndicatorField) Number ¶
func (x CustomIndicatorField) Number() protoreflect.EnumNumber
func (CustomIndicatorField) String ¶
func (x CustomIndicatorField) String() string
func (CustomIndicatorField) Type ¶
func (CustomIndicatorField) Type() protoreflect.EnumType
func (*CustomIndicatorField) UnmarshalJSON
deprecated
func (x *CustomIndicatorField) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CustomIndicatorFilter ¶
type CustomIndicatorFilter struct { FirstFieldName *int32 `protobuf:"varint,1,req,name=firstFieldName" json:"firstFieldName,omitempty"` // CustomIndicatorField 自定义技术指标属性 SecondFieldName *int32 `protobuf:"varint,2,req,name=secondFieldName" json:"secondFieldName,omitempty"` // CustomIndicatorField 自定义技术指标属性 RelativePosition *int32 `protobuf:"varint,3,req,name=relativePosition" json:"relativePosition,omitempty"` // RelativePosition 相对位置 FieldValue *float64 `protobuf:"fixed64,4,opt,name=fieldValue" json:"fieldValue,omitempty"` // 自定义数值。当 stock_field2 选择自定义数值时,value 为必传参数。支持与KDJ_K,KDJ_D,KDJ_J,MACD_DIFF,MACD_DEA,MACD,BOLL_UPPER,BOLL_MIDDLER,BOLL_LOWER 进行比较(stock_field1 不支持此字段) KlType *int32 `protobuf:"varint,5,req,name=klType" json:"klType,omitempty"` // Qot_Common.KLType,K线类型,仅支持K_60M,K_DAY,K_WEEK,K_MON 四种时间周期 IsNoFilter *bool `protobuf:"varint,6,opt,name=isNoFilter" json:"isNoFilter,omitempty"` // 该字段是否不需要筛选,True代表不筛选,False代表筛选。不传默认为不筛选 FirstFieldParaList []int32 `protobuf:"varint,7,rep,name=firstFieldParaList" json:"firstFieldParaList,omitempty"` // 自定义指标参数 根据指标类型进行传参:1. MA:[平均移动周期] 2.EMA:[指数移动平均周期] 3.RSI:[RSI 指标周期] 4.MACD:[快速平均线值, 慢速平均线值, DIF值] 5.BOLL:[均线周期, 偏移值] 6.KDJ:[RSV 周期, K 值计算周期, D 值计算周期] SecondFieldParaList []int32 `protobuf:"varint,8,rep,name=secondFieldParaList" json:"secondFieldParaList,omitempty"` // 自定义指标参数 根据指标类型进行传参:1. MA:[平均移动周期] 2.EMA:[指数移动平均周期] 3.RSI:[RSI 指标周期] 4.MACD:[快速平均线值, 慢速平均线值, DIF值] 5.BOLL:[均线周期, 偏移值] 6.KDJ:[RSV 周期, K 值计算周期, D 值计算周期] ConsecutivePeriod *int32 `protobuf:"varint,9,opt,name=consecutivePeriod" json:"consecutivePeriod,omitempty"` // 筛选连续周期都符合条件的数据,填写范围为[1,12] // contains filtered or unexported fields }
自定义技术指标属性筛选
func (*CustomIndicatorFilter) Descriptor
deprecated
func (*CustomIndicatorFilter) Descriptor() ([]byte, []int)
Deprecated: Use CustomIndicatorFilter.ProtoReflect.Descriptor instead.
func (*CustomIndicatorFilter) GetConsecutivePeriod ¶
func (x *CustomIndicatorFilter) GetConsecutivePeriod() int32
func (*CustomIndicatorFilter) GetFieldValue ¶
func (x *CustomIndicatorFilter) GetFieldValue() float64
func (*CustomIndicatorFilter) GetFirstFieldName ¶
func (x *CustomIndicatorFilter) GetFirstFieldName() int32
func (*CustomIndicatorFilter) GetFirstFieldParaList ¶
func (x *CustomIndicatorFilter) GetFirstFieldParaList() []int32
func (*CustomIndicatorFilter) GetIsNoFilter ¶
func (x *CustomIndicatorFilter) GetIsNoFilter() bool
func (*CustomIndicatorFilter) GetKlType ¶
func (x *CustomIndicatorFilter) GetKlType() int32
func (*CustomIndicatorFilter) GetRelativePosition ¶
func (x *CustomIndicatorFilter) GetRelativePosition() int32
func (*CustomIndicatorFilter) GetSecondFieldName ¶
func (x *CustomIndicatorFilter) GetSecondFieldName() int32
func (*CustomIndicatorFilter) GetSecondFieldParaList ¶
func (x *CustomIndicatorFilter) GetSecondFieldParaList() []int32
func (*CustomIndicatorFilter) ProtoMessage ¶
func (*CustomIndicatorFilter) ProtoMessage()
func (*CustomIndicatorFilter) ProtoReflect ¶
func (x *CustomIndicatorFilter) ProtoReflect() protoreflect.Message
func (*CustomIndicatorFilter) Reset ¶
func (x *CustomIndicatorFilter) Reset()
func (*CustomIndicatorFilter) String ¶
func (x *CustomIndicatorFilter) String() string
type FinancialData ¶
type FinancialData struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // FinancialField 财务属性 Value *float64 `protobuf:"fixed64,2,req,name=value" json:"value,omitempty"` Quarter *int32 `protobuf:"varint,3,req,name=quarter" json:"quarter,omitempty"` // FinancialQuarter 财报累积时间 // contains filtered or unexported fields }
财务属性数据
func (*FinancialData) Descriptor
deprecated
func (*FinancialData) Descriptor() ([]byte, []int)
Deprecated: Use FinancialData.ProtoReflect.Descriptor instead.
func (*FinancialData) GetFieldName ¶
func (x *FinancialData) GetFieldName() int32
func (*FinancialData) GetQuarter ¶
func (x *FinancialData) GetQuarter() int32
func (*FinancialData) GetValue ¶
func (x *FinancialData) GetValue() float64
func (*FinancialData) ProtoMessage ¶
func (*FinancialData) ProtoMessage()
func (*FinancialData) ProtoReflect ¶
func (x *FinancialData) ProtoReflect() protoreflect.Message
func (*FinancialData) Reset ¶
func (x *FinancialData) Reset()
func (*FinancialData) String ¶
func (x *FinancialData) String() string
type FinancialField ¶
type FinancialField int32
财务属性
const ( // 基础财务属性 FinancialField_FinancialField_Unknown FinancialField = 0 // 未知 FinancialField_FinancialField_NetProfit FinancialField = 1 // 净利润(精确到小数点后 3 位,超出部分会被舍弃)例如填写[100000000,2500000000]值区间 FinancialField_FinancialField_NetProfitGrowth FinancialField = 2 // 净利润增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-10,300]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_SumOfBusiness FinancialField = 3 // 营业收入(精确到小数点后 3 位,超出部分会被舍弃)例如填写[100000000,6400000000]值区间 FinancialField_FinancialField_SumOfBusinessGrowth FinancialField = 4 // 营收同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-5,200]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_NetProfitRate FinancialField = 5 // 净利率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[10,113]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_GrossProfitRate FinancialField = 6 // 毛利率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[4,65]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_DebtAssetsRate FinancialField = 7 // 资产负债率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[5,470]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_ReturnOnEquityRate FinancialField = 8 // 净资产收益率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[20,230]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) // 盈利能力属性 FinancialField_FinancialField_ROIC FinancialField = 9 // 投入资本回报率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_ROATTM FinancialField = 10 // 资产回报率 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。仅适用于年报。) FinancialField_FinancialField_EBITTTM FinancialField = 11 // 息税前利润 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间(单位:元。仅适用于年报。) FinancialField_FinancialField_EBITDA FinancialField = 12 // 税息折旧及摊销前利润(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间(单位:元) FinancialField_FinancialField_OperatingMarginTTM FinancialField = 13 // 营业利润率 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。仅适用于年报。) FinancialField_FinancialField_EBITMargin FinancialField = 14 // EBIT利润率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_EBITDAMargin FinancialField = 15 // EBITDA利润率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_FinancialCostRate FinancialField = 16 // 财务成本率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_OperatingProfitTTM FinancialField = 17 // 营业利润 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间 (单位:元。仅适用于年报。) FinancialField_FinancialField_NetProfitCashCoverTTM FinancialField = 19 // 盈利中的现金收入比例(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,60.0] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。仅适用于年报。) // 偿债能力属性 FinancialField_FinancialField_CurrentRatio FinancialField = 20 // 流动比率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [100,250] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_QuickRatio FinancialField = 21 // 速动比率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [100,250] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) // 清债能力属性 FinancialField_FinancialField_CurrentAssetRatio FinancialField = 22 // 流动资产率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [10,100] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_CurrentDebtRatio FinancialField = 23 // 流动负债率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [10,100] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_EquityMultiplier FinancialField = 24 // 权益乘数(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [100,180] 值区间 FinancialField_FinancialField_PropertyRatio FinancialField = 25 // 产权比率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [50,100] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_CashAndCashEquivalents FinancialField = 26 // 现金和现金等价(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间(单位:元) // 运营能力属性 FinancialField_FinancialField_TotalAssetTurnover FinancialField = 27 // 总资产周转率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [50,100] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_FixedAssetTurnover FinancialField = 28 // 固定资产周转率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [50,100] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_InventoryTurnover FinancialField = 29 // 存货周转率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [50,100] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_OperatingCashFlowTTM FinancialField = 30 // 经营活动现金流 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间(单位:元。仅适用于年报。) FinancialField_FinancialField_AccountsReceivable FinancialField = 31 // 应收账款净额(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间 例如填写 [1000000000,1000000000] 值区间 (单位:元) // 成长能力属性 FinancialField_FinancialField_EBITGrowthRate FinancialField = 32 // EBIT同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_OperatingProfitGrowthRate FinancialField = 33 // 营业利润同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_TotalAssetsGrowthRate FinancialField = 34 // 总资产同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_ProfitBeforeTaxGrowthRate FinancialField = 36 // 总利润同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_EPSGrowthRate FinancialField = 37 // EPS同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_ROEGrowthRate FinancialField = 38 // ROE同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_ROICGrowthRate FinancialField = 39 // ROIC同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_NOCFGrowthRate FinancialField = 40 // 经营现金流同比增长率(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1.0,10.0] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) // 现金流属性 FinancialField_FinancialField_OperatingRevenueCashCover FinancialField = 42 // 经营现金收入比(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [10,100] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) FinancialField_FinancialField_OperatingProfitToTotalProfit FinancialField = 43 // 营业利润占比(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [10,100] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) // 市场表现属性 FinancialField_FinancialField_BasicEPS FinancialField = 44 // 基本每股收益(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [0.1,10] 值区间 (单位:元) FinancialField_FinancialField_DilutedEPS FinancialField = 45 // 稀释每股收益(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [0.1,10] 值区间 (单位:元) )
func (FinancialField) Descriptor ¶
func (FinancialField) Descriptor() protoreflect.EnumDescriptor
func (FinancialField) Enum ¶
func (x FinancialField) Enum() *FinancialField
func (FinancialField) EnumDescriptor
deprecated
func (FinancialField) EnumDescriptor() ([]byte, []int)
Deprecated: Use FinancialField.Descriptor instead.
func (FinancialField) Number ¶
func (x FinancialField) Number() protoreflect.EnumNumber
func (FinancialField) String ¶
func (x FinancialField) String() string
func (FinancialField) Type ¶
func (FinancialField) Type() protoreflect.EnumType
func (*FinancialField) UnmarshalJSON
deprecated
func (x *FinancialField) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type FinancialFilter ¶
type FinancialFilter struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // FinancialField 财务属性 FilterMin *float64 `protobuf:"fixed64,2,opt,name=filterMin" json:"filterMin,omitempty"` // 区间下限(闭区间),不传代表下限为 -∞ FilterMax *float64 `protobuf:"fixed64,3,opt,name=filterMax" json:"filterMax,omitempty"` // 区间上限(闭区间),不传代表上限为 +∞ IsNoFilter *bool `protobuf:"varint,4,opt,name=isNoFilter" json:"isNoFilter,omitempty"` // 该字段是否不需要筛选,True:不筛选,False:筛选。不传默认不筛选 SortDir *int32 `protobuf:"varint,5,opt,name=sortDir" json:"sortDir,omitempty"` // SortDir 排序方向,默认不排序。 Quarter *int32 `protobuf:"varint,6,req,name=quarter" json:"quarter,omitempty"` // FinancialQuarter 财报累积时间 // contains filtered or unexported fields }
财务属性筛选
func (*FinancialFilter) Descriptor
deprecated
func (*FinancialFilter) Descriptor() ([]byte, []int)
Deprecated: Use FinancialFilter.ProtoReflect.Descriptor instead.
func (*FinancialFilter) GetFieldName ¶
func (x *FinancialFilter) GetFieldName() int32
func (*FinancialFilter) GetFilterMax ¶
func (x *FinancialFilter) GetFilterMax() float64
func (*FinancialFilter) GetFilterMin ¶
func (x *FinancialFilter) GetFilterMin() float64
func (*FinancialFilter) GetIsNoFilter ¶
func (x *FinancialFilter) GetIsNoFilter() bool
func (*FinancialFilter) GetQuarter ¶
func (x *FinancialFilter) GetQuarter() int32
func (*FinancialFilter) GetSortDir ¶
func (x *FinancialFilter) GetSortDir() int32
func (*FinancialFilter) ProtoMessage ¶
func (*FinancialFilter) ProtoMessage()
func (*FinancialFilter) ProtoReflect ¶
func (x *FinancialFilter) ProtoReflect() protoreflect.Message
func (*FinancialFilter) Reset ¶
func (x *FinancialFilter) Reset()
func (*FinancialFilter) String ¶
func (x *FinancialFilter) String() string
type FinancialQuarter ¶
type FinancialQuarter int32
财务时间周期
const ( FinancialQuarter_FinancialQuarter_Unknown FinancialQuarter = 0 // 未知 FinancialQuarter_FinancialQuarter_Annual FinancialQuarter = 1 // 年报 FinancialQuarter_FinancialQuarter_FirstQuarter FinancialQuarter = 2 // 一季报 FinancialQuarter_FinancialQuarter_Interim FinancialQuarter = 3 // 中报 FinancialQuarter_FinancialQuarter_ThirdQuarter FinancialQuarter = 4 // 三季报 FinancialQuarter_FinancialQuarter_MostRecentQuarter FinancialQuarter = 5 // 最近季报 )
func (FinancialQuarter) Descriptor ¶
func (FinancialQuarter) Descriptor() protoreflect.EnumDescriptor
func (FinancialQuarter) Enum ¶
func (x FinancialQuarter) Enum() *FinancialQuarter
func (FinancialQuarter) EnumDescriptor
deprecated
func (FinancialQuarter) EnumDescriptor() ([]byte, []int)
Deprecated: Use FinancialQuarter.Descriptor instead.
func (FinancialQuarter) Number ¶
func (x FinancialQuarter) Number() protoreflect.EnumNumber
func (FinancialQuarter) String ¶
func (x FinancialQuarter) String() string
func (FinancialQuarter) Type ¶
func (FinancialQuarter) Type() protoreflect.EnumType
func (*FinancialQuarter) UnmarshalJSON
deprecated
func (x *FinancialQuarter) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type PatternField ¶
type PatternField int32
形态技术指标属性
const ( PatternField_PatternField_Unknown PatternField = 0 // 未知 PatternField_PatternField_MAAlignmentLong PatternField = 1 // MA多头排列(连续两天MA5>MA10>MA20>MA30>MA60,且当日收盘价大于前一天收盘价) PatternField_PatternField_MAAlignmentShort PatternField = 2 // MA空头排列(连续两天MA5 <MA10 <MA20 <MA30 <MA60,且当日收盘价小于前一天收盘价) PatternField_PatternField_EMAAlignmentLong PatternField = 3 // EMA多头排列(连续两天EMA5>EMA10>EMA20>EMA30>EMA60,且当日收盘价大于前一天收盘价) PatternField_PatternField_EMAAlignmentShort PatternField = 4 // EMA空头排列(连续两天EMA5 <EMA10 <EMA20 <EMA30 <EMA60,且当日收盘价小于前一天收盘价) PatternField_PatternField_RSIGoldCrossLow PatternField = 5 // RSI低位金叉(50以下,短线RSI上穿长线RSI(前一日短线RSI小于长线RSI,当日短线RSI大于长线RSI)) PatternField_PatternField_RSIDeathCrossHigh PatternField = 6 // RSI高位死叉(50以上,短线RSI下穿长线RSI(前一日短线RSI大于长线RSI,当日短线RSI小于长线RSI)) PatternField_PatternField_RSITopDivergence PatternField = 7 // RSI顶背离(相邻的两个K线波峰,后面的波峰对应的CLOSE>前面的波峰对应的CLOSE,后面波峰的RSI12值 <前面波峰的RSI12值) PatternField_PatternField_RSIBottomDivergence PatternField = 8 // RSI底背离(相邻的两个K线波谷,后面的波谷对应的CLOSE <前面的波谷对应的CLOSE,后面波谷的RSI12值>前面波谷的RSI12值) PatternField_PatternField_KDJGoldCrossLow PatternField = 9 // KDJ低位金叉(KDJ的值都小于或等于30,且前一日K,J值分别小于D值,当日K,J值分别大于D值) PatternField_PatternField_KDJDeathCrossHigh PatternField = 10 // KDJ高位死叉(KDJ的值都大于或等于70,且前一日K,J值分别大于D值,当日K,J值分别小于D值) PatternField_PatternField_KDJTopDivergence PatternField = 11 // KDJ顶背离(相邻的两个K线波峰,后面的波峰对应的CLOSE>前面的波峰对应的CLOSE,后面波峰的J值 <前面波峰的J值) PatternField_PatternField_KDJBottomDivergence PatternField = 12 // KDJ底背离(相邻的两个K线波谷,后面的波谷对应的CLOSE <前面的波谷对应的CLOSE,后面波谷的J值>前面波谷的J值) PatternField_PatternField_MACDGoldCrossLow PatternField = 13 // MACD低位金叉(DIFF上穿DEA(前一日DIFF小于DEA,当日DIFF大于DEA)) PatternField_PatternField_MACDDeathCrossHigh PatternField = 14 // MACD高位死叉(DIFF下穿DEA(前一日DIFF大于DEA,当日DIFF小于DEA)) PatternField_PatternField_MACDTopDivergence PatternField = 15 // MACD顶背离(相邻的两个K线波峰,后面的波峰对应的CLOSE>前面的波峰对应的CLOSE,后面波峰的macd值 <前面波峰的macd值) PatternField_PatternField_MACDBottomDivergence PatternField = 16 // MACD底背离(相邻的两个K线波谷,后面的波谷对应的CLOSE <前面的波谷对应的CLOSE,后面波谷的macd值>前面波谷的macd值) PatternField_PatternField_BOLLBreakUpper PatternField = 17 // BOLL突破上轨(前一日股价低于上轨值,当日股价大于上轨值) PatternField_PatternField_BOLLLower PatternField = 18 // BOLL突破下轨(前一日股价高于下轨值,当日股价小于下轨值) PatternField_PatternField_BOLLCrossMiddleUp PatternField = 19 // BOLL向上破中轨(前一日股价低于中轨值,当日股价大于中轨值) PatternField_PatternField_BOLLCrossMiddleDown PatternField = 20 // BOLL向下破中轨(前一日股价大于中轨值,当日股价小于中轨值) )
func (PatternField) Descriptor ¶
func (PatternField) Descriptor() protoreflect.EnumDescriptor
func (PatternField) Enum ¶
func (x PatternField) Enum() *PatternField
func (PatternField) EnumDescriptor
deprecated
func (PatternField) EnumDescriptor() ([]byte, []int)
Deprecated: Use PatternField.Descriptor instead.
func (PatternField) Number ¶
func (x PatternField) Number() protoreflect.EnumNumber
func (PatternField) String ¶
func (x PatternField) String() string
func (PatternField) Type ¶
func (PatternField) Type() protoreflect.EnumType
func (*PatternField) UnmarshalJSON
deprecated
func (x *PatternField) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type PatternFilter ¶
type PatternFilter struct { FieldName *int32 `protobuf:"varint,1,req,name=fieldName" json:"fieldName,omitempty"` // PatternField 形态技术指标属性 KlType *int32 `protobuf:"varint,2,req,name=klType" json:"klType,omitempty"` // Qot_Common.KLType,K线类型,仅支持K_60M,K_DAY,K_WEEK,K_MON 四种时间周期 IsNoFilter *bool `protobuf:"varint,3,opt,name=isNoFilter" json:"isNoFilter,omitempty"` // 该字段是否不需要筛选,True代表不筛选,False代表筛选。不传默认为不筛选 ConsecutivePeriod *int32 `protobuf:"varint,4,opt,name=consecutivePeriod" json:"consecutivePeriod,omitempty"` // 筛选连续周期都符合条件的数据,填写范围为[1,12] // contains filtered or unexported fields }
形态技术指标属性筛选
func (*PatternFilter) Descriptor
deprecated
func (*PatternFilter) Descriptor() ([]byte, []int)
Deprecated: Use PatternFilter.ProtoReflect.Descriptor instead.
func (*PatternFilter) GetConsecutivePeriod ¶
func (x *PatternFilter) GetConsecutivePeriod() int32
func (*PatternFilter) GetFieldName ¶
func (x *PatternFilter) GetFieldName() int32
func (*PatternFilter) GetIsNoFilter ¶
func (x *PatternFilter) GetIsNoFilter() bool
func (*PatternFilter) GetKlType ¶
func (x *PatternFilter) GetKlType() int32
func (*PatternFilter) ProtoMessage ¶
func (*PatternFilter) ProtoMessage()
func (*PatternFilter) ProtoReflect ¶
func (x *PatternFilter) ProtoReflect() protoreflect.Message
func (*PatternFilter) Reset ¶
func (x *PatternFilter) Reset()
func (*PatternFilter) String ¶
func (x *PatternFilter) String() string
type RelativePosition ¶
type RelativePosition int32
相对位置比较
const ( RelativePosition_RelativePosition_Unknown RelativePosition = 0 // 未知 RelativePosition_RelativePosition_More RelativePosition = 1 // 大于,first位于second的上方 RelativePosition_RelativePosition_Less RelativePosition = 2 // 小于,first位于second的下方 RelativePosition_RelativePosition_CrossUp RelativePosition = 3 // 升穿,first从下往上穿second RelativePosition_RelativePosition_CrossDown RelativePosition = 4 // 跌穿,first从上往下穿second )
func (RelativePosition) Descriptor ¶
func (RelativePosition) Descriptor() protoreflect.EnumDescriptor
func (RelativePosition) Enum ¶
func (x RelativePosition) Enum() *RelativePosition
func (RelativePosition) EnumDescriptor
deprecated
func (RelativePosition) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelativePosition.Descriptor instead.
func (RelativePosition) Number ¶
func (x RelativePosition) Number() protoreflect.EnumNumber
func (RelativePosition) String ¶
func (x RelativePosition) String() string
func (RelativePosition) Type ¶
func (RelativePosition) Type() protoreflect.EnumType
func (*RelativePosition) UnmarshalJSON
deprecated
func (x *RelativePosition) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { RetType *int32 `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"` // RetType,返回结果 RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` ErrCode *int32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` S2C *S2C `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type S2C ¶
type S2C struct { LastPage *bool `protobuf:"varint,1,req,name=lastPage" json:"lastPage,omitempty"` // 是否最后一页了,false:非最后一页,还有窝轮记录未返回; true:已是最后一页 AllCount *int32 `protobuf:"varint,2,req,name=allCount" json:"allCount,omitempty"` // 该条件请求所有数据的个数 DataList []*StockData `protobuf:"bytes,3,rep,name=dataList" json:"dataList,omitempty"` // 返回的股票数据列表 // contains filtered or unexported fields }
func (*S2C) Descriptor
deprecated
func (*S2C) GetAllCount ¶
func (*S2C) GetDataList ¶
func (*S2C) GetLastPage ¶
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
func (*S2C) ProtoReflect ¶
func (x *S2C) ProtoReflect() protoreflect.Message
type SortDir ¶
type SortDir int32
排序方向
func (SortDir) Descriptor ¶
func (SortDir) Descriptor() protoreflect.EnumDescriptor
func (SortDir) EnumDescriptor
deprecated
func (SortDir) Number ¶
func (x SortDir) Number() protoreflect.EnumNumber
func (SortDir) Type ¶
func (SortDir) Type() protoreflect.EnumType
func (*SortDir) UnmarshalJSON
deprecated
type StockData ¶
type StockData struct { Security *qotcommon.Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"` // 股票 Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // 股票名称 BaseDataList []*BaseData `protobuf:"bytes,3,rep,name=baseDataList" json:"baseDataList,omitempty"` // 筛选后的简单指标属性数据 AccumulateDataList []*AccumulateData `protobuf:"bytes,4,rep,name=accumulateDataList" json:"accumulateDataList,omitempty"` // 筛选后的累积指标属性数据 FinancialDataList []*FinancialData `protobuf:"bytes,5,rep,name=financialDataList" json:"financialDataList,omitempty"` // 筛选后的财务指标属性数据 CustomIndicatorDataList []*CustomIndicatorData `protobuf:"bytes,6,rep,name=customIndicatorDataList" json:"customIndicatorDataList,omitempty"` // 自定义技术指标属性数据 // contains filtered or unexported fields }
返回的股票数据
func (*StockData) Descriptor
deprecated
func (*StockData) GetAccumulateDataList ¶
func (x *StockData) GetAccumulateDataList() []*AccumulateData
func (*StockData) GetBaseDataList ¶
func (*StockData) GetCustomIndicatorDataList ¶
func (x *StockData) GetCustomIndicatorDataList() []*CustomIndicatorData
func (*StockData) GetFinancialDataList ¶
func (x *StockData) GetFinancialDataList() []*FinancialData
func (*StockData) GetSecurity ¶
func (*StockData) ProtoMessage ¶
func (*StockData) ProtoMessage()
func (*StockData) ProtoReflect ¶
func (x *StockData) ProtoReflect() protoreflect.Message
type StockField ¶
type StockField int32
简单属性
const ( StockField_StockField_Unknown StockField = 0 // 未知 StockField_StockField_StockCode StockField = 1 // 股票代码,不能填区间上下限值。 StockField_StockField_StockName StockField = 2 // 股票名称,不能填区间上下限值。 StockField_StockField_CurPrice StockField = 3 // 最新价(精确到小数点后 3 位,超出部分会被舍弃)例如填写[10,20]值区间 StockField_StockField_CurPriceToHighest52WeeksRatio StockField = 4 // (现价 - 52周最高)/52周最高,对应PC端离52周高点百分比(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-30,-10]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%,如20实际对应20%) StockField_StockField_CurPriceToLowest52WeeksRatio StockField = 5 // (现价 - 52周最低)/52周最低,对应PC端离52周低点百分比(精确到小数点后 3 位,超出部分会被舍弃)例如填写[20,40]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_HighPriceToHighest52WeeksRatio StockField = 6 // (今日最高 - 52周最高)/52周最高(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-3,-1]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_LowPriceToLowest52WeeksRatio StockField = 7 // (今日最低 - 52周最低)/52周最低(精确到小数点后 3 位,超出部分会被舍弃)例如填写[10,70]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_VolumeRatio StockField = 8 // 量比(精确到小数点后 3 位,超出部分会被舍弃)例如填写[0.5,30]值区间 StockField_StockField_BidAskRatio StockField = 9 // 委比(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-20,80.5]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_LotPrice StockField = 10 // 每手价格(精确到小数点后 3 位,超出部分会被舍弃)例如填写[40,100]值区间 StockField_StockField_MarketVal StockField = 11 // 市值(精确到小数点后 3 位,超出部分会被舍弃)例如填写[50000000,3000000000]值区间 StockField_StockField_PeAnnual StockField = 12 // 市盈率(静态)(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-8,65.3]值区间 StockField_StockField_PeTTM StockField = 13 // 市盈率 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-10,20.5]值区间 StockField_StockField_PbRate StockField = 14 // 市净率(精确到小数点后 3 位,超出部分会被舍弃)例如填写[0.5,20]值区间 StockField_StockField_ChangeRate5min StockField = 15 // 五分钟价格涨跌幅(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-5,6.3]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_ChangeRateBeginYear StockField = 16 // 年初至今价格涨跌幅(精确到小数点后 3 位,超出部分会被舍弃)例如填写[-50.1,400.7]值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) // 基础量价属性 StockField_StockField_PSTTM StockField = 17 // 市销率 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [100, 500] 值区间(该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_PCFTTM StockField = 18 // 市现率 TTM(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [100, 1000] 值区间 (该字段为百分比字段,默认不展示 %,如 20 实际对应 20%) StockField_StockField_FloatMarketVal StockField = 21 // 流通市值(精确到小数点后 3 位,超出部分会被舍弃)例如填写 [1000000000,1000000000] 值区间 (单位:元) )
func (StockField) Descriptor ¶
func (StockField) Descriptor() protoreflect.EnumDescriptor
func (StockField) Enum ¶
func (x StockField) Enum() *StockField
func (StockField) EnumDescriptor
deprecated
func (StockField) EnumDescriptor() ([]byte, []int)
Deprecated: Use StockField.Descriptor instead.
func (StockField) Number ¶
func (x StockField) Number() protoreflect.EnumNumber
func (StockField) String ¶
func (x StockField) String() string
func (StockField) Type ¶
func (StockField) Type() protoreflect.EnumType
func (*StockField) UnmarshalJSON
deprecated
func (x *StockField) UnmarshalJSON(b []byte) error
Deprecated: Do not use.