haililive

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protobuf_haililive_haililive_proto protoreflect.FileDescriptor

Functions

func RegisterHaiLiLiveServiceServer

func RegisterHaiLiLiveServiceServer(s *grpc.Server, srv HaiLiLiveServiceServer)

Types

type CreateFileBaseRequest

type CreateFileBaseRequest struct {
	Attrib   int64  `protobuf:"varint,1,opt,name=attrib,proto3" json:"attrib,omitempty"`
	Length   int64  `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	SerialNo int64  `protobuf:"varint,3,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"`
	FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFileBaseRequest) Descriptor deprecated

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

Deprecated: Use CreateFileBaseRequest.ProtoReflect.Descriptor instead.

func (*CreateFileBaseRequest) GetAttrib

func (x *CreateFileBaseRequest) GetAttrib() int64

func (*CreateFileBaseRequest) GetFileName

func (x *CreateFileBaseRequest) GetFileName() string

func (*CreateFileBaseRequest) GetLength

func (x *CreateFileBaseRequest) GetLength() int64

func (*CreateFileBaseRequest) GetSerialNo

func (x *CreateFileBaseRequest) GetSerialNo() int64

func (*CreateFileBaseRequest) ProtoMessage

func (*CreateFileBaseRequest) ProtoMessage()

func (*CreateFileBaseRequest) ProtoReflect

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

func (*CreateFileBaseRequest) Reset

func (x *CreateFileBaseRequest) Reset()

func (*CreateFileBaseRequest) String

func (x *CreateFileBaseRequest) String() string

type CreateFileHISMinuteRequest

type CreateFileHISMinuteRequest struct {
	Code             string               `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Timestamp        *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Open             float32              `protobuf:"fixed32,3,opt,name=open,proto3" json:"open,omitempty"`
	Close            float32              `protobuf:"fixed32,4,opt,name=close,proto3" json:"close,omitempty"`
	High             float32              `protobuf:"fixed32,5,opt,name=high,proto3" json:"high,omitempty"`
	Low              float32              `protobuf:"fixed32,6,opt,name=low,proto3" json:"low,omitempty"`
	Volume           float32              `protobuf:"fixed32,7,opt,name=volume,proto3" json:"volume,omitempty"`
	Amount           float32              `protobuf:"fixed32,8,opt,name=amount,proto3" json:"amount,omitempty"`
	ActivedBuyVolume float32              `protobuf:"fixed32,9,opt,name=actived_buy_volume,json=activedBuyVolume,proto3" json:"actived_buy_volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFileHISMinuteRequest) Descriptor deprecated

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

Deprecated: Use CreateFileHISMinuteRequest.ProtoReflect.Descriptor instead.

func (*CreateFileHISMinuteRequest) GetActivedBuyVolume

func (x *CreateFileHISMinuteRequest) GetActivedBuyVolume() float32

func (*CreateFileHISMinuteRequest) GetAmount

func (x *CreateFileHISMinuteRequest) GetAmount() float32

func (*CreateFileHISMinuteRequest) GetClose

func (x *CreateFileHISMinuteRequest) GetClose() float32

func (*CreateFileHISMinuteRequest) GetCode

func (x *CreateFileHISMinuteRequest) GetCode() string

func (*CreateFileHISMinuteRequest) GetHigh

func (x *CreateFileHISMinuteRequest) GetHigh() float32

func (*CreateFileHISMinuteRequest) GetLow

func (x *CreateFileHISMinuteRequest) GetLow() float32

func (*CreateFileHISMinuteRequest) GetOpen

func (x *CreateFileHISMinuteRequest) GetOpen() float32

func (*CreateFileHISMinuteRequest) GetTimestamp

func (x *CreateFileHISMinuteRequest) GetTimestamp() *timestamp.Timestamp

func (*CreateFileHISMinuteRequest) GetVolume

func (x *CreateFileHISMinuteRequest) GetVolume() float32

func (*CreateFileHISMinuteRequest) ProtoMessage

func (*CreateFileHISMinuteRequest) ProtoMessage()

func (*CreateFileHISMinuteRequest) ProtoReflect

func (*CreateFileHISMinuteRequest) Reset

func (x *CreateFileHISMinuteRequest) Reset()

func (*CreateFileHISMinuteRequest) String

func (x *CreateFileHISMinuteRequest) String() string

type CreateFileHistoryRequest

type CreateFileHistoryRequest struct {
	Code      string               `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Open      float32              `protobuf:"fixed32,3,opt,name=open,proto3" json:"open,omitempty"`
	Close     float32              `protobuf:"fixed32,4,opt,name=close,proto3" json:"close,omitempty"`
	High      float32              `protobuf:"fixed32,5,opt,name=high,proto3" json:"high,omitempty"`
	Low       float32              `protobuf:"fixed32,6,opt,name=low,proto3" json:"low,omitempty"`
	Volume    float32              `protobuf:"fixed32,7,opt,name=volume,proto3" json:"volume,omitempty"`
	Amount    float32              `protobuf:"fixed32,8,opt,name=amount,proto3" json:"amount,omitempty"`
	Advance   float32              `protobuf:"fixed32,9,opt,name=advance,proto3" json:"advance,omitempty"`
	Decline   float32              `protobuf:"fixed32,10,opt,name=decline,proto3" json:"decline,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFileHistoryRequest) Descriptor deprecated

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

Deprecated: Use CreateFileHistoryRequest.ProtoReflect.Descriptor instead.

func (*CreateFileHistoryRequest) GetAdvance

func (x *CreateFileHistoryRequest) GetAdvance() float32

func (*CreateFileHistoryRequest) GetAmount

func (x *CreateFileHistoryRequest) GetAmount() float32

func (*CreateFileHistoryRequest) GetClose

func (x *CreateFileHistoryRequest) GetClose() float32

func (*CreateFileHistoryRequest) GetCode

func (x *CreateFileHistoryRequest) GetCode() string

func (*CreateFileHistoryRequest) GetDecline

func (x *CreateFileHistoryRequest) GetDecline() float32

func (*CreateFileHistoryRequest) GetHigh

func (x *CreateFileHistoryRequest) GetHigh() float32

func (*CreateFileHistoryRequest) GetLow

func (x *CreateFileHistoryRequest) GetLow() float32

func (*CreateFileHistoryRequest) GetOpen

func (x *CreateFileHistoryRequest) GetOpen() float32

func (*CreateFileHistoryRequest) GetTimestamp

func (x *CreateFileHistoryRequest) GetTimestamp() *timestamp.Timestamp

func (*CreateFileHistoryRequest) GetVolume

func (x *CreateFileHistoryRequest) GetVolume() float32

func (*CreateFileHistoryRequest) ProtoMessage

func (*CreateFileHistoryRequest) ProtoMessage()

func (*CreateFileHistoryRequest) ProtoReflect

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

func (*CreateFileHistoryRequest) Reset

func (x *CreateFileHistoryRequest) Reset()

func (*CreateFileHistoryRequest) String

func (x *CreateFileHistoryRequest) String() string

type CreateFileMinuteRequest

type CreateFileMinuteRequest struct {
	Code      string               `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Price     float32              `protobuf:"fixed32,3,opt,name=price,proto3" json:"price,omitempty"`
	Volume    float32              `protobuf:"fixed32,4,opt,name=volume,proto3" json:"volume,omitempty"`
	Amount    float32              `protobuf:"fixed32,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFileMinuteRequest) Descriptor deprecated

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

Deprecated: Use CreateFileMinuteRequest.ProtoReflect.Descriptor instead.

func (*CreateFileMinuteRequest) GetAmount

func (x *CreateFileMinuteRequest) GetAmount() float32

func (*CreateFileMinuteRequest) GetCode

func (x *CreateFileMinuteRequest) GetCode() string

func (*CreateFileMinuteRequest) GetPrice

func (x *CreateFileMinuteRequest) GetPrice() float32

func (*CreateFileMinuteRequest) GetTimestamp

func (x *CreateFileMinuteRequest) GetTimestamp() *timestamp.Timestamp

func (*CreateFileMinuteRequest) GetVolume

func (x *CreateFileMinuteRequest) GetVolume() float32

func (*CreateFileMinuteRequest) ProtoMessage

func (*CreateFileMinuteRequest) ProtoMessage()

func (*CreateFileMinuteRequest) ProtoReflect

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

func (*CreateFileMinuteRequest) Reset

func (x *CreateFileMinuteRequest) Reset()

func (*CreateFileMinuteRequest) String

func (x *CreateFileMinuteRequest) String() string

type CreateFileNewsRequest

type CreateFileNewsRequest struct {
	Attrib   int64  `protobuf:"varint,1,opt,name=attrib,proto3" json:"attrib,omitempty"`                     // 文件子类型
	Length   int64  `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`                     // 文件长度
	SerialNo int64  `protobuf:"varint,3,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"` // 序列号
	FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`  // 文件名 or URL
	// contains filtered or unexported fields
}

