...

Package index_multi_assets_v1

import "github.com/kaikodata/kaiko-go-sdk/stream/index_multi_assets_v1"
Overview
Index

Overview ▾

Index ▾

Variables
type StreamIndexMultiAssetsServiceRequestV1
    func (*StreamIndexMultiAssetsServiceRequestV1) Descriptor() ([]byte, []int)
    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() protoreflect.Message
    func (x *StreamIndexMultiAssetsServiceRequestV1) Reset()
    func (x *StreamIndexMultiAssetsServiceRequestV1) String() string
type StreamIndexMultiAssetsServiceResponseComposition
    func (*StreamIndexMultiAssetsServiceResponseComposition) Descriptor() ([]byte, []int)
    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.Timestamp
    func (x *StreamIndexMultiAssetsServiceResponseComposition) GetUnderlyingInstrument() string
    func (*StreamIndexMultiAssetsServiceResponseComposition) ProtoMessage()
    func (x *StreamIndexMultiAssetsServiceResponseComposition) ProtoReflect() protoreflect.Message
    func (x *StreamIndexMultiAssetsServiceResponseComposition) Reset()
    func (x *StreamIndexMultiAssetsServiceResponseComposition) String() string
type StreamIndexMultiAssetsServiceResponsePair
    func (*StreamIndexMultiAssetsServiceResponsePair) Descriptor() ([]byte, []int)
    func (x *StreamIndexMultiAssetsServiceResponsePair) GetCappingFactor() float64
    func (x *StreamIndexMultiAssetsServiceResponsePair) GetCurrencyConversionFactor() float64
    func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingInstrument() string
    func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingPrice() *wrappers.DoubleValue
    func (x *StreamIndexMultiAssetsServiceResponsePair) GetWeightingFactor() float64
    func (*StreamIndexMultiAssetsServiceResponsePair) ProtoMessage()
    func (x *StreamIndexMultiAssetsServiceResponsePair) ProtoReflect() protoreflect.Message
    func (x *StreamIndexMultiAssetsServiceResponsePair) Reset()
    func (x *StreamIndexMultiAssetsServiceResponsePair) String() string
type StreamIndexMultiAssetsServiceResponsePrices
    func (*StreamIndexMultiAssetsServiceResponsePrices) Descriptor() ([]byte, []int)
    func (x *StreamIndexMultiAssetsServiceResponsePrices) GetDivisor() float64
    func (x *StreamIndexMultiAssetsServiceResponsePrices) GetIndexValue() float64
    func (x *StreamIndexMultiAssetsServiceResponsePrices) GetPairs() []*StreamIndexMultiAssetsServiceResponsePair
    func (*StreamIndexMultiAssetsServiceResponsePrices) ProtoMessage()
    func (x *StreamIndexMultiAssetsServiceResponsePrices) ProtoReflect() protoreflect.Message
    func (x *StreamIndexMultiAssetsServiceResponsePrices) Reset()
    func (x *StreamIndexMultiAssetsServiceResponsePrices) String() string
type StreamIndexMultiAssetsServiceResponseV1
    func (*StreamIndexMultiAssetsServiceResponseV1) Descriptor() ([]byte, []int)
    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.Timestamp
    func (x *StreamIndexMultiAssetsServiceResponseV1) GetTsEvent() *timestamp.Timestamp
    func (*StreamIndexMultiAssetsServiceResponseV1) ProtoMessage()
    func (x *StreamIndexMultiAssetsServiceResponseV1) ProtoReflect() protoreflect.Message
    func (x *StreamIndexMultiAssetsServiceResponseV1) Reset()
    func (x *StreamIndexMultiAssetsServiceResponseV1) String() string

Package files

request.pb.go response.pb.go

Variables

var File_sdk_stream_index_multi_assets_v1_request_proto FileDescriptor
var File_sdk_stream_index_multi_assets_v1_response_proto FileDescriptor

type StreamIndexMultiAssetsServiceRequestV1

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

func (*StreamIndexMultiAssetsServiceRequestV1) Descriptor() ([]int)

Deprecated: Use StreamIndexMultiAssetsServiceRequestV1.ProtoReflect.Descriptor instead.

func (*StreamIndexMultiAssetsServiceRequestV1) GetCommodities

