Class Order
Order is an individual order in the order book.
Inheritance
System.Object
Order
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class Order : Google.Protobuf.IMessage<Order>
Constructors
Order()
Declaration
Order(Order)
Declaration
public Order(Order other)
Parameters
Type |
Name |
Description |
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<Order> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<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
Returns
Equals(Order)
Declaration
public bool Equals(Order other)
Parameters
Type |
Name |
Description |
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 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(Order)
Declaration
public void MergeFrom(Order other)
Parameters
Type |
Name |
Description |
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