func (*CreateFileNewsRequest) Descriptor deprecated

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

Deprecated: Use CreateFileNewsRequest.ProtoReflect.Descriptor instead.

func (*CreateFileNewsRequest) GetAttrib

func (x *CreateFileNewsRequest) GetAttrib() int64

func (*CreateFileNewsRequest) GetFileName

func (x *CreateFileNewsRequest) GetFileName() string

func (*CreateFileNewsRequest) GetLength

func (x *CreateFileNewsRequest) GetLength() int64

func (*CreateFileNewsRequest) GetSerialNo

func (x *CreateFileNewsRequest) GetSerialNo() int64

func (*CreateFileNewsRequest) ProtoMessage

func (*CreateFileNewsRequest) ProtoMessage()

func (*CreateFileNewsRequest) ProtoReflect

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

func (*CreateFileNewsRequest) Reset

func (x *CreateFileNewsRequest) Reset()

func (*CreateFileNewsRequest) String

func (x *CreateFileNewsRequest) String() string

type CreateFilePowerRequest

type CreateFilePowerRequest struct {
	Code      string               `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Give      float32              `protobuf:"fixed32,3,opt,name=give,proto3" json:"give,omitempty"`     // 每股送股
	Price     float32              `protobuf:"fixed32,4,opt,name=price,proto3" json:"price,omitempty"`   // 配股价
	Volume    float32              `protobuf:"fixed32,5,opt,name=volume,proto3" json:"volume,omitempty"` // 每股配股
	Profit    float32              `protobuf:"fixed32,6,opt,name=profit,proto3" json:"profit,omitempty"` // 每股红利
	// contains filtered or unexported fields
}

func (*CreateFilePowerRequest) Descriptor deprecated

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

Deprecated: Use CreateFilePowerRequest.ProtoReflect.Descriptor instead.

func (*CreateFilePowerRequest) GetCode

func (x *CreateFilePowerRequest) GetCode() string

func (*CreateFilePowerRequest) GetGive

func (x *CreateFilePowerRequest) GetGive() float32

func (*CreateFilePowerRequest) GetPrice

func (x *CreateFilePowerRequest) GetPrice() float32

func (*CreateFilePowerRequest) GetProfit

func (x *CreateFilePowerRequest) GetProfit() float32

func (*CreateFilePowerRequest) GetTimestamp

func (x *CreateFilePowerRequest) GetTimestamp() *timestamp.Timestamp

func (*CreateFilePowerRequest) GetVolume

func (x *CreateFilePowerRequest) GetVolume() float32

func (*CreateFilePowerRequest) ProtoMessage

func (*CreateFilePowerRequest) ProtoMessage()

func (*CreateFilePowerRequest) ProtoReflect

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

func (*CreateFilePowerRequest) Reset

func (x *CreateFilePowerRequest) Reset()

func (*CreateFilePowerRequest) String

func (x *CreateFilePowerRequest) String() string

type CreateFinanceRequest

type CreateFinanceRequest struct {
	Market int32  `protobuf:"varint,1,opt,name=market,proto3" json:"market,omitempty"`
	Code   string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	BGRQ   int64  `protobuf:"varint,3,opt,name=BGRQ,proto3" json:"BGRQ,omitempty"` // 财务数据的日期 如半年报 季报等 如 20090630 表示 2009年半年报
	// map<string, float> attr = 4;
	ZGB     float32 `protobuf:"fixed32,4,opt,name=ZGB,proto3" json:"ZGB,omitempty"`          // 总股本
	GJG     float32 `protobuf:"fixed32,5,opt,name=GJG,proto3" json:"GJG,omitempty"`          // 国家股
	FQFRG   float32 `protobuf:"fixed32,6,opt,name=FQFRG,proto3" json:"FQFRG,omitempty"`      // 发起人法人股
	FRG     float32 `protobuf:"fixed32,7,opt,name=FRG,proto3" json:"FRG,omitempty"`          // 法人股
	BGS     float32 `protobuf:"fixed32,8,opt,name=BGS,proto3" json:"BGS,omitempty"`          // B股
	HGS     float32 `protobuf:"fixed32,9,opt,name=HGS,proto3" json:"HGS,omitempty"`          // H股
	MQLT    float32 `protobuf:"fixed32,10,opt,name=MQLT,proto3" json:"MQLT,omitempty"`       // 目前流通
	ZGG     float32 `protobuf:"fixed32,11,opt,name=ZGG,proto3" json:"ZGG,omitempty"`         // 职工股
	A2ZPG   float32 `protobuf:"fixed32,12,opt,name=A2ZPG,proto3" json:"A2ZPG,omitempty"`     // A2转配股
	ZZC     float32 `protobuf:"fixed32,13,opt,name=ZZC,proto3" json:"ZZC,omitempty"`         // 总资产(千元)
	LDZC    float32 `protobuf:"fixed32,14,opt,name=LDZC,proto3" json:"LDZC,omitempty"`       // 流动资产
	GDZC    float32 `protobuf:"fixed32,15,opt,name=GDZC,proto3" json:"GDZC,omitempty"`       // 固定资产
	WXZC    float32 `protobuf:"fixed32,16,opt,name=WXZC,proto3" json:"WXZC,omitempty"`       // 无形资产
	CQTZ    float32 `protobuf:"fixed32,17,opt,name=CQTZ,proto3" json:"CQTZ,omitempty"`       // 长期投资
	LDFZ    float32 `protobuf:"fixed32,18,opt,name=LDFZ,proto3" json:"LDFZ,omitempty"`       // 流动负债
	CQFZ    float32 `protobuf:"fixed32,19,opt,name=CQFZ,proto3" json:"CQFZ,omitempty"`       // 长期负债
	ZBGJJ   float32 `protobuf:"fixed32,20,opt,name=ZBGJJ,proto3" json:"ZBGJJ,omitempty"`     // 资本公积金
	MGGJJ   float32 `protobuf:"fixed32,21,opt,name=MGGJJ,proto3" json:"MGGJJ,omitempty"`     // 每股公积金
	GDQY    float32 `protobuf:"fixed32,22,opt,name=GDQY,proto3" json:"GDQY,omitempty"`       // 股东权益
	ZYSR    float32 `protobuf:"fixed32,23,opt,name=ZYSR,proto3" json:"ZYSR,omitempty"`       // 主营收入
	ZYLR    float32 `protobuf:"fixed32,24,opt,name=ZYLR,proto3" json:"ZYLR,omitempty"`       // 主营利润
	QTLR    float32 `protobuf:"fixed32,25,opt,name=QTLR,proto3" json:"QTLR,omitempty"`       // 其他利润
	YYLR    float32 `protobuf:"fixed32,26,opt,name=YYLR,proto3" json:"YYLR,omitempty"`       // 营业利润
	TZSY    float32 `protobuf:"fixed32,27,opt,name=TZSY,proto3" json:"TZSY,omitempty"`       // 投资收益
	BTSR    float32 `protobuf:"fixed32,28,opt,name=BTSR,proto3" json:"BTSR,omitempty"`       // 补贴收入
	YYWSZ   float32 `protobuf:"fixed32,29,opt,name=YYWSZ,proto3" json:"YYWSZ,omitempty"`     // 营业外收支
	SNSYTZ  float32 `protobuf:"fixed32,30,opt,name=SNSYTZ,proto3" json:"SNSYTZ,omitempty"`   // 上年损益调整
	LRZE    float32 `protobuf:"fixed32,31,opt,name=LRZE,proto3" json:"LRZE,omitempty"`       // 利润总额
	SHLR    float32 `protobuf:"fixed32,32,opt,name=SHLR,proto3" json:"SHLR,omitempty"`       // 税后利润
	JLR     float32 `protobuf:"fixed32,33,opt,name=JLR,proto3" json:"JLR,omitempty"`         // 净利润
	WFPLR   float32 `protobuf:"fixed32,34,opt,name=WFPLR,proto3" json:"WFPLR,omitempty"`     // 未分配利润
	MGWFP   float32 `protobuf:"fixed32,35,opt,name=MGWFP,proto3" json:"MGWFP,omitempty"`     // 每股未分配
	MGSY    float32 `protobuf:"fixed32,36,opt,name=MGSY,proto3" json:"MGSY,omitempty"`       // 每股收益
	MGJZC   float32 `protobuf:"fixed32,37,opt,name=MGJZC,proto3" json:"MGJZC,omitempty"`     // 每股净资产
	TZMGJZC float32 `protobuf:"fixed32,38,opt,name=TZMGJZC,proto3" json:"TZMGJZC,omitempty"` // 调整每股净资产
	GDQYB   float32 `protobuf:"fixed32,39,opt,name=GDQYB,proto3" json:"GDQYB,omitempty"`     // 股东权益比
	JZCSYL  float32 `protobuf:"fixed32,40,opt,name=JZCSYL,proto3" json:"JZCSYL,omitempty"`   // 净资收益率
	// contains filtered or unexported fields
}

func (*CreateFinanceRequest) Descriptor deprecated

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

Deprecated: Use CreateFinanceRequest.ProtoReflect.Descriptor instead.

func (*CreateFinanceRequest) GetA2ZPG

func (x *CreateFinanceRequest) GetA2ZPG() float32

func (*CreateFinanceRequest) GetBGRQ

func (x *CreateFinanceRequest) GetBGRQ() int64

func (*CreateFinanceRequest) GetBGS

func (x *CreateFinanceRequest) GetBGS() float32

func (*CreateFinanceRequest) GetBTSR

func (x *CreateFinanceRequest) GetBTSR() float32

func (*CreateFinanceRequest) GetCQFZ

func (x *CreateFinanceRequest) GetCQFZ() float32

func (*CreateFinanceRequest) GetCQTZ

func (x *CreateFinanceRequest) GetCQTZ() float32

func (*CreateFinanceRequest) GetCode

func (x *CreateFinanceRequest) GetCode() string

func (*CreateFinanceRequest) GetFQFRG

func (x *CreateFinanceRequest) GetFQFRG() float32

func (*CreateFinanceRequest) GetFRG

func (x *CreateFinanceRequest) GetFRG() float32

func (*CreateFinanceRequest) GetGDQY

func (x *CreateFinanceRequest) GetGDQY() float32

func (*CreateFinanceRequest) GetGDQYB

func (x *CreateFinanceRequest) GetGDQYB() float32

func (*CreateFinanceRequest) GetGDZC

func (x *CreateFinanceRequest) GetGDZC() float32

func (*CreateFinanceRequest) GetGJG

func (x *CreateFinanceRequest) GetGJG() float32

func (*CreateFinanceRequest) GetHGS

func (x *CreateFinanceRequest) GetHGS() float32

func (*CreateFinanceRequest) GetJLR

func (x *CreateFinanceRequest) GetJLR() float32

func (*CreateFinanceRequest) GetJZCSYL

func (x *CreateFinanceRequest) GetJZCSYL() float32

func (*CreateFinanceRequest) GetLDFZ

func (x *CreateFinanceRequest) GetLDFZ() float32

func (*CreateFinanceRequest) GetLDZC

func (x *CreateFinanceRequest) GetLDZC() float32

func (*CreateFinanceRequest) GetLRZE

func (x *CreateFinanceRequest) GetLRZE() float32

func (*CreateFinanceRequest) GetMGGJJ

func (x *CreateFinanceRequest) GetMGGJJ() float32

func (*CreateFinanceRequest) GetMGJZC

func (x *CreateFinanceRequest) GetMGJZC() float32

func (*CreateFinanceRequest) GetMGSY

func (x *CreateFinanceRequest) GetMGSY() float32

func (*CreateFinanceRequest) GetMGWFP

func (x *CreateFinanceRequest) GetMGWFP() float32

func (*CreateFinanceRequest) GetMQLT

func (x *CreateFinanceRequest) GetMQLT() float32

func (*CreateFinanceRequest) GetMarket

func (x *CreateFinanceRequest) GetMarket() int32

func (*CreateFinanceRequest) GetQTLR

func (x *CreateFinanceRequest) GetQTLR() float32

func (*CreateFinanceRequest) GetSHLR

func (x *CreateFinanceRequest) GetSHLR() float32

func (*CreateFinanceRequest) GetSNSYTZ

func (x *CreateFinanceRequest) GetSNSYTZ() float32

func (*CreateFinanceRequest) GetTZMGJZC

func (x *CreateFinanceRequest) GetTZMGJZC() float32

func (*CreateFinanceRequest) GetTZSY

func (x *CreateFinanceRequest) GetTZSY() float32

func (*CreateFinanceRequest) GetWFPLR

func (x *CreateFinanceRequest) GetWFPLR() float32

func (*CreateFinanceRequest) GetWXZC

func (x *CreateFinanceRequest) GetWXZC() float32

func (*CreateFinanceRequest) GetYYLR

func (x *CreateFinanceRequest) GetYYLR() float32

func (*CreateFinanceRequest) GetYYWSZ

func (x *CreateFinanceRequest) GetYYWSZ() float32

func (*CreateFinanceRequest) GetZBGJJ

func (x *CreateFinanceRequest) GetZBGJJ() float32

func (*CreateFinanceRequest) GetZGB

func (x *CreateFinanceRequest) GetZGB() float32

func (*CreateFinanceRequest) GetZGG

func (x *CreateFinanceRequest) GetZGG() float32

func (*CreateFinanceRequest) GetZYLR

func (x *CreateFinanceRequest) GetZYLR() float32

func (*CreateFinanceRequest) GetZYSR

func (x *CreateFinanceRequest) GetZYSR() float32

func (*CreateFinanceRequest) GetZZC

func (x *CreateFinanceRequest) GetZZC() float32

func (*CreateFinanceRequest) ProtoMessage

func (*CreateFinanceRequest) ProtoMessage()

func (*CreateFinanceRequest) ProtoReflect

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

func (*CreateFinanceRequest) Reset

func (x *CreateFinanceRequest) Reset()

func (*CreateFinanceRequest) String

func (x *CreateFinanceRequest) String() string

type CreateMarketRequest

type CreateMarketRequest struct {
	Code     string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MarketId int32  `protobuf:"varint,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Date     int32  `protobuf:"varint,4,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMarketRequest) Descriptor deprecated

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