func (x *StreamIndexMultiAssetsServiceRequestV1) GetCommodities() []index_v1.StreamIndexCommodity

func (*StreamIndexMultiAssetsServiceRequestV1) GetIndexCode

func (x *StreamIndexMultiAssetsServiceRequestV1) GetIndexCode() string

func (*StreamIndexMultiAssetsServiceRequestV1) GetInterval

func (x *StreamIndexMultiAssetsServiceRequestV1) GetInterval() *core.DataInterval

func (*StreamIndexMultiAssetsServiceRequestV1) ProtoMessage

func (*StreamIndexMultiAssetsServiceRequestV1) ProtoMessage()

func (*StreamIndexMultiAssetsServiceRequestV1) ProtoReflect

func (x *StreamIndexMultiAssetsServiceRequestV1) ProtoReflect() Message

func (*StreamIndexMultiAssetsServiceRequestV1) Reset

func (x *StreamIndexMultiAssetsServiceRequestV1) Reset()

func (*StreamIndexMultiAssetsServiceRequestV1) String

func (x *StreamIndexMultiAssetsServiceRequestV1) String() string

type StreamIndexMultiAssetsServiceResponseComposition

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

func (*StreamIndexMultiAssetsServiceResponseComposition) Descriptor() ([]int)

Deprecated: Use StreamIndexMultiAssetsServiceResponseComposition.ProtoReflect.Descriptor instead.

func (*StreamIndexMultiAssetsServiceResponseComposition) GetBase

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetBase() string

func (*StreamIndexMultiAssetsServiceResponseComposition) GetCurrencyConversion

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetCurrencyConversion() string

func (*StreamIndexMultiAssetsServiceResponseComposition) GetExchanges

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetExchanges() []string

func (*StreamIndexMultiAssetsServiceResponseComposition) GetInstrumentInterval

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetInstrumentInterval() *core.DataInterval

func (*StreamIndexMultiAssetsServiceResponseComposition) GetQuote

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetQuote() string

func (*StreamIndexMultiAssetsServiceResponseComposition) GetTsEvent

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetTsEvent() *Timestamp

func (*StreamIndexMultiAssetsServiceResponseComposition) GetUnderlyingInstrument

func (x *StreamIndexMultiAssetsServiceResponseComposition) GetUnderlyingInstrument() string

func (*StreamIndexMultiAssetsServiceResponseComposition) ProtoMessage

func (*StreamIndexMultiAssetsServiceResponseComposition) ProtoMessage()

func (*StreamIndexMultiAssetsServiceResponseComposition) ProtoReflect

func (x *StreamIndexMultiAssetsServiceResponseComposition) ProtoReflect() Message

func (*StreamIndexMultiAssetsServiceResponseComposition) Reset

func (x *StreamIndexMultiAssetsServiceResponseComposition) Reset()

func (*StreamIndexMultiAssetsServiceResponseComposition) String

func (x *StreamIndexMultiAssetsServiceResponseComposition) String() string

type StreamIndexMultiAssetsServiceResponsePair

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

func (*StreamIndexMultiAssetsServiceResponsePair) Descriptor() ([]int)

Deprecated: Use StreamIndexMultiAssetsServiceResponsePair.ProtoReflect.Descriptor instead.

func (*StreamIndexMultiAssetsServiceResponsePair) GetCappingFactor

func (x *StreamIndexMultiAssetsServiceResponsePair) GetCappingFactor() float64

func (*StreamIndexMultiAssetsServiceResponsePair) GetCurrencyConversionFactor

func (x *StreamIndexMultiAssetsServiceResponsePair) GetCurrencyConversionFactor() float64

