ProtoOATrendbar
* Historical Trendbar entity.
Implements: IMessage<ProtoOATrendbar>, IMessage, IEquatable<ProtoOATrendbar>, IDeepCloneable<ProtoOATrendbar>, IBufferMessage
Properties
public ulong DeltaClose { get; set; }
value = protoOATrendbar.DeltaClose
protoOATrendbar.DeltaClose = value
Delta between close and low price. close = low + deltaClose.
public ulong DeltaHigh { get; set; }
value = protoOATrendbar.DeltaHigh
protoOATrendbar.DeltaHigh = value
Delta between high and low price. high = low + deltaHigh.
public ulong DeltaOpen { get; set; }
value = protoOATrendbar.DeltaOpen
protoOATrendbar.DeltaOpen = value
Delta between open and low price. open = low + deltaOpen.
public bool HasDeltaClose { get; }
value = protoOATrendbar.HasDeltaClose
Gets whether the "deltaClose" field is set
public bool HasDeltaHigh { get; }
value = protoOATrendbar.HasDeltaHigh
Gets whether the "deltaHigh" field is set
public bool HasDeltaOpen { get; }
value = protoOATrendbar.HasDeltaOpen
Gets whether the "deltaOpen" field is set
public bool HasLow { get; }
value = protoOATrendbar.HasLow
Gets whether the "low" field is set
public bool HasPeriod { get; }
value = protoOATrendbar.HasPeriod
Gets whether the "period" field is set
public bool HasUtcTimestampInMinutes { get; }
value = protoOATrendbar.HasUtcTimestampInMinutes
Gets whether the "utcTimestampInMinutes" field is set
public bool HasVolume { get; }
value = protoOATrendbar.HasVolume
Gets whether the "volume" field is set
public long Low { get; set; }
value = protoOATrendbar.Low
protoOATrendbar.Low = value
Low price of the bar.
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOATrendbar.Period
protoOATrendbar.Period = value
Bar period.
public uint UtcTimestampInMinutes { get; set; }
value = protoOATrendbar.UtcTimestampInMinutes
protoOATrendbar.UtcTimestampInMinutes = value
The Unix time in minutes of the bar, equal to the timestamp of the open tick.
public long Volume { get; set; }
value = protoOATrendbar.Volume
protoOATrendbar.Volume = value
Bar volume in ticks.
Methods
public void ClearDeltaClose()
protoOATrendbar.ClearDeltaClose()
Clears the value of the "deltaClose" field
public void ClearDeltaHigh()
protoOATrendbar.ClearDeltaHigh()
Clears the value of the "deltaHigh" field
public void ClearDeltaOpen()
protoOATrendbar.ClearDeltaOpen()
Clears the value of the "deltaOpen" field
public void ClearPeriod()
protoOATrendbar.ClearPeriod()
Clears the value of the "period" field
public void ClearUtcTimestampInMinutes()
protoOATrendbar.ClearUtcTimestampInMinutes()
Clears the value of the "utcTimestampInMinutes" field
public void ClearVolume()
protoOATrendbar.ClearVolume()
Clears the value of the "volume" field
Fields
public const int DeltaCloseFieldNumber
value = ProtoOATrendbar.DeltaCloseFieldNumber
Field number for the "deltaClose" field.
public const int DeltaHighFieldNumber
value = ProtoOATrendbar.DeltaHighFieldNumber
Field number for the "deltaHigh" field.
public const int DeltaOpenFieldNumber
value = ProtoOATrendbar.DeltaOpenFieldNumber
Field number for the "deltaOpen" field.
public const int LowFieldNumber
value = ProtoOATrendbar.LowFieldNumber
Field number for the "low" field.
public const int PeriodFieldNumber
value = ProtoOATrendbar.PeriodFieldNumber
Field number for the "period" field.
public const int UtcTimestampInMinutesFieldNumber
value = ProtoOATrendbar.UtcTimestampInMinutesFieldNumber
Field number for the "utcTimestampInMinutes" field.
public const int VolumeFieldNumber
value = ProtoOATrendbar.VolumeFieldNumber
Field number for the "volume" field.