Qot_GetWarrant

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

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

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

Documentation

Overview

Package Qot_GetWarrant is a generated protocol buffer package.

It is generated from these files:

Qot_GetWarrant.proto

It has these top-level messages:

C2S
WarrantData
S2C
Request
Response

Index

Constants

View Source
const Default_Response_RetType int32 = -400

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	SortField *int32 `protobuf:"varint,3,req,name=sortField" json:"sortField,omitempty"`
	Ascend    *bool  `protobuf:"varint,4,req,name=ascend" json:"ascend,omitempty"`
	// 以下为筛选条件,可选字段,不填表示不过滤
	Owner                 *Qot_Common.Security `protobuf:"bytes,5,opt,name=owner" json:"owner,omitempty"`
	TypeList              []int32              `protobuf:"varint,6,rep,name=typeList" json:"typeList,omitempty"`
	IssuerList            []int32              `protobuf:"varint,7,rep,name=issuerList" json:"issuerList,omitempty"`
	MaturityTimeMin       *string              `protobuf:"bytes,8,opt,name=maturityTimeMin" json:"maturityTimeMin,omitempty"`
	MaturityTimeMax       *string              `protobuf:"bytes,9,opt,name=maturityTimeMax" json:"maturityTimeMax,omitempty"`
	IpoPeriod             *int32               `protobuf:"varint,10,opt,name=ipoPeriod" json:"ipoPeriod,omitempty"`
	PriceType             *int32               `protobuf:"varint,11,opt,name=priceType" json:"priceType,omitempty"`
	Status                *int32               `protobuf:"varint,12,opt,name=status" json:"status,omitempty"`
	CurPriceMin           *float64             `protobuf:"fixed64,13,opt,name=curPriceMin" json:"curPriceMin,omitempty"`
	CurPriceMax           *float64             `protobuf:"fixed64,14,opt,name=curPriceMax" json:"curPriceMax,omitempty"`
	StrikePriceMin        *float64             `protobuf:"fixed64,15,opt,name=strikePriceMin" json:"strikePriceMin,omitempty"`
	StrikePriceMax        *float64             `protobuf:"fixed64,16,opt,name=strikePriceMax" json:"strikePriceMax,omitempty"`
	StreetMin             *float64             `protobuf:"fixed64,17,opt,name=streetMin" json:"streetMin,omitempty"`
	StreetMax             *float64             `protobuf:"fixed64,18,opt,name=streetMax" json:"streetMax,omitempty"`
	ConversionMin         *float64             `protobuf:"fixed64,19,opt,name=conversionMin" json:"conversionMin,omitempty"`
	ConversionMax         *float64             `protobuf:"fixed64,20,opt,name=conversionMax" json:"conversionMax,omitempty"`
	VolMin                *uint64              `protobuf:"varint,21,opt,name=volMin" json:"volMin,omitempty"`
	VolMax                *uint64              `protobuf:"varint,22,opt,name=volMax" json:"volMax,omitempty"`
	PremiumMin            *float64             `protobuf:"fixed64,23,opt,name=premiumMin" json:"premiumMin,omitempty"`
	PremiumMax            *float64             `protobuf:"fixed64,24,opt,name=premiumMax" json:"premiumMax,omitempty"`
	LeverageRatioMin      *float64             `protobuf:"fixed64,25,opt,name=leverageRatioMin" json:"leverageRatioMin,omitempty"`
	LeverageRatioMax      *float64             `protobuf:"fixed64,26,opt,name=leverageRatioMax" json:"leverageRatioMax,omitempty"`
	DeltaMin              *float64             `protobuf:"fixed64,27,opt,name=deltaMin" json:"deltaMin,omitempty"`
	DeltaMax              *float64             `protobuf:"fixed64,28,opt,name=deltaMax" json:"deltaMax,omitempty"`
	ImpliedMin            *float64             `protobuf:"fixed64,29,opt,name=impliedMin" json:"impliedMin,omitempty"`
	ImpliedMax            *float64             `protobuf:"fixed64,30,opt,name=impliedMax" json:"impliedMax,omitempty"`
	RecoveryPriceMin      *float64             `protobuf:"fixed64,31,opt,name=recoveryPriceMin" json:"recoveryPriceMin,omitempty"`
	RecoveryPriceMax      *float64             `protobuf:"fixed64,32,opt,name=recoveryPriceMax" json:"recoveryPriceMax,omitempty"`
	PriceRecoveryRatioMin *float64             `protobuf:"fixed64,33,opt,name=priceRecoveryRatioMin" json:"priceRecoveryRatioMin,omitempty"`
	PriceRecoveryRatioMax *float64             `protobuf:"fixed64,34,opt,name=priceRecoveryRatioMax" json:"priceRecoveryRatioMax,omitempty"`
	XXX_unrecognized      []byte               `json:"-"`
}

