Show / Hide Table of Contents

Class StreamMarketUpdateResponseV1

StreamMarketUpdateResponseV1

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

Constructors

StreamMarketUpdateResponseV1()

Declaration
public StreamMarketUpdateResponseV1()

StreamMarketUpdateResponseV1(StreamMarketUpdateResponseV1)

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

Fields

AdditionalPropertiesFieldNumber

Field number for the "additional_properties" field.

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

AmountFieldNumber

Field number for the "amount" field.

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

CommodityFieldNumber

Field number for the "commodity" field.

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

IdFieldNumber

Field number for the "id" field.

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

PriceFieldNumber

Field number for the "price" field.

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

SnapshotFieldNumber

Field number for the "snapshot" field.

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

Amount

Amount / quantity of asset bought or sold, displayed in base currency.

Declaration
public double Amount { get; set; }
Property Value
Type Description
System.Double

Class

Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.

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

Commodity

Kind of commodity concerned by the market update.

Declaration
public StreamMarketUpdateCommodity Commodity { get; set; }
Property Value
Type Description
StreamMarketUpdateCommodity

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

Id

ID from exchange (trades only), empty string when not present.

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

Parser

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

Price

Price for quote currency.

Declaration
public double Price { get; set; }
Property Value
Type Description
System.Double

SequenceId

Sequence ID for event. Sortable in lexicographic order.

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

Snapshot

Snapshot for this update.

Declaration
public StreamMarketUpdateResponseV1.Types.Snapshot Snapshot { get; set; }
Property Value
Type Description
StreamMarketUpdateResponseV1.Types.Snapshot

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 category for this update.

Declaration
public StreamMarketUpdateResponseV1.Types.StreamMarketUpdateType UpdateType { get; set; }
Property Value
Type Description
StreamMarketUpdateResponseV1.Types.StreamMarketUpdateType

Methods

CalculateSize()

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

Clone()

Declaration
public StreamMarketUpdateResponseV1 Clone()
Returns
Type Description
StreamMarketUpdateResponseV1

Equals(StreamMarketUpdateResponseV1)

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

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