Show / Hide Table of Contents

Class StreamOrderBookL2ResponseV1

StreamOrderBookL2ResponseV1 is the response of a Level 2 order book event.

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

Constructors

StreamOrderBookL2ResponseV1()

Declaration
public StreamOrderBookL2ResponseV1()

StreamOrderBookL2ResponseV1(StreamOrderBookL2ResponseV1)

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

Fields

AdditionalPropertiesFieldNumber

Field number for the "additional_properties" field.

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

AsksFieldNumber

Field number for the "asks" field.

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

BidsFieldNumber

Field number for the "bids" field.

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

ClassFieldNumber

Field number for the "class" field.

Declaration
public const int ClassFieldNumber = 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

ExchangeFieldNumber

Field number for the "exchange" field.

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

SequenceIdFieldNumber

Field number for the "sequence_id" field.

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

TsCollectionFieldNumber

Field number for the "ts_collection" field.

Declaration
public const int TsCollectionFieldNumber = 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

TsExchangeFieldNumber

Field number for the "ts_exchange" field.

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

UpdateTypeFieldNumber

Field number for the "update_type" field.

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

Properties

AdditionalProperties

Additionnal properties, specific to the exchange.

Declaration
public Google.Protobuf.Collections.MapField<string, string> AdditionalProperties { get; }
Property Value
Type Description
Google.Protobuf.Collections.MapField<System.String, System.String>

Asks

Asks is the list of asks of the orderbook.

Declaration
public Google.Protobuf.Collections.RepeatedField<Order> Asks { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<Order>

Bids

Bids is the list of bids of the orderbook.

Declaration
public Google.Protobuf.Collections.RepeatedField<Order> Bids { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<Order>

Class

Instrument class, for example "spot".

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

Code

Instrument code (currency pair), for example btc-usd.

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

Exchange

Instrument exchange code, for example "cbse" (Coinbase).

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

Parser

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

SequenceId

Sequence ID for event. Sortable in lexicographic order.

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

TsCollection

Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.

Declaration
public TimestampValue TsCollection { get; set; }
Property Value
Type Description
TimestampValue

TsEvent

Event generation timestamp (event created by Kaiko), after normalization.

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

TsExchange

Timestamp of the event as provided by the exchange.

Declaration
public TimestampValue TsExchange { get; set; }
Property Value
Type Description
TimestampValue

UpdateType

Event type.

Declaration
public StreamOrderBookL2UpdateType UpdateType { get; set; }
Property Value
Type Description
StreamOrderBookL2UpdateType

Methods

CalculateSize()

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

Clone()

Declaration
public StreamOrderBookL2ResponseV1 Clone()
Returns
Type Description
StreamOrderBookL2ResponseV1

Equals(StreamOrderBookL2ResponseV1)

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

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