ProtoOAGetTickDataRes

StockSharp.cTrader.Native.Model

* Response to the ProtoOAGetTickDataReq request.

Implements: IMessage<ProtoOAGetTickDataRes>, IMessage, IEquatable<ProtoOAGetTickDataRes>, IDeepCloneable<ProtoOAGetTickDataRes>, IBufferMessage

Properties

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAGetTickDataRes.CtidTraderAccountId
protoOAGetTickDataRes.CtidTraderAccountId = value

Unique identifier of the trader's account. Used to match responses to trader's accounts.

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAGetTickDataRes.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasHasMore
public bool HasHasMore { get; }
value = protoOAGetTickDataRes.HasHasMore

Gets whether the "hasMore" field is set

HasMore
public bool HasMore { get; set; }
value = protoOAGetTickDataRes.HasMore
protoOAGetTickDataRes.HasMore = value

If TRUE then the number of records by filter is larger than chunkSize, the response contains the number of records that is equal to chunkSize.

HasPayloadType
public bool HasPayloadType { get; }
value = protoOAGetTickDataRes.HasPayloadType

Gets whether the "payloadType" field is set

TickData
public RepeatedField<ProtoOATickData> TickData { get; }
value = protoOAGetTickDataRes.TickData

The list of ticks is in chronological order (newest first). The first tick contains Unix time in milliseconds while all subsequent ticks have the time difference in milliseconds between the previous and the current one.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetTickDataRes.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearHasMore
public void ClearHasMore()
protoOAGetTickDataRes.ClearHasMore()

Clears the value of the "hasMore" field

ClearPayloadType
public void ClearPayloadType()
protoOAGetTickDataRes.ClearPayloadType()

Clears the value of the "payloadType" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTickDataRes.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

HasMoreFieldNumber
public const int HasMoreFieldNumber
value = ProtoOAGetTickDataRes.HasMoreFieldNumber

Field number for the "hasMore" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetTickDataRes.PayloadTypeFieldNumber

Field number for the "payloadType" field.

TickDataFieldNumber
public const int TickDataFieldNumber
value = ProtoOAGetTickDataRes.TickDataFieldNumber

Field number for the "tickData" field.