qotgetipolist

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_Response_RetType = int32(-400)
)

Default values for Response fields.

Variables

View Source
var File_Qot_GetIpoList_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BasicIpoData

type BasicIpoData struct {
	Security      *qotcommon.Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"`             // Qot_Common::QotMarket 股票市场,支持港股、美股和 A股。其中,A 股整体返回,不区分沪股和深股。
	Name          *string             `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`                     // 股票名称
	ListTime      *string             `protobuf:"bytes,3,opt,name=listTime" json:"listTime,omitempty"`             // 上市日期字符串
	ListTimestamp *float64            `protobuf:"fixed64,4,opt,name=listTimestamp" json:"listTimestamp,omitempty"` // 上市日期时间戳
	// contains filtered or unexported fields
}

Ipo基本数据

func (*BasicIpoData) Descriptor deprecated

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

Deprecated: Use BasicIpoData.ProtoReflect.Descriptor instead.

func (*BasicIpoData) GetListTime

func (x *BasicIpoData) GetListTime() string

func (*BasicIpoData) GetListTimestamp

func (x *BasicIpoData) GetListTimestamp() float64

func (*BasicIpoData) GetName

func (x *BasicIpoData) GetName() string

func (*BasicIpoData) GetSecurity

func (x *BasicIpoData) GetSecurity() *qotcommon.Security

func (*BasicIpoData) ProtoMessage

func (*BasicIpoData) ProtoMessage()

func (*BasicIpoData) ProtoReflect

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

func (*BasicIpoData) Reset

func (x *BasicIpoData) Reset()

func (*BasicIpoData) String

func (x *BasicIpoData) String() string

type C2S

type C2S struct {
	Market *int32 `protobuf:"varint,1,req,name=market" json:"market,omitempty"` // Qot_Common::QotMarket股票市场,支持沪股和深股,且沪股和深股不做区分都代表A股市场。
	// contains filtered or unexported fields
}

func (*C2S) Descriptor deprecated

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

Deprecated: Use C2S.ProtoReflect.Descriptor instead.

func (*C2S) GetMarket

func (x *C2S) GetMarket() int32

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) ProtoReflect

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

func (*C2S) Reset

func (x *C2S) Reset()

func (*C2S) String

func (x *C2S) String() string

type CNIpoExData

type CNIpoExData struct {
	ApplyCode              *string           `protobuf:"bytes,1,req,name=applyCode" json:"applyCode,omitempty"`                            // 申购代码
	IssueSize              *int64            `protobuf:"varint,2,req,name=issueSize" json:"issueSize,omitempty"`                           // 发行总数
	OnlineIssueSize        *int64            `protobuf:"varint,3,req,name=onlineIssueSize" json:"onlineIssueSize,omitempty"`               // 网上发行量
	ApplyUpperLimit        *int64            `protobuf:"varint,4,req,name=applyUpperLimit" json:"applyUpperLimit,omitempty"`               // 申购上限
	ApplyLimitMarketValue  *int64            `protobuf:"varint,5,req,name=applyLimitMarketValue" json:"applyLimitMarketValue,omitempty"`   // 顶格申购需配市值
	IsEstimateIpoPrice     *bool             `protobuf:"varint,6,req,name=isEstimateIpoPrice" json:"isEstimateIpoPrice,omitempty"`         // 是否预估发行价
	IpoPrice               *float64          `protobuf:"fixed64,7,req,name=ipoPrice" json:"ipoPrice,omitempty"`                            // 发行价 预估值会因为募集资金、发行数量、发行费用等数据变动而变动,仅供参考。实际数据公布后会第一时间更新。
	IndustryPeRate         *float64          `protobuf:"fixed64,8,req,name=industryPeRate" json:"industryPeRate,omitempty"`                // 行业市盈率
	IsEstimateWinningRatio *bool             `protobuf:"varint,9,req,name=isEstimateWinningRatio" json:"isEstimateWinningRatio,omitempty"` // 是否预估中签率
	WinningRatio           *float64          `protobuf:"fixed64,10,req,name=winningRatio" json:"winningRatio,omitempty"`                   // 中签率 该字段为百分比字段,默认不展示%,如20实际对应20%。预估值会因为募集资金、发行数量、发行费用等数据变动而变动,仅供参考。实际数据公布后会第一时间更新。
	IssuePeRate            *float64          `protobuf:"fixed64,11,req,name=issuePeRate" json:"issuePeRate,omitempty"`                     // 发行市盈率
	ApplyTime              *string           `protobuf:"bytes,12,opt,name=applyTime" json:"applyTime,omitempty"`                           // 申购日期字符串
	ApplyTimestamp         *float64          `protobuf:"fixed64,13,opt,name=applyTimestamp" json:"applyTimestamp,omitempty"`               // 申购日期时间戳
	WinningTime            *string           `protobuf:"bytes,14,opt,name=winningTime" json:"winningTime,omitempty"`                       // 公布中签日期字符串
	WinningTimestamp       *float64          `protobuf:"fixed64,15,opt,name=winningTimestamp" json:"winningTimestamp,omitempty"`           // 公布中签日期时间戳
	IsHasWon               *bool             `protobuf:"varint,16,req,name=isHasWon" json:"isHasWon,omitempty"`                            // 是否已经公布中签号
	WinningNumData         []*WinningNumData `protobuf:"bytes,17,rep,name=winningNumData" json:"winningNumData,omitempty"`                 // Qot_GetIpoList::WinningNumData 中签号数据,对应PC中"公布中签日期的已公布"
	// contains filtered or unexported fields
}

