Qot_GetFutureInfo

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_GetFutureInfo is a generated protocol buffer package.

It is generated from these files:

Qot_GetFutureInfo.proto

It has these top-level messages:

TradeTime
FutureInfo
C2S
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 {
	SecurityList     []*Qot_Common.Security `protobuf:"bytes,1,rep,name=securityList" json:"securityList,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*C2S) Descriptor

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

func (*C2S) GetSecurityList

func (m *C2S) GetSecurityList() []*Qot_Common.Security

func (*C2S) ProtoMessage

func (*C2S) ProtoMessage()

func (*C2S) Reset

func (m *C2S) Reset()

func (*C2S) String

func (m *C2S) String() string

type FutureInfo

type FutureInfo struct {
	Name               *string              `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Security           *Qot_Common.Security `protobuf:"bytes,2,req,name=security" json:"security,omitempty"`
	LastTradeTime      *string              `protobuf:"bytes,3,req,name=lastTradeTime" json:"lastTradeTime,omitempty"`
	LastTradeTimestamp *float64             `protobuf:"fixed64,4,opt,name=lastTradeTimestamp" json:"lastTradeTimestamp,omitempty"`
	Owner              *Qot_Common.Security `protobuf:"bytes,5,opt,name=owner" json:"owner,omitempty"`
	OwnerOther         *string              `protobuf:"bytes,6,req,name=ownerOther" json:"ownerOther,omitempty"`
	Exchange           *string              `protobuf:"bytes,7,req,name=exchange" json:"exchange,omitempty"`
	ContractType       *string              `protobuf:"bytes,8,req,name=contractType" json:"contractType,omitempty"`
	ContractSize       *float64             `protobuf:"fixed64,9,req,name=contractSize" json:"contractSize,omitempty"`
	ContractSizeUnit   *string              `protobuf:"bytes,10,req,name=contractSizeUnit" json:"contractSizeUnit,omitempty"`
	QuoteCurrency      *string              `protobuf:"bytes,11,req,name=quoteCurrency" json:"quoteCurrency,omitempty"`
	MinVar             *float64             `protobuf:"fixed64,12,req,name=minVar" json:"minVar,omitempty"`
	MinVarUnit         *string              `protobuf:"bytes,13,req,name=minVarUnit" json:"minVarUnit,omitempty"`
	QuoteUnit          *string              `protobuf:"bytes,14,opt,name=quoteUnit" json:"quoteUnit,omitempty"`
	TradeTime          []*TradeTime         `protobuf:"bytes,15,rep,name=tradeTime" json:"tradeTime,omitempty"`
	TimeZone           *string              `protobuf:"bytes,16,req,name=timeZone" json:"timeZone,omitempty"`
	ExchangeFormatUrl  *string              `protobuf:"bytes,17,req,name=exchangeFormatUrl" json:"exchangeFormatUrl,omitempty"`
	XXX_unrecognized   []byte               `json:"-"`
}

期货合约资料的列表

func (*FutureInfo) Descriptor

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

func (*FutureInfo) GetContractSize

func (m *FutureInfo) GetContractSize() float64

func (*FutureInfo) GetContractSizeUnit

func (m *FutureInfo) GetContractSizeUnit() string

func (*FutureInfo) GetContractType

func (m *FutureInfo) GetContractType() string

func (*FutureInfo) GetExchange

func (m *FutureInfo) GetExchange() string

func (*FutureInfo) GetExchangeFormatUrl

func (m *FutureInfo) GetExchangeFormatUrl() string

func (*FutureInfo) GetLastTradeTime

func (m *FutureInfo) GetLastTradeTime() string

func (*FutureInfo) GetLastTradeTimestamp

func (m *FutureInfo) GetLastTradeTimestamp() float64

func (*FutureInfo) GetMinVar

func (m *FutureInfo) GetMinVar() float64

func (*FutureInfo) GetMinVarUnit

func (m *FutureInfo) GetMinVarUnit() string

func (*FutureInfo) GetName

func (m *FutureInfo) GetName() string

func (*FutureInfo) GetOwner

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

func (*FutureInfo) GetOwnerOther

func (m *FutureInfo) GetOwnerOther() string

func (*FutureInfo) GetQuoteCurrency

func (m *FutureInfo) GetQuoteCurrency() string

func (*FutureInfo) GetQuoteUnit

func (m *FutureInfo) GetQuoteUnit() string

func (*FutureInfo) GetSecurity

func (m *FutureInfo) GetSecurity() *Qot_Common.Security

func (*FutureInfo) GetTimeZone

func (m *FutureInfo) GetTimeZone() string

func (*FutureInfo) GetTradeTime

func (m *FutureInfo) GetTradeTime() []*TradeTime

func (*FutureInfo) ProtoMessage

func (*FutureInfo) ProtoMessage()

func (*FutureInfo) Reset

func (m *FutureInfo) Reset()

func (*FutureInfo) String

func (m *FutureInfo) 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 {
	FutureInfoList   []*FutureInfo `protobuf:"bytes,1,rep,name=futureInfoList" json:"futureInfoList,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*S2C) Descriptor

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

func (*S2C) GetFutureInfoList

func (m *S2C) GetFutureInfoList() []*FutureInfo

func (*S2C) ProtoMessage

func (*S2C) ProtoMessage()

func (*S2C) Reset

func (m *S2C) Reset()

func (*S2C) String

func (m *S2C) String() string

type TradeTime

type TradeTime struct {
	Begin            *float64 `protobuf:"fixed64,1,opt,name=begin" json:"begin,omitempty"`
	End              *float64 `protobuf:"fixed64,2,opt,name=end" json:"end,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

交易时间

func (*TradeTime) Descriptor

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

func (*TradeTime) GetBegin

func (m *TradeTime) GetBegin() float64

func (*TradeTime) GetEnd

func (m *TradeTime) GetEnd() float64

func (*TradeTime) ProtoMessage

func (*TradeTime) ProtoMessage()

func (*TradeTime) Reset

func (m *TradeTime) Reset()

func (*TradeTime) String

func (m *TradeTime) String() string

Jump to

Keyboard shortcuts

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