Show / Hide Table of Contents

Class StreamDerivativesInstrumentMetricsResponseV1

StreamDerivativesInstrumentMetricsResponseV1 derivatives v1 response.

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

Constructors

StreamDerivativesInstrumentMetricsResponseV1()

Declaration
public StreamDerivativesInstrumentMetricsResponseV1()

StreamDerivativesInstrumentMetricsResponseV1(StreamDerivativesInstrumentMetricsResponseV1)

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

Fields

CommodityFieldNumber

Field number for the "commodity" field.

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

CommodityKindFieldNumber

Field number for the "commodity_kind" field.

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

LegacySymbolFieldNumber

Field number for the "legacy_symbol" field.

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

ValueFieldNumber

Field number for the "value" field.

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

Properties

Commodity

Commodity. See https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/risk#fields and https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/price#fields.

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

CommodityKind

Kind of commodity (price of risk).

Declaration
public StreamDerivativesInstrumentCommodityKindV1 CommodityKind { get; set; }
Property Value
Type Description
StreamDerivativesInstrumentCommodityKindV1

Descriptor

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

Exchange

Exchange.

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

LegacySymbol

Legacy symbol.

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

Parser

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

TsCollection

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

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

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

Value

Value of the commodity.

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

Methods

CalculateSize()

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

Clone()

Declaration
public StreamDerivativesInstrumentMetricsResponseV1 Clone()
Returns
Type Description
StreamDerivativesInstrumentMetricsResponseV1

Equals(StreamDerivativesInstrumentMetricsResponseV1)

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

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