A股Ipo列表额外数据

func (*CNIpoExData) Descriptor deprecated

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

Deprecated: Use CNIpoExData.ProtoReflect.Descriptor instead.

func (*CNIpoExData) GetApplyCode

func (x *CNIpoExData) GetApplyCode() string

func (*CNIpoExData) GetApplyLimitMarketValue

func (x *CNIpoExData) GetApplyLimitMarketValue() int64

func (*CNIpoExData) GetApplyTime

func (x *CNIpoExData) GetApplyTime() string

func (*CNIpoExData) GetApplyTimestamp

func (x *CNIpoExData) GetApplyTimestamp() float64

func (*CNIpoExData) GetApplyUpperLimit

func (x *CNIpoExData) GetApplyUpperLimit() int64

func (*CNIpoExData) GetIndustryPeRate

func (x *CNIpoExData) GetIndustryPeRate() float64

func (*CNIpoExData) GetIpoPrice

func (x *CNIpoExData) GetIpoPrice() float64

func (*CNIpoExData) GetIsEstimateIpoPrice

func (x *CNIpoExData) GetIsEstimateIpoPrice() bool

func (*CNIpoExData) GetIsEstimateWinningRatio

func (x *CNIpoExData) GetIsEstimateWinningRatio() bool

func (*CNIpoExData) GetIsHasWon

func (x *CNIpoExData) GetIsHasWon() bool

func (*CNIpoExData) GetIssuePeRate

func (x *CNIpoExData) GetIssuePeRate() float64

func (*CNIpoExData) GetIssueSize

func (x *CNIpoExData) GetIssueSize() int64

func (*CNIpoExData) GetOnlineIssueSize

func (x *CNIpoExData) GetOnlineIssueSize() int64

func (*CNIpoExData) GetWinningNumData

func (x *CNIpoExData) GetWinningNumData() []*WinningNumData

func (*CNIpoExData) GetWinningRatio

func (x *CNIpoExData) GetWinningRatio() float64

func (*CNIpoExData) GetWinningTime

func (x *CNIpoExData) GetWinningTime() string

func (*CNIpoExData) GetWinningTimestamp

func (x *CNIpoExData) GetWinningTimestamp() float64

func (*CNIpoExData) ProtoMessage

func (*CNIpoExData) ProtoMessage()

func (*CNIpoExData) ProtoReflect

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

func (*CNIpoExData) Reset

