var File_sdk_stream_index_multi_assets_v1_request_proto FileDescriptor
var File_sdk_stream_index_multi_assets_v1_response_proto FileDescriptor
StreamIndexServiceRequestV1
type StreamIndexMultiAssetsServiceRequestV1 struct {
// Index code.
IndexCode string `protobuf:"bytes,1,opt,name=index_code,json=indexCode,proto3" json:"index_code,omitempty"`
// Enum indicating type of feed.
Commodities []index_v1.StreamIndexCommodity `protobuf:"varint,2,rep,packed,name=commodities,proto3,enum=kaikosdk.StreamIndexCommodity" json:"commodities,omitempty"`
// Data interval. For historical data only.
Interval *core.DataInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
// contains filtered or unexported fields
}
func (*StreamIndexMultiAssetsServiceRequestV1) Descriptor() ([]int)
Deprecated: Use StreamIndexMultiAssetsServiceRequestV1.ProtoReflect.Descriptor instead.
func (x *StreamIndexMultiAssetsServiceRequestV1) GetCommodities() []index_v1.StreamIndexCommodity
func (x *StreamIndexMultiAssetsServiceRequestV1) GetIndexCode() string
func (x *StreamIndexMultiAssetsServiceRequestV1) GetInterval() *core.DataInterval
func (*StreamIndexMultiAssetsServiceRequestV1) ProtoMessage()
func (x *StreamIndexMultiAssetsServiceRequestV1) ProtoReflect() Message
func (x *StreamIndexMultiAssetsServiceRequestV1) Reset()
func (x *StreamIndexMultiAssetsServiceRequestV1) String() string
StreamIndexMultiAssetsServiceResponseComposition is the composition used to compute the index.
type StreamIndexMultiAssetsServiceResponseComposition struct {
// Underlying rate of the indices.
UnderlyingInstrument string `protobuf:"bytes,1,opt,name=underlying_instrument,json=underlyingInstrument,proto3" json:"underlying_instrument,omitempty"`
// Base.
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
// Quote.
Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"`
// Exchanges.
Exchanges []string `protobuf:"bytes,4,rep,name=exchanges,proto3" json:"exchanges,omitempty"`
// Data interval.
InstrumentInterval *core.DataInterval `protobuf:"bytes,5,opt,name=instrument_interval,json=instrumentInterval,proto3" json:"instrument_interval,omitempty"`
// Currency conversion.
CurrencyConversion string `protobuf:"bytes,6,opt,name=currency_conversion,json=currencyConversion,proto3" json:"currency_conversion,omitempty"`
// Timestamp (tick) of underlying rate ts.
TsEvent *Timestamp `protobuf:"bytes,7,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
// contains filtered or unexported fields
}
func (*StreamIndexMultiAssetsServiceResponseComposition) Descriptor() ([]int)
Deprecated: Use StreamIndexMultiAssetsServiceResponseComposition.ProtoReflect.Descriptor instead.
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetBase() string
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetCurrencyConversion() string
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetExchanges() []string
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetInstrumentInterval() *core.DataInterval
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetQuote() string
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetTsEvent() *Timestamp
func (x *StreamIndexMultiAssetsServiceResponseComposition) GetUnderlyingInstrument() string
func (*StreamIndexMultiAssetsServiceResponseComposition) ProtoMessage()
func (x *StreamIndexMultiAssetsServiceResponseComposition) ProtoReflect() Message
func (x *StreamIndexMultiAssetsServiceResponseComposition) Reset()
func (x *StreamIndexMultiAssetsServiceResponseComposition) String() string
StreamIndexMultiAssetsServiceResponsePair is the pair information for the rates used
type StreamIndexMultiAssetsServiceResponsePair struct {
// Underlying instrument of the indices.
UnderlyingInstrument string `protobuf:"bytes,1,opt,name=underlying_instrument,json=underlyingInstrument,proto3" json:"underlying_instrument,omitempty"`
// Underlying price of the instrument.
UnderlyingPrice *DoubleValue `protobuf:"bytes,2,opt,name=underlying_price,json=underlyingPrice,proto3" json:"underlying_price,omitempty"`
// Weighting factor of the instrument.
WeightingFactor float64 `protobuf:"fixed64,3,opt,name=weighting_factor,json=weightingFactor,proto3" json:"weighting_factor,omitempty"`
// Capping factor of the instrument.
CappingFactor float64 `protobuf:"fixed64,4,opt,name=capping_factor,json=cappingFactor,proto3" json:"capping_factor,omitempty"`
// Currency conversion factor of the instrument.
CurrencyConversionFactor float64 `protobuf:"fixed64,5,opt,name=currency_conversion_factor,json=currencyConversionFactor,proto3" json:"currency_conversion_factor,omitempty"`
// contains filtered or unexported fields
}
func (*StreamIndexMultiAssetsServiceResponsePair) Descriptor() ([]int)
Deprecated: Use StreamIndexMultiAssetsServiceResponsePair.ProtoReflect.Descriptor instead.
func (x *StreamIndexMultiAssetsServiceResponsePair) GetCappingFactor() float64
func (x *StreamIndexMultiAssetsServiceResponsePair) GetCurrencyConversionFactor() float64
func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingInstrument() string
func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingPrice() *DoubleValue
func (x *StreamIndexMultiAssetsServiceResponsePair) GetWeightingFactor() float64
func (*StreamIndexMultiAssetsServiceResponsePair) ProtoMessage()
func (x *StreamIndexMultiAssetsServiceResponsePair) ProtoReflect() Message
func (x *StreamIndexMultiAssetsServiceResponsePair) Reset()
func (x *StreamIndexMultiAssetsServiceResponsePair) String() string
StreamIndexMultiAssetsServiceResponsePrices is the prices informations on the pair used
type StreamIndexMultiAssetsServiceResponsePrices struct {
// Index value.
IndexValue float64 `protobuf:"fixed64,1,opt,name=index_value,json=indexValue,proto3" json:"index_value,omitempty"`
// Divisor.
Divisor float64 `protobuf:"fixed64,2,opt,name=divisor,proto3" json:"divisor,omitempty"`
// StreamIndexMultiAssetsServiceResponsePair is the pair information for the rates used.
Pairs []*StreamIndexMultiAssetsServiceResponsePair `protobuf:"bytes,3,rep,name=pairs,proto3" json:"pairs,omitempty"`
// contains filtered or unexported fields
}
func (*StreamIndexMultiAssetsServiceResponsePrices) Descriptor() ([]int)
Deprecated: Use StreamIndexMultiAssetsServiceResponsePrices.ProtoReflect.Descriptor instead.
func (x *StreamIndexMultiAssetsServiceResponsePrices) GetDivisor() float64
func (x *StreamIndexMultiAssetsServiceResponsePrices) GetIndexValue() float64
func (x *StreamIndexMultiAssetsServiceResponsePrices) GetPairs() []*StreamIndexMultiAssetsServiceResponsePair
func (*StreamIndexMultiAssetsServiceResponsePrices) ProtoMessage()
func (x *StreamIndexMultiAssetsServiceResponsePrices) ProtoReflect() Message
func (x *StreamIndexMultiAssetsServiceResponsePrices) Reset()
func (x *StreamIndexMultiAssetsServiceResponsePrices) String() string
StreamIndexServiceResponseV1
type StreamIndexMultiAssetsServiceResponseV1 struct {
// Event type.
Commodity index_v1.StreamIndexCommodity `protobuf:"varint,1,opt,name=commodity,proto3,enum=kaikosdk.StreamIndexCommodity" json:"commodity,omitempty"`
// Index code.
IndexCode string `protobuf:"bytes,2,opt,name=index_code,json=indexCode,proto3" json:"index_code,omitempty"`
// Data interval.
Interval *core.DataInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
// Quote.
MainQuote string `protobuf:"bytes,4,opt,name=main_quote,json=mainQuote,proto3" json:"main_quote,omitempty"`
// List of rates used in indices.
Compositions []*StreamIndexMultiAssetsServiceResponseComposition `protobuf:"bytes,5,rep,name=compositions,proto3" json:"compositions,omitempty"`
// Price of the indice.
Price *StreamIndexMultiAssetsServiceResponsePrices `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
// Event generation timestamp (event created by Kaiko), after normalization.
TsEvent *Timestamp `protobuf:"bytes,7,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
// Timestamp of computation (differs from ts_event only if a buffer is applied, especially for real time data).
TsCompute *Timestamp `protobuf:"bytes,8,opt,name=ts_compute,json=tsCompute,proto3" json:"ts_compute,omitempty"`
// contains filtered or unexported fields
}
func (*StreamIndexMultiAssetsServiceResponseV1) Descriptor() ([]int)
Deprecated: Use StreamIndexMultiAssetsServiceResponseV1.ProtoReflect.Descriptor instead.
func (x *StreamIndexMultiAssetsServiceResponseV1) GetCommodity() index_v1.StreamIndexCommodity
func (x *StreamIndexMultiAssetsServiceResponseV1) GetCompositions() []*StreamIndexMultiAssetsServiceResponseComposition
func (x *StreamIndexMultiAssetsServiceResponseV1) GetIndexCode() string
func (x *StreamIndexMultiAssetsServiceResponseV1) GetInterval() *core.DataInterval
func (x *StreamIndexMultiAssetsServiceResponseV1) GetMainQuote() string
func (x *StreamIndexMultiAssetsServiceResponseV1) GetPrice() *StreamIndexMultiAssetsServiceResponsePrices
func (x *StreamIndexMultiAssetsServiceResponseV1) GetTsCompute() *Timestamp
func (x *StreamIndexMultiAssetsServiceResponseV1) GetTsEvent() *Timestamp
func (*StreamIndexMultiAssetsServiceResponseV1) ProtoMessage()
func (x *StreamIndexMultiAssetsServiceResponseV1) ProtoReflect() Message
func (x *StreamIndexMultiAssetsServiceResponseV1) Reset()
func (x *StreamIndexMultiAssetsServiceResponseV1) String() string