Class StreamIndexServiceResponsePairs
StreamIndexServiceResponsePairs is computation result by pairs.
Inheritance
System.Object
StreamIndexServiceResponsePairs
Implements
Google.Protobuf.IBufferMessage
Assembly: KaikoSdk.dll
Syntax
public sealed class StreamIndexServiceResponsePairs : Google.Protobuf.IMessage<StreamIndexServiceResponsePairs>
Constructors
StreamIndexServiceResponsePairs()
Declaration
public StreamIndexServiceResponsePairs()
StreamIndexServiceResponsePairs(StreamIndexServiceResponsePairs)
Declaration
public StreamIndexServiceResponsePairs(StreamIndexServiceResponsePairs other)
Parameters
Fields
InstrumentsFieldNumber
Field number for the "instruments" field.
Declaration
public const int InstrumentsFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
PairFieldNumber
Field number for the "pair" field.
Declaration
public const int PairFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
WeightFieldNumber
Field number for the "weight" field.
Declaration
public const int WeightFieldNumber = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Instruments
Detailed computation by instruments.
Declaration
public Google.Protobuf.Collections.RepeatedField<StreamIndexServiceResponseInstruments> Instruments { get; }
Property Value
Pair
Declaration
public string Pair { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<StreamIndexServiceResponsePairs> Parser { get; }
Property Value
Weight
Weight (for multiple assets indices).
Declaration
public double Weight { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StreamIndexServiceResponsePairs Clone()
Returns
Equals(StreamIndexServiceResponsePairs)
Declaration
public bool Equals(StreamIndexServiceResponsePairs 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(StreamIndexServiceResponsePairs)
Declaration
public void MergeFrom(StreamIndexServiceResponsePairs 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