...

Package index_forex_rate_v1

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

Overview ▾

Index ▾

Variables
type StreamForexIndexDetail
    func (*StreamForexIndexDetail) Descriptor() ([]byte, []int)
    func (x *StreamForexIndexDetail) GetName() string
    func (x *StreamForexIndexDetail) GetPrice() float64
    func (x *StreamForexIndexDetail) GetTsEvent() *timestamp.Timestamp
    func (*StreamForexIndexDetail) ProtoMessage()
    func (x *StreamForexIndexDetail) ProtoReflect() protoreflect.Message
    func (x *StreamForexIndexDetail) Reset()
    func (x *StreamForexIndexDetail) String() string
type StreamForexIndexPublic
    func (*StreamForexIndexPublic) Descriptor() ([]byte, []int)
    func (x *StreamForexIndexPublic) GetName() string
    func (x *StreamForexIndexPublic) GetTsEvent() *timestamp.Timestamp
    func (*StreamForexIndexPublic) ProtoMessage()
    func (x *StreamForexIndexPublic) ProtoReflect() protoreflect.Message
    func (x *StreamForexIndexPublic) Reset()
    func (x *StreamForexIndexPublic) String() string
type StreamForexIndexServiceResponseDetail
    func (*StreamForexIndexServiceResponseDetail) Descriptor() ([]byte, []int)
    func (x *StreamForexIndexServiceResponseDetail) GetFxrate() *StreamForexIndexDetail
    func (x *StreamForexIndexServiceResponseDetail) GetUnderlying() *StreamForexIndexDetail
    func (*StreamForexIndexServiceResponseDetail) ProtoMessage()
    func (x *StreamForexIndexServiceResponseDetail) ProtoReflect() protoreflect.Message
    func (x *StreamForexIndexServiceResponseDetail) Reset()
    func (x *StreamForexIndexServiceResponseDetail) String() string
type StreamForexIndexServiceResponsePublic
    func (*StreamForexIndexServiceResponsePublic) Descriptor() ([]byte, []int)
    func (x *StreamForexIndexServiceResponsePublic) GetFxrate() *StreamForexIndexPublic
    func (x *StreamForexIndexServiceResponsePublic) GetUnderlying() *StreamForexIndexPublic
    func (*StreamForexIndexServiceResponsePublic) ProtoMessage()
    func (x *StreamForexIndexServiceResponsePublic) ProtoReflect() protoreflect.Message
    func (x *StreamForexIndexServiceResponsePublic) Reset()
    func (x *StreamForexIndexServiceResponsePublic) String() string
type StreamIndexForexRateServiceRequestV1
    func (*StreamIndexForexRateServiceRequestV1) Descriptor() ([]byte, []int)
    func (x *StreamIndexForexRateServiceRequestV1) GetIndexCode() string
    func (x *StreamIndexForexRateServiceRequestV1) GetInterval() *core.DataInterval
    func (*StreamIndexForexRateServiceRequestV1) ProtoMessage()
    func (x *StreamIndexForexRateServiceRequestV1) ProtoReflect() protoreflect.Message
    func (x *StreamIndexForexRateServiceRequestV1) Reset()
    func (x *StreamIndexForexRateServiceRequestV1) String() string
type StreamIndexForexRateServiceResponseV1
    func (*StreamIndexForexRateServiceResponseV1) Descriptor() ([]byte, []int)
    func (x *StreamIndexForexRateServiceResponseV1) GetCommodity() index_v1.StreamIndexCommodity
    func (x *StreamIndexForexRateServiceResponseV1) GetComposition() *StreamForexIndexServiceResponsePublic
    func (x *StreamIndexForexRateServiceResponseV1) GetDetail() *StreamForexIndexServiceResponseDetail
    func (x *StreamIndexForexRateServiceResponseV1) GetIndexCode() string
    func (x *StreamIndexForexRateServiceResponseV1) GetInterval() *core.DataInterval
    func (x *StreamIndexForexRateServiceResponseV1) GetPrice() float64
    func (x *StreamIndexForexRateServiceResponseV1) GetTsEvent() *timestamp.Timestamp
    func (*StreamIndexForexRateServiceResponseV1) ProtoMessage()
    func (x *StreamIndexForexRateServiceResponseV1) ProtoReflect() protoreflect.Message
    func (x *StreamIndexForexRateServiceResponseV1) Reset()
    func (x *StreamIndexForexRateServiceResponseV1) String() string

Package files

request.pb.go response.pb.go

Variables

var File_sdk_stream_index_forex_rate_v1_request_proto FileDescriptor
var File_sdk_stream_index_forex_rate_v1_response_proto FileDescriptor

type StreamForexIndexDetail