func (x *CNIpoExData) Reset()

func (*CNIpoExData) String

func (x *CNIpoExData) String() string

type HKIpoExData

type HKIpoExData struct {
	IpoPriceMin       *float64 `protobuf:"fixed64,1,req,name=ipoPriceMin" json:"ipoPriceMin,omitempty"`             // 最低发售价
	IpoPriceMax       *float64 `protobuf:"fixed64,2,req,name=ipoPriceMax" json:"ipoPriceMax,omitempty"`             // 最高发售价
	ListPrice         *float64 `protobuf:"fixed64,3,req,name=listPrice" json:"listPrice,omitempty"`                 // 上市价
	LotSize           *int32   `protobuf:"varint,4,req,name=lotSize" json:"lotSize,omitempty"`                      // 每手股数
	EntrancePrice     *float64 `protobuf:"fixed64,5,req,name=entrancePrice" json:"entrancePrice,omitempty"`         // 入场费
	IsSubscribeStatus *bool    `protobuf:"varint,6,req,name=isSubscribeStatus" json:"isSubscribeStatus,omitempty"`  // 是否为认购状态,True-认购中,False-待上市
	ApplyEndTime      *string  `protobuf:"bytes,7,opt,name=applyEndTime" json:"applyEndTime,omitempty"`             // 截止认购日期字符串
	ApplyEndTimestamp *float64 `protobuf:"fixed64,8,opt,name=applyEndTimestamp" json:"applyEndTimestamp,omitempty"` // 截止认购日期时间戳 因需处理认购手续,富途认购截止时间会早于交易所公布的日期。
	// contains filtered or unexported fields
}

港股Ipo列表额外数据

func (*HKIpoExData) Descriptor deprecated

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

Deprecated: Use HKIpoExData.ProtoReflect.Descriptor instead.

func (*HKIpoExData) GetApplyEndTime

func (x *HKIpoExData) GetApplyEndTime() string

func (*HKIpoExData) GetApplyEndTimestamp

func (x *HKIpoExData) GetApplyEndTimestamp() float64

func (*HKIpoExData) GetEntrancePrice

func (x *HKIpoExData) GetEntrancePrice() float64

func (*HKIpoExData) GetIpoPriceMax

func (x *HKIpoExData) GetIpoPriceMax() float64

func (*HKIpoExData) GetIpoPriceMin

func (x *HKIpoExData) GetIpoPriceMin() float64

func (*HKIpoExData) GetIsSubscribeStatus

func (x *HKIpoExData) GetIsSubscribeStatus() bool

func (*HKIpoExData) GetListPrice

func (x *HKIpoExData) GetListPrice() float64

func (*HKIpoExData) GetLotSize

func (x *HKIpoExData) GetLotSize() int32

func (*HKIpoExData) ProtoMessage

func (*HKIpoExData) ProtoMessage()

func (*HKIpoExData) ProtoReflect

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

func (*HKIpoExData) Reset

func (x *HKIpoExData) Reset()

func (*HKIpoExData) String

func (x *HKIpoExData) String() string

type IpoData

type IpoData struct {
	Basic    *BasicIpoData `protobuf:"bytes,1,req,name=basic" json:"basic,omitempty"`       // IPO基本数据
	CnExData *CNIpoExData  `protobuf:"bytes,2,opt,name=cnExData" json:"cnExData,omitempty"` // A股IPO额外数据
	HkExData *HKIpoExData  `protobuf:"bytes,3,opt,name=hkExData" json:"hkExData,omitempty"` // 港股IPO额外数据
	UsExData *USIpoExData  `protobuf:"bytes,4,opt,name=usExData" json:"usExData,omitempty"` // 美股IPO额外数据
	// contains filtered or unexported fields
}

新股Ipo数据

func (*IpoData) Descriptor deprecated

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

Deprecated: Use IpoData.ProtoReflect.Descriptor instead.

func (*IpoData) GetBasic

func (x *IpoData) GetBasic() *BasicIpoData

func (*IpoData) GetCnExData

