Class StreamIndexServiceUnderlyingTrade
StreamIndexServiceUnderlyingTrade is underlying trade information for a partition.
Inheritance
System.Object
StreamIndexServiceUnderlyingTrade
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamIndexServiceUnderlyingTrade : Google.Protobuf.IMessage<StreamIndexServiceUnderlyingTrade>
Constructors
StreamIndexServiceUnderlyingTrade()
Declaration
public StreamIndexServiceUnderlyingTrade()
StreamIndexServiceUnderlyingTrade(StreamIndexServiceUnderlyingTrade)
Declaration
public StreamIndexServiceUnderlyingTrade(StreamIndexServiceUnderlyingTrade other)
Parameters
Fields
DatetimeFieldNumber
Field number for the "datetime" field.
Declaration
public const int DatetimeFieldNumber = 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 |
|
IdFieldNumber
Field number for the "id" field.
Declaration
public const int IdFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
VolumeFieldNumber
Field number for the "volume" field.
Declaration
public const int VolumeFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Datetime
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp Datetime { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Exchange
Instrument exchange code, for example "cbse" (Coinbase).
Declaration
public string Exchange { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Trade ID, empty string when not present.
Declaration
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<StreamIndexServiceUnderlyingTrade> Parser { get; }
Property Value
Volume
Amount / quantity of asset bought or sold, displayed in base currency.
Declaration
public double Volume { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamIndexServiceUnderlyingTrade Clone()
Returns
Equals(StreamIndexServiceUnderlyingTrade)
Declaration
public bool Equals(StreamIndexServiceUnderlyingTrade 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(StreamIndexServiceUnderlyingTrade)
Declaration
public void MergeFrom(StreamIndexServiceUnderlyingTrade 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