Show / Hide Table of Contents

Class StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order

Order is a amount at a price level.

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

Constructors

Order()

Declaration
public Order()

Order(StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order)

Declaration
public Order(StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order other)
Parameters
Type Name Description
StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order other

Fields

AmountFieldNumber

Field number for the "amount" field.

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

Properties

Amount

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

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

Descriptor

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

Parser

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

Price

Price for quote currency.

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

Methods

CalculateSize()

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

Clone()

Declaration
public StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order Clone()
Returns
Type Description
StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order

Equals(StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order)

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

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