Class StreamTradesResponseV1
Inheritance
System.Object
StreamTradesResponseV1
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamTradesResponseV1 : Google.Protobuf.IMessage<StreamTradesResponseV1>
Constructors
StreamTradesResponseV1()
Declaration
public StreamTradesResponseV1()
StreamTradesResponseV1(StreamTradesResponseV1)
Declaration
public StreamTradesResponseV1(StreamTradesResponseV1 other)
Parameters
Fields
AdditionalPropertiesFieldNumber
Field number for the "additional_properties" field.
Declaration
public const int AdditionalPropertiesFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
AmountFieldNumber
Field number for the "amount" field.
Declaration
public const int AmountFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
ClassFieldNumber
Field number for the "class" field.
Declaration
public const int ClassFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
CodeFieldNumber
Field number for the "code" field.
Declaration
public const int CodeFieldNumber = 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 |
|
PriceFieldNumber
Field number for the "price" field.
Declaration
public const int PriceFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
SequenceIdFieldNumber
Field number for the "sequence_id" field.
Declaration
public const int SequenceIdFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
SideFieldNumber
Field number for the "side" field.
Declaration
public const int SideFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
TsCollectionFieldNumber
Field number for the "ts_collection" field.
Declaration
public const int TsCollectionFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
TsEventFieldNumber
Field number for the "ts_event" field.
Declaration
public const int TsEventFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
TsExchangeFieldNumber
Field number for the "ts_exchange" field.
Declaration
public const int TsExchangeFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
AdditionalProperties
Additionnal properties, specific to the exchange.
Declaration
public Google.Protobuf.Collections.MapField<string, string> AdditionalProperties { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.MapField<System.String, System.String> |
|
Amount
Amount / quantity of asset bought or sold, displayed in base currency.
Declaration
public double Amount { get; set; }
Property Value
Type |
Description |
System.Double |
|
Class
Instrument class, empty when instrument not mapped.
Declaration
public string Class { get; set; }
Property Value
Type |
Description |
System.String |
|
Code
Instrument code, empty when instrument not mapped.
Declaration
public string Code { get; set; }
Property Value
Type |
Description |
System.String |
|
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<StreamTradesResponseV1> Parser { get; }
Property Value
Price
Declaration
public double Price { get; set; }
Property Value
Type |
Description |
System.Double |
|
SequenceId
Sequence ID for event. Sortable in lexicographic order.
Declaration
public string SequenceId { get; set; }
Property Value
Type |
Description |
System.String |
|
Side
Declaration
public StreamTradesResponseV1.Types.TradeSide Side { get; set; }
Property Value
TsCollection
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
Declaration
public TimestampValue TsCollection { get; set; }
Property Value
TsEvent
Event generation timestamp (event created by Kaiko), after normalization.
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp TsEvent { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
TsExchange
Timestamp of trade, when provided by the exchange.
Declaration
public TimestampValue TsExchange { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamTradesResponseV1 Clone()
Returns
Equals(StreamTradesResponseV1)
Declaration
public bool Equals(StreamTradesResponseV1 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(StreamTradesResponseV1)
Declaration
public void MergeFrom(StreamTradesResponseV1 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