ProtoOAGetTrendbarsReq
* Request for getting historical trend bars for the symbol.
Implements: IMessage<ProtoOAGetTrendbarsReq>, IMessage, IEquatable<ProtoOAGetTrendbarsReq>, IDeepCloneable<ProtoOAGetTrendbarsReq>, IBufferMessage
Properties
public uint Count { get; set; }
value = protoOAGetTrendbarsReq.Count
protoOAGetTrendbarsReq.Count = value
Limit number of trend bars in response back from toTimestamp.
public long CtidTraderAccountId { get; set; }
value = protoOAGetTrendbarsReq.CtidTraderAccountId
protoOAGetTrendbarsReq.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public long FromTimestamp { get; set; }
value = protoOAGetTrendbarsReq.FromTimestamp
protoOAGetTrendbarsReq.FromTimestamp = value
The Unix time in milliseconds from which the search starts. Must be bigger or equal to zero (1st Jan 1970).
public bool HasCount { get; }
value = protoOAGetTrendbarsReq.HasCount
Gets whether the "count" field is set
public bool HasCtidTraderAccountId { get; }
value = protoOAGetTrendbarsReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasFromTimestamp { get; }
value = protoOAGetTrendbarsReq.HasFromTimestamp
Gets whether the "fromTimestamp" field is set
public bool HasPayloadType { get; }
value = protoOAGetTrendbarsReq.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasPeriod { get; }
value = protoOAGetTrendbarsReq.HasPeriod
Gets whether the "period" field is set
public bool HasSymbolId { get; }
value = protoOAGetTrendbarsReq.HasSymbolId
Gets whether the "symbolId" field is set
public bool HasToTimestamp { get; }
value = protoOAGetTrendbarsReq.HasToTimestamp
Gets whether the "toTimestamp" field is set
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOAGetTrendbarsReq.Period
protoOAGetTrendbarsReq.Period = value
Specifies period of trend bar series (e.g. M1, M10, etc.).
public long SymbolId { get; set; }
value = protoOAGetTrendbarsReq.SymbolId
protoOAGetTrendbarsReq.SymbolId = value
Unique identifier of the Symbol in cTrader platform.
public long ToTimestamp { get; set; }
value = protoOAGetTrendbarsReq.ToTimestamp
protoOAGetTrendbarsReq.ToTimestamp = value
The Unix time in milliseconds of finishing the search. Smaller or equal to 2147483646000 (19th Jan 2038).
Methods
public void ClearCount()
protoOAGetTrendbarsReq.ClearCount()
Clears the value of the "count" field
public void ClearCtidTraderAccountId()
protoOAGetTrendbarsReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearFromTimestamp()
protoOAGetTrendbarsReq.ClearFromTimestamp()
Clears the value of the "fromTimestamp" field
public void ClearPayloadType()
protoOAGetTrendbarsReq.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearPeriod()
protoOAGetTrendbarsReq.ClearPeriod()
Clears the value of the "period" field
public void ClearSymbolId()
protoOAGetTrendbarsReq.ClearSymbolId()
Clears the value of the "symbolId" field
public void ClearToTimestamp()
protoOAGetTrendbarsReq.ClearToTimestamp()
Clears the value of the "toTimestamp" field
Fields
public const int CountFieldNumber
value = ProtoOAGetTrendbarsReq.CountFieldNumber
Field number for the "count" field.
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTrendbarsReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int FromTimestampFieldNumber
value = ProtoOAGetTrendbarsReq.FromTimestampFieldNumber
Field number for the "fromTimestamp" field.
public const int PayloadTypeFieldNumber
value = ProtoOAGetTrendbarsReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int PeriodFieldNumber
value = ProtoOAGetTrendbarsReq.PeriodFieldNumber
Field number for the "period" field.
public const int SymbolIdFieldNumber
value = ProtoOAGetTrendbarsReq.SymbolIdFieldNumber
Field number for the "symbolId" field.
public const int ToTimestampFieldNumber
value = ProtoOAGetTrendbarsReq.ToTimestampFieldNumber
Field number for the "toTimestamp" field.