func (x *IpoData) GetCnExData() *CNIpoExData

func (*IpoData) GetHkExData

func (x *IpoData) GetHkExData() *HKIpoExData

func (*IpoData) GetUsExData

func (x *IpoData) GetUsExData() *USIpoExData

func (*IpoData) ProtoMessage

func (*IpoData) ProtoMessage()

func (*IpoData) ProtoReflect

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

func (*IpoData) Reset

func (x *IpoData) Reset()

func (*IpoData) String

func (x *IpoData) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetC2S

func (x *Request) GetC2S() *C2S

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetErrCode

func (x *Response) GetErrCode() int32

func (*Response) GetRetMsg

func (x *Response) GetRetMsg() string

func (*Response) GetRetType

func (x *Response) GetRetType() int32

func (*Response) GetS2C

func (x *Response) GetS2C() *S2C

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type ResponseChan

type ResponseChan chan *Response

func (ResponseChan) Close

func (ch ResponseChan) Close()

func (ResponseChan) Send

func (ch ResponseChan) Send(b []byte) error

type S2C

type S2C struct {
	IpoList []*IpoData `protobuf:"bytes,1,rep,name=ipoList" json:"ipoList,omitempty"` // 新股IPO数据
	// contains filtered or unexported fields
}

func (*S2C) Descriptor deprecated

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

Deprecated: Use S2C.ProtoReflect.Descriptor instead.

func (*S2C) GetIpoList

func (x *S2C) GetIpoList() []*IpoData

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) ProtoReflect

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

func (*S2C) Reset

func (x *S2C) Reset()

func (*S2C) String

func (x *S2C) String() string

type USIpoExData

type USIpoExData struct {
	IpoPriceMin *float64 `protobuf:"fixed64,1,req,name=ipoPriceMin" json:"ipoPriceMin,omitempty"` // 最低发行价
	IpoPriceMax *float64 `protobuf:"fixed64,2,req,name=ipoPriceMax" json:"ipoPriceMax,omitempty"` // 最高发行价
	IssueSize   *int64   `protobuf:"varint,3,req,name=issueSize" json:"issueSize,omitempty"`      // 发行量
	// contains filtered or unexported fields
}

美股Ipo列表额外数据

func (*USIpoExData) Descriptor deprecated

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

Deprecated: Use USIpoExData.ProtoReflect.Descriptor instead.

func (*USIpoExData) GetIpoPriceMax

func (x *USIpoExData) GetIpoPriceMax() float64

func (*USIpoExData) GetIpoPriceMin

func (x *USIpoExData) GetIpoPriceMin() float64

func (*USIpoExData) GetIssueSize

func (x *USIpoExData) GetIssueSize() int64

func (*USIpoExData) ProtoMessage

func (*USIpoExData) ProtoMessage()

func (*USIpoExData) ProtoReflect

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

func (*USIpoExData) Reset

func (x *USIpoExData) Reset()

func (*USIpoExData) String

func (x *USIpoExData) String() string

type WinningNumData

type WinningNumData struct {
	WinningName *string `protobuf:"bytes,1,req,name=winningName" json:"winningName,omitempty"` // 分组名
	WinningInfo *string `protobuf:"bytes,2,req,name=winningInfo" json:"winningInfo,omitempty"` // 中签号信息
	// contains filtered or unexported fields
}

中签号数据

func (*WinningNumData) Descriptor deprecated

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

Deprecated: Use WinningNumData.ProtoReflect.Descriptor instead.

func (*WinningNumData) GetWinningInfo

func (x *WinningNumData) GetWinningInfo() string

func (*WinningNumData) GetWinningName

func (x *WinningNumData) GetWinningName() string

func (*WinningNumData) ProtoMessage

func (*WinningNumData) ProtoMessage()

func (*WinningNumData) ProtoReflect

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

func (*WinningNumData) Reset

func (x *WinningNumData) Reset()

func (*WinningNumData) String

func (x *WinningNumData) String() string

Jump to

Keyboard shortcuts

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