Class StreamAggregatedPriceResponseV1
StreamAggregatedPriceResponseV1
Inheritance
System.Object
StreamAggregatedPriceResponseV1
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamAggregatedPriceResponseV1 : Google.Protobuf.IMessage<StreamAggregatedPriceResponseV1>
Constructors
StreamAggregatedPriceResponseV1()
Declaration
public StreamAggregatedPriceResponseV1()
StreamAggregatedPriceResponseV1(StreamAggregatedPriceResponseV1)
Declaration
public StreamAggregatedPriceResponseV1(StreamAggregatedPriceResponseV1 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 |
|
ValueFieldNumber
Field number for the "value" field.
Declaration
public const int ValueFieldNumber = 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 StreamAggregatedPriceResponseV1.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<StreamAggregatedPriceResponseV1> Parser { get; }
Property Value
TsEvent
Declaration
public Google.Protobuf.WellKnownTypes.Timestamp TsEvent { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
Value
Value is update value (price and volume). Field is absent if the ticker has no update during the aggregate inerval.
Declaration
public StreamAggregatedPriceValue Value { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamAggregatedPriceResponseV1 Clone()
Returns
Equals(StreamAggregatedPriceResponseV1)
Declaration
public bool Equals(StreamAggregatedPriceResponseV1 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(StreamAggregatedPriceResponseV1)
Declaration
public void MergeFrom(StreamAggregatedPriceResponseV1 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