...

Package aggregated_state_price_v1

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

Overview ▾

Variables

var File_sdk_stream_aggregated_state_price_v1_request_proto FileDescriptor
var File_sdk_stream_aggregated_state_price_v1_response_proto FileDescriptor

type StreamAggregatedStatePriceRequestV1

StreamAggregatedStatePriceRequestV1

type StreamAggregatedStatePriceRequestV1 struct {

    // assets is a list of assets to subscribe to
    Assets []string `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamAggregatedStatePriceRequestV1) Descriptor

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

Deprecated: Use StreamAggregatedStatePriceRequestV1.ProtoReflect.Descriptor instead.

func (*StreamAggregatedStatePriceRequestV1) GetAssets

func (x *StreamAggregatedStatePriceRequestV1) GetAssets() []string

func (*StreamAggregatedStatePriceRequestV1) ProtoMessage

func (*StreamAggregatedStatePriceRequestV1) ProtoMessage()

func (*StreamAggregatedStatePriceRequestV1) ProtoReflect

func (x *StreamAggregatedStatePriceRequestV1) ProtoReflect() Message

func (*StreamAggregatedStatePriceRequestV1) Reset

func (x *StreamAggregatedStatePriceRequestV1) Reset()

func (*StreamAggregatedStatePriceRequestV1) String

func (x *StreamAggregatedStatePriceRequestV1) String() string

type StreamAggregatedStatePriceResponseV1

StreamAggregatedStatePriceResponseV1

type StreamAggregatedStatePriceResponseV1 struct {

    // datetime is the timestamp of the datapoint
    Datetime *Timestamp `protobuf:"bytes,1,opt,name=datetime,proto3" json:"datetime,omitempty"`
    // base is the base currency of the pair
    Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
    // aggregated_price_usd is the aggregated price in USD
    AggregatedPriceUsd string `protobuf:"bytes,3,opt,name=aggregated_price_usd,json=aggregatedPriceUsd,proto3" json:"aggregated_price_usd,omitempty"`
    // aggregated_price_lst is the aggregated price in LST quote token
    AggregatedPriceLst string `protobuf:"bytes,4,opt,name=aggregated_price_lst,json=aggregatedPriceLst,proto3" json:"aggregated_price_lst,omitempty"`
    // ts_event is the timestamp of the event
    TsEvent *Timestamp `protobuf:"bytes,5,opt,name=ts_event,json=tsEvent,proto3" json:"ts_event,omitempty"`
    // lst_quote is the lst quote currency
    LstQuote string `protobuf:"bytes,6,opt,name=lst_quote,json=lstQuote,proto3" json:"lst_quote,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamAggregatedStatePriceResponseV1) Descriptor

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

Deprecated: Use StreamAggregatedStatePriceResponseV1.ProtoReflect.Descriptor instead.

func (*StreamAggregatedStatePriceResponseV1) GetAggregatedPriceLst

func (x *StreamAggregatedStatePriceResponseV1) GetAggregatedPriceLst() string

func (*StreamAggregatedStatePriceResponseV1) GetAggregatedPriceUsd

func (x *StreamAggregatedStatePriceResponseV1) GetAggregatedPriceUsd() string

func (*StreamAggregatedStatePriceResponseV1) GetBase

func (x *StreamAggregatedStatePriceResponseV1) GetBase() string

func (*StreamAggregatedStatePriceResponseV1) GetDatetime

func (x *StreamAggregatedStatePriceResponseV1) GetDatetime() *Timestamp

func (*StreamAggregatedStatePriceResponseV1) GetLstQuote

func (x *StreamAggregatedStatePriceResponseV1) GetLstQuote() string

func (*StreamAggregatedStatePriceResponseV1) GetTsEvent

func (x *StreamAggregatedStatePriceResponseV1) GetTsEvent() *Timestamp

func (*StreamAggregatedStatePriceResponseV1) ProtoMessage

func (*StreamAggregatedStatePriceResponseV1) ProtoMessage()

func (*StreamAggregatedStatePriceResponseV1) ProtoReflect

func (x *StreamAggregatedStatePriceResponseV1) ProtoReflect() Message

func (*StreamAggregatedStatePriceResponseV1) Reset

func (x *StreamAggregatedStatePriceResponseV1) Reset()

func (*StreamAggregatedStatePriceResponseV1) String

func (x *StreamAggregatedStatePriceResponseV1) String() string