func (*C2S) Descriptor

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

func (*C2S) GetAscend

func (m *C2S) GetAscend() bool

func (*C2S) GetBegin

func (m *C2S) GetBegin() int32

func (*C2S) GetConversionMax

func (m *C2S) GetConversionMax() float64

func (*C2S) GetConversionMin

func (m *C2S) GetConversionMin() float64

func (*C2S) GetCurPriceMax

func (m *C2S) GetCurPriceMax() float64

func (*C2S) GetCurPriceMin

func (m *C2S) GetCurPriceMin() float64

func (*C2S) GetDeltaMax

func (m *C2S) GetDeltaMax() float64

func (*C2S) GetDeltaMin

func (m *C2S) GetDeltaMin() float64

func (*C2S) GetImpliedMax

func (m *C2S) GetImpliedMax() float64

func (*C2S) GetImpliedMin

func (m *C2S) GetImpliedMin() float64

func (*C2S) GetIpoPeriod

func (m *C2S) GetIpoPeriod() int32

func (*C2S) GetIssuerList

func (m *C2S) GetIssuerList() []int32

func (*C2S) GetLeverageRatioMax

func (m *C2S) GetLeverageRatioMax() float64

func (*C2S) GetLeverageRatioMin

func (m *C2S) GetLeverageRatioMin() float64

func (*C2S) GetMaturityTimeMax

func (m *C2S) GetMaturityTimeMax() string

func (*C2S) GetMaturityTimeMin

func (m *C2S) GetMaturityTimeMin() string

func (*C2S) GetNum

func (m *C2S) GetNum() int32

func (*C2S) GetOwner

func (m *C2S) GetOwner() *Qot_Common.Security

func (*C2S) GetPremiumMax

func (m *C2S) GetPremiumMax() float64

func (*C2S) GetPremiumMin

func (m *C2S) GetPremiumMin() float64

func (*C2S) GetPriceRecoveryRatioMax

func (m *C2S) GetPriceRecoveryRatioMax() float64

func (*C2S) GetPriceRecoveryRatioMin

func (m *C2S) GetPriceRecoveryRatioMin() float64

func (*C2S) GetPriceType

func (m *C2S) GetPriceType() int32

func (*C2S) GetRecoveryPriceMax

func (m *C2S) GetRecoveryPriceMax() float64

func (*C2S) GetRecoveryPriceMin

func (m *C2S) GetRecoveryPriceMin() float64

func (*C2S) GetSortField

func (m *C2S) GetSortField() int32

func (*C2S) GetStatus

func (m *C2S) GetStatus() int32

func (*C2S) GetStreetMax

func (m *C2S) GetStreetMax() float64

func (*C2S) GetStreetMin

func (m *C2S) GetStreetMin() float64

func (*C2S) GetStrikePriceMax

func (m *C2S) GetStrikePriceMax() float64

func (*C2S) GetStrikePriceMin

func (m *C2S) GetStrikePriceMin() float64

func (*C2S) GetTypeList

func (m *C2S) GetTypeList() []int32

func (*C2S) GetVolMax

func (m *C2S) GetVolMax() uint64

func (*C2S) GetVolMin

