Show / Hide Table of Contents

Class StreamAggregatedQuoteResponseV2

StreamAggregatedQuoteResponseV2

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

Constructors

StreamAggregatedQuoteResponseV2()

Declaration
public StreamAggregatedQuoteResponseV2()

StreamAggregatedQuoteResponseV2(StreamAggregatedQuoteResponseV2)

Declaration
public StreamAggregatedQuoteResponseV2(StreamAggregatedQuoteResponseV2 other)
Parameters
Type Name Description
StreamAggregatedQuoteResponseV2 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

UnvettedFieldNumber

Field number for the "unvetted" field.

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

VettedFieldNumber

Field number for the "vetted" field.

Declaration
public const int VettedFieldNumber = 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 StreamAggregatedQuoteResponseV2.Types.EventType EventType { get; set; }
Property Value
Type Description
StreamAggregatedQuoteResponseV2.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<StreamAggregatedQuoteResponseV2> Parser { get; }
Property Value
Type Description
Google.Protobuf.MessageParser<StreamAggregatedQuoteResponseV2>

TsEvent

Timestamp of event.

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

Unvetted

Unvetted value is same as value, but includes all exchanges covered by Kaiko Top Of Book Stream for computation. This should be used whenever an asset is not part of the vetted list.

Declaration
public StreamAggregatedQuoteValue Unvetted { get; set; }
Property Value
Type Description
StreamAggregatedQuoteValue

Vetted

Vetted is update value (price and volume) using Kaiko vetted exchanges list. Field is absent if the ticker has no update during the aggregate inerval or asset is not covered by vetted exchange list.

Declaration
public StreamAggregatedQuoteValue Vetted { get; set; }
Property Value
Type Description
StreamAggregatedQuoteValue

Methods

CalculateSize()

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

Clone()

Declaration
public StreamAggregatedQuoteResponseV2 Clone()
Returns
Type Description
StreamAggregatedQuoteResponseV2

Equals(StreamAggregatedQuoteResponseV2)

Declaration
public bool Equals(StreamAggregatedQuoteResponseV2 other)
Parameters
Type Name Description
StreamAggregatedQuoteResponseV2 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(StreamAggregatedQuoteResponseV2)

Declaration
public void MergeFrom(StreamAggregatedQuoteResponseV2 other)
Parameters
Type Name Description
StreamAggregatedQuoteResponseV2 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