ProtoOAGetTickDataReq

StockSharp.cTrader.Native.Model

* Request for getting historical tick data for the symbol.

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

Properties

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

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

FromTimestamp
public long FromTimestamp { get; set; }
value = protoOAGetTickDataReq.FromTimestamp
protoOAGetTickDataReq.FromTimestamp = value

The Unix time in milliseconds of starting the search. Must be bigger or equal to zero (1st Jan 1970).

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

Gets whether the "ctidTraderAccountId" field is set

HasFromTimestamp
public bool HasFromTimestamp { get; }
value = protoOAGetTickDataReq.HasFromTimestamp

Gets whether the "fromTimestamp" field is set

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

Gets whether the "payloadType" field is set

HasSymbolId
public bool HasSymbolId { get; }
value = protoOAGetTickDataReq.HasSymbolId

Gets whether the "symbolId" field is set

HasToTimestamp
public bool HasToTimestamp { get; }
value = protoOAGetTickDataReq.HasToTimestamp

Gets whether the "toTimestamp" field is set

HasType
public bool HasType { get; }
value = protoOAGetTickDataReq.HasType

Gets whether the "type" field is set

SymbolId
public long SymbolId { get; set; }
value = protoOAGetTickDataReq.SymbolId
protoOAGetTickDataReq.SymbolId = value

Unique identifier of the Symbol in cTrader platform.

ToTimestamp
public long ToTimestamp { get; set; }
value = protoOAGetTickDataReq.ToTimestamp
protoOAGetTickDataReq.ToTimestamp = value

The Unix time in milliseconds of finishing the search. <= 2147483646000 (19th Jan 2038).

Type
public ProtoOAQuoteType Type { get; set; }
value = protoOAGetTickDataReq.Type
protoOAGetTickDataReq.Type = value

Bid/Ask (1/2).

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetTickDataReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearFromTimestamp
public void ClearFromTimestamp()
protoOAGetTickDataReq.ClearFromTimestamp()

Clears the value of the "fromTimestamp" field

ClearPayloadType
public void ClearPayloadType()
protoOAGetTickDataReq.ClearPayloadType()

Clears the value of the "payloadType" field

ClearSymbolId
public void ClearSymbolId()
protoOAGetTickDataReq.ClearSymbolId()

Clears the value of the "symbolId" field

ClearToTimestamp
public void ClearToTimestamp()
protoOAGetTickDataReq.ClearToTimestamp()

Clears the value of the "toTimestamp" field

ClearType
public void ClearType()
protoOAGetTickDataReq.ClearType()

Clears the value of the "type" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTickDataReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

FromTimestampFieldNumber
public const int FromTimestampFieldNumber
value = ProtoOAGetTickDataReq.FromTimestampFieldNumber

Field number for the "fromTimestamp" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetTickDataReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOAGetTickDataReq.SymbolIdFieldNumber

Field number for the "symbolId" field.

ToTimestampFieldNumber
public const int ToTimestampFieldNumber
value = ProtoOAGetTickDataReq.ToTimestampFieldNumber

Field number for the "toTimestamp" field.

TypeFieldNumber
public const int TypeFieldNumber
value = ProtoOAGetTickDataReq.TypeFieldNumber

Field number for the "type" field.