Class StreamMarketUpdateRequestV1
StreamMarketUpdateRequestV1
Inheritance
System.Object
StreamMarketUpdateRequestV1
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamMarketUpdateRequestV1 : Google.Protobuf.IMessage<StreamMarketUpdateRequestV1>
Constructors
StreamMarketUpdateRequestV1()
Declaration
public StreamMarketUpdateRequestV1()
StreamMarketUpdateRequestV1(StreamMarketUpdateRequestV1)
Declaration
public StreamMarketUpdateRequestV1(StreamMarketUpdateRequestV1 other)
Parameters
Fields
CommoditiesFieldNumber
Field number for the "commodities" field.
Declaration
public const int CommoditiesFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
InstrumentCriteriaFieldNumber
Field number for the "instrument_criteria" field.
Declaration
public const int InstrumentCriteriaFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
IntervalFieldNumber
Field number for the "interval" field.
Declaration
public const int IntervalFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
SnapshotTypeFieldNumber
Field number for the "snapshot_type" field.
Declaration
public const int SnapshotTypeFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Commodities
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
Declaration
public Google.Protobuf.Collections.RepeatedField<StreamMarketUpdateCommodity> Commodities { get; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
InstrumentCriteria
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
Declaration
public InstrumentCriteria InstrumentCriteria { get; set; }
Property Value
Interval
Data interval. For historical data only.
Declaration
public DataInterval Interval { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<StreamMarketUpdateRequestV1> Parser { get; }
Property Value
SnapshotType
SnapshotType is the type of snapshot if commodities contains orderbook.
This field is deprecated and used anymore, only full snapshot are sent.
Declaration
public StreamMarketUpdateRequestV1.Types.OrderbookSnapshotType SnapshotType { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamMarketUpdateRequestV1 Clone()
Returns
Equals(StreamMarketUpdateRequestV1)
Declaration
public bool Equals(StreamMarketUpdateRequestV1 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(StreamMarketUpdateRequestV1)
Declaration
public void MergeFrom(StreamMarketUpdateRequestV1 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