ProtoOAGetTrendbarsRes
* Response to the ProtoOAGetTrendbarsReq request.
Implements: IMessage<ProtoOAGetTrendbarsRes>, IMessage, IEquatable<ProtoOAGetTrendbarsRes>, IDeepCloneable<ProtoOAGetTrendbarsRes>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOAGetTrendbarsRes.CtidTraderAccountId
protoOAGetTrendbarsRes.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public bool HasCtidTraderAccountId { get; }
value = protoOAGetTrendbarsRes.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasHasMore { get; }
value = protoOAGetTrendbarsRes.HasHasMore
Gets whether the "hasMore" field is set
public bool HasMore { get; set; }
value = protoOAGetTrendbarsRes.HasMore
protoOAGetTrendbarsRes.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.
public bool HasPayloadType { get; }
value = protoOAGetTrendbarsRes.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasPeriod { get; }
value = protoOAGetTrendbarsRes.HasPeriod
Gets whether the "period" field is set
public bool HasSymbolId { get; }
value = protoOAGetTrendbarsRes.HasSymbolId
Gets whether the "symbolId" field is set
public bool HasTimestamp { get; }
value = protoOAGetTrendbarsRes.HasTimestamp
Gets whether the "timestamp" field is set
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOAGetTrendbarsRes.Period
protoOAGetTrendbarsRes.Period = value
Specifies period of trend bar series (e.g. M1, M10, etc.).
public long SymbolId { get; set; }
value = protoOAGetTrendbarsRes.SymbolId
protoOAGetTrendbarsRes.SymbolId = value
Unique identifier of the Symbol in cTrader platform.
public long Timestamp { get; set; }
value = protoOAGetTrendbarsRes.Timestamp
protoOAGetTrendbarsRes.Timestamp = value
Simply don't use this field, as your original request already contains toTimestamp.
public RepeatedField<ProtoOATrendbar> Trendbar { get; }
value = protoOAGetTrendbarsRes.Trendbar
The list of trend bars.
Methods
public void ClearCtidTraderAccountId()
protoOAGetTrendbarsRes.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearHasMore()
protoOAGetTrendbarsRes.ClearHasMore()
Clears the value of the "hasMore" field
public void ClearPayloadType()
protoOAGetTrendbarsRes.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearPeriod()
protoOAGetTrendbarsRes.ClearPeriod()
Clears the value of the "period" field
public void ClearSymbolId()
protoOAGetTrendbarsRes.ClearSymbolId()
Clears the value of the "symbolId" field
public void ClearTimestamp()
protoOAGetTrendbarsRes.ClearTimestamp()
Clears the value of the "timestamp" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTrendbarsRes.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int HasMoreFieldNumber
value = ProtoOAGetTrendbarsRes.HasMoreFieldNumber
Field number for the "hasMore" field.
public const int PayloadTypeFieldNumber
value = ProtoOAGetTrendbarsRes.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int PeriodFieldNumber
value = ProtoOAGetTrendbarsRes.PeriodFieldNumber
Field number for the "period" field.
public const int SymbolIdFieldNumber
value = ProtoOAGetTrendbarsRes.SymbolIdFieldNumber
Field number for the "symbolId" field.
public const int TimestampFieldNumber
value = ProtoOAGetTrendbarsRes.TimestampFieldNumber
Field number for the "timestamp" field.
public const int TrendbarFieldNumber
value = ProtoOAGetTrendbarsRes.TrendbarFieldNumber
Field number for the "trendbar" field.