ProtoOATickData
StockSharp.cTrader.Native.Model
* Historical tick data type.
Implements: IMessage<ProtoOATickData>, IMessage, IEquatable<ProtoOATickData>, IDeepCloneable<ProtoOATickData>, IBufferMessage
Properties
HasTick
public bool HasTick { get; }
value = protoOATickData.HasTick
Gets whether the "tick" field is set
HasTimestamp
public bool HasTimestamp { get; }
value = protoOATickData.HasTimestamp
Gets whether the "timestamp" field is set
Tick
public long Tick { get; set; }
value = protoOATickData.Tick
protoOATickData.Tick = value
Tick price.
Timestamp
public long Timestamp { get; set; }
value = protoOATickData.Timestamp
protoOATickData.Timestamp = value
The Unix time in milliseconds of the tick. See ProtoOAGetTickDataRes.tickData for details.
Methods
ClearTimestamp
public void ClearTimestamp()
protoOATickData.ClearTimestamp()
Clears the value of the "timestamp" field
Fields
TickFieldNumber
public const int TickFieldNumber
value = ProtoOATickData.TickFieldNumber
Field number for the "tick" field.
TimestampFieldNumber
public const int TimestampFieldNumber
value = ProtoOATickData.TimestampFieldNumber
Field number for the "timestamp" field.