Show / Hide Table of Contents

Class StreamAggregatedPriceResponseV1

StreamAggregatedPriceResponseV1

Inheritance
System.Object
StreamAggregatedPriceResponseV1
Implements
Google.Protobuf.IBufferMessage
Namespace: KaikoSdk.Stream.AggregatedPriceV1
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamAggregatedPriceResponseV1 : Google.Protobuf.IMessage<StreamAggregatedPriceResponseV1>

Constructors

StreamAggregatedPriceResponseV1()

Declaration
public StreamAggregatedPriceResponseV1()

StreamAggregatedPriceResponseV1(StreamAggregatedPriceResponseV1)

Declaration
public StreamAggregatedPriceResponseV1(StreamAggregatedPriceResponseV1 other)
Parameters
Type Name Description
StreamAggregatedPriceResponseV1 other

Fields

AggregateFieldNumber

Field number for the "aggregate" field.

Declaration
public const int AggregateFieldNumber = null
Field Value
Type Description
System.Int32

CodeFieldNumber

Field number for the "code" field.

Declaration
public const int CodeFieldNumber = null
Field Value
Type Description
System.Int32

EventTypeFieldNumber

Field number for the "event_type" field.

Declaration
public const int EventTypeFieldNumber = null
Field Value
Type Description
System.Int32

InstrumentClassFieldNumber

Field number for the "instrument_class" field.

Declaration
public const int InstrumentClassFieldNumber = null
Field Value
Type Description
System.Int32

TsEventFieldNumber

Field number for the "ts_event" field.

Declaration
public const int TsEventFieldNumber = null
Field Value
Type Description
System.Int32

ValueFieldNumber

Field number for the "value" field.

Declaration
public const int ValueFieldNumber = null
Field Value
Type Description
System.Int32

Properties

Aggregate

Aggregate (interval).

Declaration
public string Aggregate { get; set; }
Property Value
Type Description
System.String

Code

Instrument code. See https://docs.kaiko.com/?python#instruments.

Declaration
public string Code { get; set; }
Property Value
Type Description
System.String

Descriptor

Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type Description
Google.Protobuf.Reflection.MessageDescriptor

EventType

Event type is ASK or BID.

Declaration
public StreamAggregatedPriceResponseV1.Types.EventType EventType { get; set; }
Property Value
Type Description
StreamAggregatedPriceResponseV1.Types.EventType

InstrumentClass

Instrument class. See https://docs.kaiko.com/?python#instruments.

Declaration
public string InstrumentClass { get; set; }
Property Value
Type Description
System.String

Parser

Declaration
public static Google.Protobuf.MessageParser<StreamAggregatedPriceResponseV1> Parser { get; }
Property Value
Type Description
Google.Protobuf.MessageParser<StreamAggregatedPriceResponseV1>

TsEvent

Timestamp of event.

Declaration
public Google.Protobuf.WellKnownTypes.Timestamp TsEvent { get; set; }
Property Value
Type Description
Google.Protobuf.WellKnownTypes.Timestamp

Value

Value is update value (price and volume). Field is absent if the ticker has no update during the aggregate inerval.

Declaration
public StreamAggregatedPriceValue Value { get; set; }
Property Value
Type Description
StreamAggregatedPriceValue

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32

Clone()

Declaration
public StreamAggregatedPriceResponseV1 Clone()
Returns
Type Description
StreamAggregatedPriceResponseV1

Equals(StreamAggregatedPriceResponseV1)

Declaration
public bool Equals(StreamAggregatedPriceResponseV1 other)
Parameters
Type Name Description
StreamAggregatedPriceResponseV1 other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
System.Object other
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

MergeFrom(Google.Protobuf.CodedInputStream)

Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type Name Description
Google.Protobuf.CodedInputStream input

MergeFrom(StreamAggregatedPriceResponseV1)

Declaration
public void MergeFrom(StreamAggregatedPriceResponseV1 other)
Parameters
Type Name Description
StreamAggregatedPriceResponseV1 other

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

WriteTo(Google.Protobuf.CodedOutputStream)

Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type Name Description
Google.Protobuf.CodedOutputStream output

Implements

Google.Protobuf.IBufferMessage
In This Article
Back to top Generated by DocFX