Class StreamAggregatedQuoteResponseV2
StreamAggregatedQuoteResponseV2
Inheritance
System.Object
StreamAggregatedQuoteResponseV2
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamAggregatedQuoteResponseV2 : Google.Protobuf.IMessage<StreamAggregatedQuoteResponseV2>
Constructors
StreamAggregatedQuoteResponseV2()
Declaration
public StreamAggregatedQuoteResponseV2()
StreamAggregatedQuoteResponseV2(StreamAggregatedQuoteResponseV2)
Declaration
public StreamAggregatedQuoteResponseV2(StreamAggregatedQuoteResponseV2 other)
Parameters
Fields
AggregateFieldNumber
Field number for the "aggregate" field.
Declaration
public const int AggregateFieldNumber = 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 |
|
EventTypeFieldNumber
Field number for the "event_type" field.
Declaration
public const int EventTypeFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
InstrumentClassFieldNumber
Field number for the "instrument_class" field.
Declaration
public const int InstrumentClassFieldNumber = 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 |
|
UnvettedFieldNumber
Field number for the "unvetted" field.
Declaration
public const int UnvettedFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
VettedFieldNumber
Field number for the "vetted" field.
Declaration
public const int VettedFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Aggregate
Declaration
public string Aggregate { get; set; }
Property Value
Type |
Description |
System.String |
|
Code
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 |
|
EventType
Event type is ASK or BID.
Declaration
public StreamAggregatedQuoteResponseV2.Types.EventType EventType { get; set; }
Property Value
InstrumentClass
Declaration
public string InstrumentClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<StreamAggregatedQuoteResponseV2> Parser { get; }
Property Value
TsEvent
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp TsEvent { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
Unvetted
Unvetted value is same as value, but includes all exchanges covered by Kaiko Top Of Book Stream for computation.
This should be used whenever an asset is not part of the vetted list.
Declaration
public StreamAggregatedQuoteValue Unvetted { get; set; }
Property Value
Vetted
Vetted is update value (price and volume) using Kaiko vetted exchanges list.
Field is absent if the ticker has no update during the aggregate inerval or asset is not covered by vetted exchange list.
Declaration
public StreamAggregatedQuoteValue Vetted { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamAggregatedQuoteResponseV2 Clone()
Returns
Equals(StreamAggregatedQuoteResponseV2)
Declaration
public bool Equals(StreamAggregatedQuoteResponseV2 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(StreamAggregatedQuoteResponseV2)
Declaration
public void MergeFrom(StreamAggregatedQuoteResponseV2 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