Class SourceData
Inheritance
System.Object
SourceData
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class SourceData : Google.Protobuf.IMessage<SourceData>
Constructors
SourceData()
Declaration
SourceData(SourceData)
Declaration
public SourceData(SourceData other)
Parameters
Fields
CountFieldNumber
Field number for the "count" field.
Declaration
public const int CountFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
ExchangeCodeFieldNumber
Field number for the "exchange_code" field.
Declaration
public const int ExchangeCodeFieldNumber = 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 |
|
VolumeFieldNumber
Field number for the "volume" field.
Declaration
public const int VolumeFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Count
Number of trades for the given instrument code and aggregate.
Declaration
public long Count { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
ExchangeCode
Instrument exchange code, for example "cbse" (Coinbase).
Declaration
public string ExchangeCode { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<SourceData> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<SourceData> |
|
Price
Price for the instrument code on the exchange and interval.
Declaration
public string Price { get; set; }
Property Value
Type |
Description |
System.String |
|
Volume
Volume for the instrument code on the exchange and interval.
Declaration
public string Volume { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public SourceData Clone()
Returns
Equals(SourceData)
Declaration
public bool Equals(SourceData 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(SourceData)
Declaration
public void MergeFrom(SourceData 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