StreamForexIndexDetail is detail property involved in computation.

type StreamForexIndexDetail struct {

    // Name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Price
    Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
    // TSEvent.
    TsEvent *Timestamp `protobuf:"bytes,3,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamForexIndexDetail) Descriptor

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

Deprecated: Use StreamForexIndexDetail.ProtoReflect.Descriptor instead.

func (*StreamForexIndexDetail) GetName

func (x *StreamForexIndexDetail) GetName() string

func (*StreamForexIndexDetail) GetPrice

func (x *StreamForexIndexDetail) GetPrice() float64

func (*StreamForexIndexDetail) GetTsEvent

func (x *StreamForexIndexDetail) GetTsEvent() *Timestamp

func (*StreamForexIndexDetail) ProtoMessage

func (*StreamForexIndexDetail) ProtoMessage()

func (*StreamForexIndexDetail) ProtoReflect

func (x *StreamForexIndexDetail) ProtoReflect() Message

func (*StreamForexIndexDetail) Reset

func (x *StreamForexIndexDetail) Reset()

func (*StreamForexIndexDetail) String

func (x *StreamForexIndexDetail) String() string

type StreamForexIndexPublic

StreamForexIndexPublic is public property involved in computation.

type StreamForexIndexPublic struct {

    // Name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // TSEvent.
    TsEvent *Timestamp `protobuf:"bytes,2,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamForexIndexPublic) Descriptor

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

Deprecated: Use StreamForexIndexPublic.ProtoReflect.Descriptor instead.

func (*StreamForexIndexPublic) GetName

func (x *StreamForexIndexPublic) GetName() string

func (*StreamForexIndexPublic) GetTsEvent

func (x *StreamForexIndexPublic) GetTsEvent() *Timestamp

func (*StreamForexIndexPublic) ProtoMessage

func (*StreamForexIndexPublic) ProtoMessage()

func (*StreamForexIndexPublic) ProtoReflect

func (x *StreamForexIndexPublic) ProtoReflect() Message

func (*StreamForexIndexPublic) Reset

func (x *StreamForexIndexPublic) Reset()

func (*StreamForexIndexPublic) String

func (x *StreamForexIndexPublic) String() string

type StreamForexIndexServiceResponseDetail

StreamForexIndexServiceResponseDetail is detail property involved in computation.

type StreamForexIndexServiceResponseDetail struct {

    // Underlying.
    Underlying *StreamForexIndexDetail `protobuf:"bytes,1,opt,name=underlying,proto3" json:"underlying,omitempty"`
    // FxRate.
    Fxrate *StreamForexIndexDetail `protobuf:"bytes,2,opt,name=fxrate,proto3" json:"fxrate,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamForexIndexServiceResponseDetail) Descriptor

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

Deprecated: Use StreamForexIndexServiceResponseDetail.ProtoReflect.Descriptor instead.

func (*StreamForexIndexServiceResponseDetail) GetFxrate

func (x *StreamForexIndexServiceResponseDetail) GetFxrate() *StreamForexIndexDetail

func (*StreamForexIndexServiceResponseDetail) GetUnderlying

func (x *StreamForexIndexServiceResponseDetail) GetUnderlying() *StreamForexIndexDetail

func (*StreamForexIndexServiceResponseDetail) ProtoMessage

func (*StreamForexIndexServiceResponseDetail) ProtoMessage()

func (*StreamForexIndexServiceResponseDetail) ProtoReflect

func (x *StreamForexIndexServiceResponseDetail) ProtoReflect() Message

func (*StreamForexIndexServiceResponseDetail) Reset

func (x *StreamForexIndexServiceResponseDetail) Reset()

func (*StreamForexIndexServiceResponseDetail) String

func (x *StreamForexIndexServiceResponseDetail) String() string

type StreamForexIndexServiceResponsePublic

StreamForexIndexServiceResponsePublic is public property involved in computation.

type StreamForexIndexServiceResponsePublic struct {

    // Underlying.
    Underlying *StreamForexIndexPublic `protobuf:"bytes,1,opt,name=underlying,proto3" json:"underlying,omitempty"`
    // FxRate.
    Fxrate *StreamForexIndexPublic `protobuf:"bytes,2,opt,name=fxrate,proto3" json:"fxrate,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamForexIndexServiceResponsePublic) Descriptor

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

Deprecated: Use StreamForexIndexServiceResponsePublic.ProtoReflect.Descriptor instead.

func (*StreamForexIndexServiceResponsePublic) GetFxrate

func (x *StreamForexIndexServiceResponsePublic) GetFxrate() *StreamForexIndexPublic

func (*StreamForexIndexServiceResponsePublic) GetUnderlying

func (x *StreamForexIndexServiceResponsePublic) GetUnderlying() *StreamForexIndexPublic

func (*StreamForexIndexServiceResponsePublic) ProtoMessage

func (*StreamForexIndexServiceResponsePublic) ProtoMessage()

func (*StreamForexIndexServiceResponsePublic) ProtoReflect

func (x *StreamForexIndexServiceResponsePublic) ProtoReflect() Message

func (*StreamForexIndexServiceResponsePublic) Reset

func (x *StreamForexIndexServiceResponsePublic) Reset()

func (*StreamForexIndexServiceResponsePublic) String

func (x *StreamForexIndexServiceResponsePublic) String() string

type StreamIndexForexRateServiceRequestV1

StreamIndexForexRateServiceRequestV1

type StreamIndexForexRateServiceRequestV1 struct {

    // Index code.
    IndexCode string `protobuf:"bytes,1,opt,name=index_code,json=indexCode,proto3" json:"index_code,omitempty"`
    // Data interval. For historical data only.
    Interval *core.DataInterval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamIndexForexRateServiceRequestV1) Descriptor

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

Deprecated: Use StreamIndexForexRateServiceRequestV1.ProtoReflect.Descriptor instead.

func (*StreamIndexForexRateServiceRequestV1) GetIndexCode

func (x *StreamIndexForexRateServiceRequestV1) GetIndexCode() string

func (*StreamIndexForexRateServiceRequestV1) GetInterval

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

func (*StreamIndexForexRateServiceRequestV1) ProtoMessage

func (*StreamIndexForexRateServiceRequestV1) ProtoMessage()

func (*StreamIndexForexRateServiceRequestV1) ProtoReflect

func (x *StreamIndexForexRateServiceRequestV1) ProtoReflect() Message

func (*StreamIndexForexRateServiceRequestV1) Reset

func (x *StreamIndexForexRateServiceRequestV1) Reset()

func (*StreamIndexForexRateServiceRequestV1) String

func (x *StreamIndexForexRateServiceRequestV1) String() string

type StreamIndexForexRateServiceResponseV1

StreamIndexForexRateServiceResponseV1

type StreamIndexForexRateServiceResponseV1 struct {

    // Index code.
    IndexCode string `protobuf:"bytes,1,opt,name=index_code,json=indexCode,proto3" json:"index_code,omitempty"`
    // Event type.
    Commodity index_v1.StreamIndexCommodity `protobuf:"varint,2,opt,name=commodity,proto3,enum=kaikosdk.StreamIndexCommodity" json:"commodity,omitempty"`
    // Data interval.
    Interval *core.DataInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
    // Coimposition of the forex rate.
    Composition *StreamForexIndexServiceResponsePublic `protobuf:"bytes,4,opt,name=composition,proto3" json:"composition,omitempty"`
    // Price.
    Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
    // TSEvent
    TsEvent *Timestamp `protobuf:"bytes,6,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
    // Detail property.
    Detail *StreamForexIndexServiceResponseDetail `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamIndexForexRateServiceResponseV1) Descriptor

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

Deprecated: Use StreamIndexForexRateServiceResponseV1.ProtoReflect.Descriptor instead.

func (*StreamIndexForexRateServiceResponseV1) GetCommodity

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

func (*StreamIndexForexRateServiceResponseV1) GetComposition

func (x *StreamIndexForexRateServiceResponseV1) GetComposition() *StreamForexIndexServiceResponsePublic

func (*StreamIndexForexRateServiceResponseV1) GetDetail

func (x *StreamIndexForexRateServiceResponseV1) GetDetail() *StreamForexIndexServiceResponseDetail

func (*StreamIndexForexRateServiceResponseV1) GetIndexCode

func (x *StreamIndexForexRateServiceResponseV1) GetIndexCode() string

func (*StreamIndexForexRateServiceResponseV1) GetInterval

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

func (*StreamIndexForexRateServiceResponseV1) GetPrice

func (x *StreamIndexForexRateServiceResponseV1) GetPrice() float64

func (*StreamIndexForexRateServiceResponseV1) GetTsEvent

func (x *StreamIndexForexRateServiceResponseV1) GetTsEvent() *Timestamp

func (*StreamIndexForexRateServiceResponseV1) ProtoMessage

func (*StreamIndexForexRateServiceResponseV1) ProtoMessage()

func (*StreamIndexForexRateServiceResponseV1) ProtoReflect

func (x *StreamIndexForexRateServiceResponseV1) ProtoReflect() Message

func (*StreamIndexForexRateServiceResponseV1) Reset

func (x *StreamIndexForexRateServiceResponseV1) Reset()

func (*StreamIndexForexRateServiceResponseV1) String

func (x *StreamIndexForexRateServiceResponseV1) String() string