ProtoOASubscribeLiveTrendbarReq
* Request for subscribing for live trend bars. Requires subscription on the spot events, see ProtoOASubscribeSpotsReq.
Implements: IMessage<ProtoOASubscribeLiveTrendbarReq>, IMessage, IEquatable<ProtoOASubscribeLiveTrendbarReq>, IDeepCloneable<ProtoOASubscribeLiveTrendbarReq>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOASubscribeLiveTrendbarReq.CtidTraderAccountId
protoOASubscribeLiveTrendbarReq.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public bool HasCtidTraderAccountId { get; }
value = protoOASubscribeLiveTrendbarReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasPayloadType { get; }
value = protoOASubscribeLiveTrendbarReq.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasPeriod { get; }
value = protoOASubscribeLiveTrendbarReq.HasPeriod
Gets whether the "period" field is set
public bool HasSymbolId { get; }
value = protoOASubscribeLiveTrendbarReq.HasSymbolId
Gets whether the "symbolId" field is set
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOASubscribeLiveTrendbarReq.Period
protoOASubscribeLiveTrendbarReq.Period = value
Specifies period of trend bar series (e.g. M1, M10, etc.).
public long SymbolId { get; set; }
value = protoOASubscribeLiveTrendbarReq.SymbolId
protoOASubscribeLiveTrendbarReq.SymbolId = value
Unique identifier of the Symbol in cTrader platform.
Methods
public void ClearCtidTraderAccountId()
protoOASubscribeLiveTrendbarReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearPayloadType()
protoOASubscribeLiveTrendbarReq.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearPeriod()
protoOASubscribeLiveTrendbarReq.ClearPeriod()
Clears the value of the "period" field
public void ClearSymbolId()
protoOASubscribeLiveTrendbarReq.ClearSymbolId()
Clears the value of the "symbolId" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int PayloadTypeFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int PeriodFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.PeriodFieldNumber
Field number for the "period" field.
public const int SymbolIdFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.SymbolIdFieldNumber
Field number for the "symbolId" field.