ProtoOASubscribeLiveTrendbarReq

StockSharp.cTrader.Native.Model

* 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

CtidTraderAccountId
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.

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOASubscribeLiveTrendbarReq.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasPayloadType
public bool HasPayloadType { get; }
value = protoOASubscribeLiveTrendbarReq.HasPayloadType

Gets whether the "payloadType" field is set

HasPeriod
public bool HasPeriod { get; }
value = protoOASubscribeLiveTrendbarReq.HasPeriod

Gets whether the "period" field is set

HasSymbolId
public bool HasSymbolId { get; }
value = protoOASubscribeLiveTrendbarReq.HasSymbolId

Gets whether the "symbolId" field is set

Period
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOASubscribeLiveTrendbarReq.Period
protoOASubscribeLiveTrendbarReq.Period = value

Specifies period of trend bar series (e.g. M1, M10, etc.).

SymbolId
public long SymbolId { get; set; }
value = protoOASubscribeLiveTrendbarReq.SymbolId
protoOASubscribeLiveTrendbarReq.SymbolId = value

Unique identifier of the Symbol in cTrader platform.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOASubscribeLiveTrendbarReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType
public void ClearPayloadType()
protoOASubscribeLiveTrendbarReq.ClearPayloadType()

Clears the value of the "payloadType" field

ClearPeriod
public void ClearPeriod()
protoOASubscribeLiveTrendbarReq.ClearPeriod()

Clears the value of the "period" field

ClearSymbolId
public void ClearSymbolId()
protoOASubscribeLiveTrendbarReq.ClearSymbolId()

Clears the value of the "symbolId" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.

PeriodFieldNumber
public const int PeriodFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.PeriodFieldNumber

Field number for the "period" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOASubscribeLiveTrendbarReq.SymbolIdFieldNumber

Field number for the "symbolId" field.