Deprecated: Use CreateMarketRequest.ProtoReflect.Descriptor instead.

func (*CreateMarketRequest) GetCode

func (x *CreateMarketRequest) GetCode() string

func (*CreateMarketRequest) GetDate

func (x *CreateMarketRequest) GetDate() int32

func (*CreateMarketRequest) GetMarketId

func (x *CreateMarketRequest) GetMarketId() int32

func (*CreateMarketRequest) GetName

func (x *CreateMarketRequest) GetName() string

func (*CreateMarketRequest) ProtoMessage

func (*CreateMarketRequest) ProtoMessage()

func (*CreateMarketRequest) ProtoReflect

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

func (*CreateMarketRequest) Reset

func (x *CreateMarketRequest) Reset()

func (*CreateMarketRequest) String

func (x *CreateMarketRequest) String() string

type CreateReportV3Request

type CreateReportV3Request struct {
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	MarketId  int32                `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Code      string               `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Name      string               `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Open      float32              `protobuf:"fixed32,5,opt,name=open,proto3" json:"open,omitempty"`
	Close     float32              `protobuf:"fixed32,6,opt,name=close,proto3" json:"close,omitempty"`
	High      float32              `protobuf:"fixed32,7,opt,name=high,proto3" json:"high,omitempty"`
	Low       float32              `protobuf:"fixed32,8,opt,name=low,proto3" json:"low,omitempty"`
	Last      float32              `protobuf:"fixed32,9,opt,name=last,proto3" json:"last,omitempty"` // 最新价
	Volume    float32              `protobuf:"fixed32,10,opt,name=volume,proto3" json:"volume,omitempty"`
	Amount    float32              `protobuf:"fixed32,11,opt,name=amount,proto3" json:"amount,omitempty"`
	// 五档买卖行情
	BuyPrice   []float32 `protobuf:"fixed32,12,rep,packed,name=buy_price,json=buyPrice,proto3" json:"buy_price,omitempty"`
	BuyVolume  []float32 `protobuf:"fixed32,13,rep,packed,name=buy_volume,json=buyVolume,proto3" json:"buy_volume,omitempty"`
	SellPrice  []float32 `protobuf:"fixed32,14,rep,packed,name=sell_price,json=sellPrice,proto3" json:"sell_price,omitempty"`
	SellVolume []float32 `protobuf:"fixed32,15,rep,packed,name=sell_volume,json=sellVolume,proto3" json:"sell_volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReportV3Request) Descriptor deprecated

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

Deprecated: Use CreateReportV3Request.ProtoReflect.Descriptor instead.

func (*CreateReportV3Request) GetAmount

func (x *CreateReportV3Request) GetAmount() float32

func (*CreateReportV3Request) GetBuyPrice

func (x *CreateReportV3Request) GetBuyPrice() []float32

func (*CreateReportV3Request) GetBuyVolume

func (x *CreateReportV3Request) GetBuyVolume() []float32

func (*CreateReportV3Request) GetClose

func (x *CreateReportV3Request) GetClose() float32

func (*CreateReportV3Request) GetCode

func (x *CreateReportV3Request) GetCode() string

func (*CreateReportV3Request) GetHigh

func (x *CreateReportV3Request) GetHigh() float32

func (*CreateReportV3Request) GetLast

func (x *CreateReportV3Request) GetLast() float32

func (*CreateReportV3Request) GetLow

func (x *CreateReportV3Request) GetLow() float32

func (*CreateReportV3Request) GetMarketId

func (x *CreateReportV3Request) GetMarketId() int32

func (*CreateReportV3Request) GetName

func (x *CreateReportV3Request) GetName() string

func (*CreateReportV3Request) GetOpen

func (x *CreateReportV3Request) GetOpen() float32

func (*CreateReportV3Request) GetSellPrice

func (x *CreateReportV3Request) GetSellPrice() []float32

func (*CreateReportV3Request) GetSellVolume

func (x *CreateReportV3Request) GetSellVolume() []float32

func (*CreateReportV3Request) GetTimestamp

func (x *CreateReportV3Request) GetTimestamp() *timestamp.Timestamp

func (*CreateReportV3Request) GetVolume

func (x *CreateReportV3Request) GetVolume() float32

func (*CreateReportV3Request) ProtoMessage

func (*CreateReportV3Request) ProtoMessage()

func (*CreateReportV3Request) ProtoReflect

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

func (*CreateReportV3Request) Reset

func (x *CreateReportV3Request) Reset()

func (*CreateReportV3Request) String

func (x *CreateReportV3Request) String() string

type CreateTickRequest

type CreateTickRequest struct {
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	MarketId  int32                `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Code      string               `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Open      float32              `protobuf:"fixed32,4,opt,name=open,proto3" json:"open,omitempty"`   // 今开
	Close     float32              `protobuf:"fixed32,5,opt,name=close,proto3" json:"close,omitempty"` // 昨收
	High      float32              `protobuf:"fixed32,6,opt,name=high,proto3" json:"high,omitempty"`   // 最高
	Low       float32              `protobuf:"fixed32,7,opt,name=low,proto3" json:"low,omitempty"`     // 最低
	Last      float32              `protobuf:"fixed32,8,opt,name=last,proto3" json:"last,omitempty"`   // 最新价
	// 五档买卖行情
	BuyPrice   []float32 `protobuf:"fixed32,9,rep,packed,name=buy_price,json=buyPrice,proto3" json:"buy_price,omitempty"`
	BuyVolume  []float32 `protobuf:"fixed32,10,rep,packed,name=buy_volume,json=buyVolume,proto3" json:"buy_volume,omitempty"`
	SellPrice  []float32 `protobuf:"fixed32,11,rep,packed,name=sell_price,json=sellPrice,proto3" json:"sell_price,omitempty"`
	SellVolume []float32 `protobuf:"fixed32,12,rep,packed,name=sell_volume,json=sellVolume,proto3" json:"sell_volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTickRequest) Descriptor deprecated

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

Deprecated: Use CreateTickRequest.ProtoReflect.Descriptor instead.

func (*CreateTickRequest) GetBuyPrice

func (x *CreateTickRequest) GetBuyPrice() []float32

func (*CreateTickRequest) GetBuyVolume

func (x *CreateTickRequest) GetBuyVolume() []float32

func (*CreateTickRequest) GetClose

func (x *CreateTickRequest) GetClose() float32

func (*CreateTickRequest) GetCode

func (x *CreateTickRequest) GetCode() string

func (*CreateTickRequest) GetHigh

func (x *CreateTickRequest) GetHigh() float32

func (*CreateTickRequest) GetLast

func (x *CreateTickRequest) GetLast() float32

func (*CreateTickRequest) GetLow

func (x *CreateTickRequest) GetLow() float32

func (*CreateTickRequest) GetMarketId

func (x *CreateTickRequest) GetMarketId() int32

func (*CreateTickRequest) GetOpen

func (x *CreateTickRequest) GetOpen() float32

func (*CreateTickRequest) GetSellPrice

func (x *CreateTickRequest) GetSellPrice() []float32

func (*CreateTickRequest) GetSellVolume

func (x *CreateTickRequest) GetSellVolume() []float32

func (*CreateTickRequest) GetTimestamp

func (x *CreateTickRequest) GetTimestamp() *timestamp.Timestamp

func (*CreateTickRequest) ProtoMessage

func (*CreateTickRequest) ProtoMessage()

func (*CreateTickRequest) ProtoReflect

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

func (*CreateTickRequest) Reset

func (x *CreateTickRequest) Reset()

func (*CreateTickRequest) String

func (x *CreateTickRequest) String() string

type HaiLiLiveServiceClient

type HaiLiLiveServiceClient interface {
	// 实时行情数据
	CreateReportV3(ctx context.Context, in *CreateReportV3Request, opts ...grpc.CallOption) (*Response, error)
	// 分笔交易数据
	CreateTick(ctx context.Context, in *CreateTickRequest, opts ...grpc.CallOption) (*Response, error)
	// 市场码表数据
	CreateMarket(ctx context.Context, in *CreateMarketRequest, opts ...grpc.CallOption) (*Response, error)
	// 金融财务信息
	CreateFinance(ctx context.Context, in *CreateFinanceRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 历史交易 日线数据
	CreateFileHistory(ctx context.Context, in *CreateFileHistoryRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 分钟线数据
	CreateFileMinute(ctx context.Context, in *CreateFileMinuteRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 历史五分钟K线数据
	CreateFileHISMinute(ctx context.Context, in *CreateFileHISMinuteRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 除权数据
	CreateFilePower(ctx context.Context, in *CreateFilePowerRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 钱龙兼容基本资料文件
	CreateFileBase(ctx context.Context, in *CreateFileBaseRequest, opts ...grpc.CallOption) (*Response, error)
	// 文件: 新闻类
	CreateFileNews(ctx context.Context, in *CreateFileNewsRequest, opts ...grpc.CallOption) (*Response, error)
}

HaiLiLiveServiceClient is the client API for HaiLiLiveService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type HaiLiLiveServiceServer

type HaiLiLiveServiceServer interface {
	// 实时行情数据
	CreateReportV3(context.Context, *CreateReportV3Request) (*Response, error)
	// 分笔交易数据
	CreateTick(context.Context, *CreateTickRequest) (*Response, error)
	// 市场码表数据
	CreateMarket(context.Context, *CreateMarketRequest) (*Response, error)
	// 金融财务信息
	CreateFinance(context.Context, *CreateFinanceRequest) (*Response, error)
	// 文件: 历史交易 日线数据
	CreateFileHistory(context.Context, *CreateFileHistoryRequest) (*Response, error)
	// 文件: 分钟线数据
	CreateFileMinute(context.Context, *CreateFileMinuteRequest) (*Response, error)
	// 文件: 历史五分钟K线数据
	CreateFileHISMinute(context.Context, *CreateFileHISMinuteRequest) (*Response, error)
	// 文件: 除权数据
	CreateFilePower(context.Context, *CreateFilePowerRequest) (*Response, error)
	// 文件: 钱龙兼容基本资料文件
	CreateFileBase(context.Context, *CreateFileBaseRequest) (*Response, error)
	// 文件: 新闻类
	CreateFileNews(context.Context, *CreateFileNewsRequest) (*Response, error)
}

HaiLiLiveServiceServer is the server API for HaiLiLiveService service.

type Response

type Response struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetSuccess

func (x *Response) GetSuccess() bool

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 UnimplementedHaiLiLiveServiceServer

type UnimplementedHaiLiLiveServiceServer struct {
}

UnimplementedHaiLiLiveServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHaiLiLiveServiceServer) CreateFileBase

func (*UnimplementedHaiLiLiveServiceServer) CreateFileHISMinute

func (*UnimplementedHaiLiLiveServiceServer) CreateFileHistory

func (*UnimplementedHaiLiLiveServiceServer) CreateFileMinute

func (*UnimplementedHaiLiLiveServiceServer) CreateFileNews

func (*UnimplementedHaiLiLiveServiceServer) CreateFilePower

func (*UnimplementedHaiLiLiveServiceServer) CreateFinance

func (*UnimplementedHaiLiLiveServiceServer) CreateMarket

func (*UnimplementedHaiLiLiveServiceServer) CreateReportV3

func (*UnimplementedHaiLiLiveServiceServer) CreateTick

Jump to

Keyboard shortcuts

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