Class StreamMarketUpdateResponseV1.Types.Snapshot
Snapshot is an orderbook snapshot.
Inheritance
System.Object
StreamMarketUpdateResponseV1.Types.Snapshot
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class Snapshot : Google.Protobuf.IMessage<StreamMarketUpdateResponseV1.Types.Snapshot>
Constructors
Snapshot()
Declaration
Snapshot(StreamMarketUpdateResponseV1.Types.Snapshot)
Declaration
public Snapshot(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
Fields
AsksFieldNumber
Field number for the "asks" field.
Declaration
public const int AsksFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
BidsFieldNumber
Field number for the "bids" field.
Declaration
public const int BidsFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Asks
Asks is the list of asks of the orderbook.
Declaration
public Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order> Asks { get; }
Property Value
Bids
Bids is the list of bids of the orderbook.
Declaration
public Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateResponseV1.Types.Snapshot.Types.Order> Bids { get; }
Property Value
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> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamMarketUpdateResponseV1.Types.Snapshot Clone()
Returns
Equals(StreamMarketUpdateResponseV1.Types.Snapshot)
Declaration
public bool Equals(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
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(StreamMarketUpdateResponseV1.Types.Snapshot)
Declaration
public void MergeFrom(StreamMarketUpdateResponseV1.Types.Snapshot other)
Parameters
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