Show / Hide Table of Contents

Class StreamAggregatesDirectExchangeRateV2ResponseV1

StreamAggregatesDirectExchangeRateV2ResponseV1

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

Constructors

StreamAggregatesDirectExchangeRateV2ResponseV1()

Declaration
public StreamAggregatesDirectExchangeRateV2ResponseV1()

StreamAggregatesDirectExchangeRateV2ResponseV1(StreamAggregatesDirectExchangeRateV2ResponseV1)

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

Fields

AssetsFieldNumber

Field number for the "assets" field.

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

NoTradeFieldNumber

Field number for the "no_trade" field.

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

TimestampFieldNumber

Field number for the "timestamp" field.

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

WindowFieldNumber

Field number for the "window" field.

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

Properties

Assets

Sliding Window (duration string, ex: 1m).

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

Descriptor

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

NoTrade

NoTrade: no trade happened during the window.

Declaration
public bool NoTrade { get; set; }
Property Value
Type Description
System.Boolean

Parser

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

Price

Price for the trade.

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

Timestamp

Timestamp of event.

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

Window

Window information.

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

Methods

CalculateSize()

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

Clone()

Declaration
public StreamAggregatesDirectExchangeRateV2ResponseV1 Clone()
Returns
Type Description
StreamAggregatesDirectExchangeRateV2ResponseV1

Equals(StreamAggregatesDirectExchangeRateV2ResponseV1)

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

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