func (m *C2S) GetVolMin() uint64

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) Reset

func (m *C2S) Reset()

func (*C2S) String

func (m *C2S) String() string

type Request

type Request struct {
	C2S              *C2S   `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetC2S

func (m *Request) GetC2S() *C2S

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	RetType          *int32  `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"`
	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"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetErrCode

func (m *Response) GetErrCode() int32

func (*Response) GetRetMsg

func (m *Response) GetRetMsg() string

func (*Response) GetRetType

func (m *Response) GetRetType() int32

func (*Response) GetS2C

func (m *Response) GetS2C() *S2C

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type S2C

type S2C struct {
	LastPage         *bool          `protobuf:"varint,1,req,name=lastPage" json:"lastPage,omitempty"`
	AllCount         *int32         `protobuf:"varint,2,req,name=allCount" json:"allCount,omitempty"`
	WarrantDataList  []*WarrantData `protobuf:"bytes,3,rep,name=warrantDataList" json:"warrantDataList,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*S2C) Descriptor

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

func (*S2C) GetAllCount

func (m *S2C) GetAllCount() int32

func (*S2C) GetLastPage

func (m *S2C) GetLastPage() bool

func (*S2C) GetWarrantDataList

func (m *S2C) GetWarrantDataList() []*WarrantData

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

type WarrantData

type WarrantData struct {
	// 静态数据项
	Stock              *Qot_Common.Security `protobuf:"bytes,1,req,name=stock" json:"stock,omitempty"`
	Owner              *Qot_Common.Security `protobuf:"bytes,2,req,name=owner" json:"owner,omitempty"`
	Type               *int32               `protobuf:"varint,3,req,name=type" json:"type,omitempty"`
	Issuer             *int32               `protobuf:"varint,4,req,name=issuer" json:"issuer,omitempty"`
	MaturityTime       *string              `protobuf:"bytes,5,req,name=maturityTime" json:"maturityTime,omitempty"`
	MaturityTimestamp  *float64             `protobuf:"fixed64,6,opt,name=maturityTimestamp" json:"maturityTimestamp,omitempty"`
	ListTime           *string              `protobuf:"bytes,7,req,name=listTime" json:"listTime,omitempty"`
	ListTimestamp      *float64             `protobuf:"fixed64,8,opt,name=listTimestamp" json:"listTimestamp,omitempty"`
	LastTradeTime      *string              `protobuf:"bytes,9,req,name=lastTradeTime" json:"lastTradeTime,omitempty"`
	LastTradeTimestamp *float64             `protobuf:"fixed64,10,opt,name=lastTradeTimestamp" json:"lastTradeTimestamp,omitempty"`
	RecoveryPrice      *float64             `protobuf:"fixed64,11,opt,name=recoveryPrice" json:"recoveryPrice,omitempty"`
	ConversionRatio    *float64             `protobuf:"fixed64,12,req,name=conversionRatio" json:"conversionRatio,omitempty"`
	LotSize            *int32               `protobuf:"varint,13,req,name=lotSize" json:"lotSize,omitempty"`
	StrikePrice        *float64             `protobuf:"fixed64,14,req,name=strikePrice" json:"strikePrice,omitempty"`
	LastClosePrice     *float64             `protobuf:"fixed64,15,req,name=lastClosePrice" json:"lastClosePrice,omitempty"`
	Name               *string              `protobuf:"bytes,16,req,name=name" json:"name,omitempty"`
	// 动态数据项
	CurPrice           *float64 `protobuf:"fixed64,17,req,name=curPrice" json:"curPrice,omitempty"`
	PriceChangeVal     *float64 `protobuf:"fixed64,18,req,name=priceChangeVal" json:"priceChangeVal,omitempty"`
	ChangeRate         *float64 `protobuf:"fixed64,19,req,name=changeRate" json:"changeRate,omitempty"`
	Status             *int32   `protobuf:"varint,20,req,name=status" json:"status,omitempty"`
	BidPrice           *float64 `protobuf:"fixed64,21,req,name=bidPrice" json:"bidPrice,omitempty"`
	AskPrice           *float64 `protobuf:"fixed64,22,req,name=askPrice" json:"askPrice,omitempty"`
	BidVol             *int64   `protobuf:"varint,23,req,name=bidVol" json:"bidVol,omitempty"`
	AskVol             *int64   `protobuf:"varint,24,req,name=askVol" json:"askVol,omitempty"`
	Volume             *int64   `protobuf:"varint,25,req,name=volume" json:"volume,omitempty"`
	Turnover           *float64 `protobuf:"fixed64,26,req,name=turnover" json:"turnover,omitempty"`
	Score              *float64 `protobuf:"fixed64,27,req,name=score" json:"score,omitempty"`
	Premium            *float64 `protobuf:"fixed64,28,req,name=premium" json:"premium,omitempty"`
	BreakEvenPoint     *float64 `protobuf:"fixed64,29,req,name=breakEvenPoint" json:"breakEvenPoint,omitempty"`
	Leverage           *float64 `protobuf:"fixed64,30,req,name=leverage" json:"leverage,omitempty"`
	Ipop               *float64 `protobuf:"fixed64,31,req,name=ipop" json:"ipop,omitempty"`
	PriceRecoveryRatio *float64 `protobuf:"fixed64,32,opt,name=priceRecoveryRatio" json:"priceRecoveryRatio,omitempty"`
	ConversionPrice    *float64 `protobuf:"fixed64,33,req,name=conversionPrice" json:"conversionPrice,omitempty"`
	StreetRate         *float64 `protobuf:"fixed64,34,req,name=streetRate" json:"streetRate,omitempty"`
	StreetVol          *int64   `protobuf:"varint,35,req,name=streetVol" json:"streetVol,omitempty"`
	Amplitude          *float64 `protobuf:"fixed64,36,req,name=amplitude" json:"amplitude,omitempty"`
	IssueSize          *int64   `protobuf:"varint,37,req,name=issueSize" json:"issueSize,omitempty"`
	HighPrice          *float64 `protobuf:"fixed64,39,req,name=highPrice" json:"highPrice,omitempty"`
	LowPrice           *float64 `protobuf:"fixed64,40,req,name=lowPrice" json:"lowPrice,omitempty"`
	ImpliedVolatility  *float64 `protobuf:"fixed64,41,opt,name=impliedVolatility" json:"impliedVolatility,omitempty"`
	Delta              *float64 `protobuf:"fixed64,42,opt,name=delta" json:"delta,omitempty"`
	EffectiveLeverage  *float64 `protobuf:"fixed64,43,req,name=effectiveLeverage" json:"effectiveLeverage,omitempty"`
	UpperStrikePrice   *float64 `protobuf:"fixed64,44,opt,name=upperStrikePrice" json:"upperStrikePrice,omitempty"`
	LowerStrikePrice   *float64 `protobuf:"fixed64,45,opt,name=lowerStrikePrice" json:"lowerStrikePrice,omitempty"`
	InLinePriceStatus  *int32   `protobuf:"varint,46,opt,name=inLinePriceStatus" json:"inLinePriceStatus,omitempty"`
	XXX_unrecognized   []byte   `json:"-"`
}

func (*WarrantData) Descriptor

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

func (*WarrantData) GetAmplitude

func (m *WarrantData) GetAmplitude() float64

func (*WarrantData) GetAskPrice

func (m *WarrantData) GetAskPrice() float64

func (*WarrantData) GetAskVol

func (m *WarrantData) GetAskVol() int64

func (*WarrantData) GetBidPrice

func (m *WarrantData) GetBidPrice() float64

func (*WarrantData) GetBidVol

func (m *WarrantData) GetBidVol() int64

func (*WarrantData) GetBreakEvenPoint

func (m *WarrantData) GetBreakEvenPoint() float64

func (*WarrantData) GetChangeRate

func (m *WarrantData) GetChangeRate() float64

func (*WarrantData) GetConversionPrice

func (m *WarrantData) GetConversionPrice() float64

func (*WarrantData) GetConversionRatio

func (m *WarrantData) GetConversionRatio() float64

func (*WarrantData) GetCurPrice

func (m *WarrantData) GetCurPrice() float64

func (*WarrantData) GetDelta

func (m *WarrantData) GetDelta() float64

func (*WarrantData) GetEffectiveLeverage

func (m *WarrantData) GetEffectiveLeverage() float64

func (*WarrantData) GetHighPrice

func (m *WarrantData) GetHighPrice() float64

func (*WarrantData) GetImpliedVolatility

func (m *WarrantData) GetImpliedVolatility() float64

func (*WarrantData) GetInLinePriceStatus

func (m *WarrantData) GetInLinePriceStatus() int32

func (*WarrantData) GetIpop

func (m *WarrantData) GetIpop() float64

func (*WarrantData) GetIssueSize

func (m *WarrantData) GetIssueSize() int64

func (*WarrantData) GetIssuer

func (m *WarrantData) GetIssuer() int32

func (*WarrantData) GetLastClosePrice

func (m *WarrantData) GetLastClosePrice() float64

func (*WarrantData) GetLastTradeTime

func (m *WarrantData) GetLastTradeTime() string

func (*WarrantData) GetLastTradeTimestamp

func (m *WarrantData) GetLastTradeTimestamp() float64

func (*WarrantData) GetLeverage

func (m *WarrantData) GetLeverage() float64

func (*WarrantData) GetListTime

func (m *WarrantData) GetListTime() string

func (*WarrantData) GetListTimestamp

func (m *WarrantData) GetListTimestamp() float64

func (*WarrantData) GetLotSize

func (m *WarrantData) GetLotSize() int32

func (*WarrantData) GetLowPrice

func (m *WarrantData) GetLowPrice() float64

func (*WarrantData) GetLowerStrikePrice

func (m *WarrantData) GetLowerStrikePrice() float64

func (*WarrantData) GetMaturityTime

func (m *WarrantData) GetMaturityTime() string

func (*WarrantData) GetMaturityTimestamp

func (m *WarrantData) GetMaturityTimestamp() float64

func (*WarrantData) GetName

func (m *WarrantData) GetName() string

func (*WarrantData) GetOwner

func (m *WarrantData) GetOwner() *Qot_Common.Security

func (*WarrantData) GetPremium

func (m *WarrantData) GetPremium() float64

func (*WarrantData) GetPriceChangeVal

func (m *WarrantData) GetPriceChangeVal() float64

func (*WarrantData) GetPriceRecoveryRatio

func (m *WarrantData) GetPriceRecoveryRatio() float64

func (*WarrantData) GetRecoveryPrice

func (m *WarrantData) GetRecoveryPrice() float64

func (*WarrantData) GetScore

func (m *WarrantData) GetScore() float64

func (*WarrantData) GetStatus

func (m *WarrantData) GetStatus() int32

func (*WarrantData) GetStock

func (m *WarrantData) GetStock() *Qot_Common.Security

func (*WarrantData) GetStreetRate

func (m *WarrantData) GetStreetRate() float64

func (*WarrantData) GetStreetVol

func (m *WarrantData) GetStreetVol() int64

func (*WarrantData) GetStrikePrice

func (m *WarrantData) GetStrikePrice() float64

func (*WarrantData) GetTurnover

func (m *WarrantData) GetTurnover() float64

func (*WarrantData) GetType

func (m *WarrantData) GetType() int32

func (*WarrantData) GetUpperStrikePrice

func (m *WarrantData) GetUpperStrikePrice() float64

func (*WarrantData) GetVolume

func (m *WarrantData) GetVolume() int64

func (*WarrantData) ProtoMessage

func (*WarrantData) ProtoMessage()

func (*WarrantData) Reset

func (m *WarrantData) Reset()

func (*WarrantData) String

func (m *WarrantData) String() string

Jump to

Keyboard shortcuts

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