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
- type C2S
- type FutureInfo
- func (*FutureInfo) Descriptor() ([]byte, []int)
- func (m *FutureInfo) GetContractSize() float64
- func (m *FutureInfo) GetContractSizeUnit() string
- func (m *FutureInfo) GetContractType() string
- func (m *FutureInfo) GetExchange() string
- func (m *FutureInfo) GetExchangeFormatUrl() string
- func (m *FutureInfo) GetLastTradeTime() string
- func (m *FutureInfo) GetLastTradeTimestamp() float64
- func (m *FutureInfo) GetMinVar() float64
- func (m *FutureInfo) GetMinVarUnit() string
- func (m *FutureInfo) GetName() string
- func (m *FutureInfo) GetOwner() *Qot_Common.Security
- func (m *FutureInfo) GetOwnerOther() string
- func (m *FutureInfo) GetQuoteCurrency() string
- func (m *FutureInfo) GetQuoteUnit() string
- func (m *FutureInfo) GetSecurity() *Qot_Common.Security
- func (m *FutureInfo) GetTimeZone() string
- func (m *FutureInfo) GetTradeTime() []*TradeTime
- func (*FutureInfo) ProtoMessage()
- func (m *FutureInfo) Reset()
- func (m *FutureInfo) String() string
- type Request
- type Response
- type S2C
- type TradeTime
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) GetSecurityList ¶
func (m *C2S) GetSecurityList() []*Qot_Common.Security
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
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) ProtoMessage ¶
func (*Request) ProtoMessage()
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) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
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) GetFutureInfoList ¶
func (m *S2C) GetFutureInfoList() []*FutureInfo
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
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) ProtoMessage ¶
func (*TradeTime) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.