func (*StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingInstrument

func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingInstrument() string

func (*StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingPrice

func (x *StreamIndexMultiAssetsServiceResponsePair) GetUnderlyingPrice() *DoubleValue

func (*StreamIndexMultiAssetsServiceResponsePair) GetWeightingFactor

func (x *StreamIndexMultiAssetsServiceResponsePair) GetWeightingFactor() float64

func (*StreamIndexMultiAssetsServiceResponsePair) ProtoMessage

func (*StreamIndexMultiAssetsServiceResponsePair) ProtoMessage()

func (*StreamIndexMultiAssetsServiceResponsePair) ProtoReflect

func (x *StreamIndexMultiAssetsServiceResponsePair) ProtoReflect() Message

func (*StreamIndexMultiAssetsServiceResponsePair) Reset

func (x *StreamIndexMultiAssetsServiceResponsePair) Reset()

func (*StreamIndexMultiAssetsServiceResponsePair) String

func (x *StreamIndexMultiAssetsServiceResponsePair) String() string

type StreamIndexMultiAssetsServiceResponsePrices

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

func (*StreamIndexMultiAssetsServiceResponsePrices) Descriptor() ([]int)

Deprecated: Use StreamIndexMultiAssetsServiceResponsePrices.ProtoReflect.Descriptor instead.

func (*StreamIndexMultiAssetsServiceResponsePrices) GetDivisor

func (x *StreamIndexMultiAssetsServiceResponsePrices) GetDivisor() float64

func (*StreamIndexMultiAssetsServiceResponsePrices) GetIndexValue

func (x *StreamIndexMultiAssetsServiceResponsePrices) GetIndexValue() float64

func (*StreamIndexMultiAssetsServiceResponsePrices) GetPairs

func (x *StreamIndexMultiAssetsServiceResponsePrices) GetPairs() []*StreamIndexMultiAssetsServiceResponsePair

func (*StreamIndexMultiAssetsServiceResponsePrices) ProtoMessage

func (*StreamIndexMultiAssetsServiceResponsePrices) ProtoMessage()

func (*StreamIndexMultiAssetsServiceResponsePrices) ProtoReflect

func (x *StreamIndexMultiAssetsServiceResponsePrices) ProtoReflect() Message

func (*StreamIndexMultiAssetsServiceResponsePrices) Reset

func (x *StreamIndexMultiAssetsServiceResponsePrices) Reset()

func (*StreamIndexMultiAssetsServiceResponsePrices) String

func (x *StreamIndexMultiAssetsServiceResponsePrices) String() string

type StreamIndexMultiAssetsServiceResponseV1

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

func (*StreamIndexMultiAssetsServiceResponseV1) Descriptor() ([]int)

Deprecated: Use StreamIndexMultiAssetsServiceResponseV1.ProtoReflect.Descriptor instead.

func (*StreamIndexMultiAssetsServiceResponseV1) GetCommodity

func (x *StreamIndexMultiAssetsServiceResponseV1) GetCommodity() index_v1.StreamIndexCommodity

func (*StreamIndexMultiAssetsServiceResponseV1) GetCompositions

func (x *StreamIndexMultiAssetsServiceResponseV1) GetCompositions() []*StreamIndexMultiAssetsServiceResponseComposition

func (*StreamIndexMultiAssetsServiceResponseV1) GetIndexCode

func (x *StreamIndexMultiAssetsServiceResponseV1) GetIndexCode() string

func (*StreamIndexMultiAssetsServiceResponseV1) GetInterval

func (x *StreamIndexMultiAssetsServiceResponseV1) GetInterval() *core.DataInterval

func (*StreamIndexMultiAssetsServiceResponseV1) GetMainQuote

func (x *StreamIndexMultiAssetsServiceResponseV1) GetMainQuote() string

func (*StreamIndexMultiAssetsServiceResponseV1) GetPrice

func (x *StreamIndexMultiAssetsServiceResponseV1) GetPrice() *StreamIndexMultiAssetsServiceResponsePrices

func (*StreamIndexMultiAssetsServiceResponseV1) GetTsCompute

func (x *StreamIndexMultiAssetsServiceResponseV1) GetTsCompute() *Timestamp

func (*StreamIndexMultiAssetsServiceResponseV1) GetTsEvent

func (x *StreamIndexMultiAssetsServiceResponseV1) GetTsEvent() *Timestamp

func (*StreamIndexMultiAssetsServiceResponseV1) ProtoMessage

func (*StreamIndexMultiAssetsServiceResponseV1) ProtoMessage()

func (*StreamIndexMultiAssetsServiceResponseV1) ProtoReflect

func (x *StreamIndexMultiAssetsServiceResponseV1) ProtoReflect() Message

func (*StreamIndexMultiAssetsServiceResponseV1) Reset

func (x *StreamIndexMultiAssetsServiceResponseV1) Reset()

func (*StreamIndexMultiAssetsServiceResponseV1) String

func (x *StreamIndexMultiAssetsServiceResponseV1) String() string