ProtoOAUnsubscribeSpotsReq

StockSharp.cTrader.Native.Model

* Request for unsubscribing from the spot events of the specified symbol. Request to stop receiving ProtoOASpotEvents related to particular symbols. Unsubscription is useful to minimize traffic, especially during high volatility events.

Implements: IMessage<ProtoOAUnsubscribeSpotsReq>, IMessage, IEquatable<ProtoOAUnsubscribeSpotsReq>, IDeepCloneable<ProtoOAUnsubscribeSpotsReq>, IBufferMessage

Properties

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAUnsubscribeSpotsReq.CtidTraderAccountId
protoOAUnsubscribeSpotsReq.CtidTraderAccountId = value

Unique identifier of the trader's account. Used to match responses to trader's accounts.

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

Gets whether the "ctidTraderAccountId" field is set

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

Gets whether the "payloadType" field is set

SymbolId
public RepeatedField<long> SymbolId { get; }
value = protoOAUnsubscribeSpotsReq.SymbolId

Unique identifier of the Symbol in cTrader platform.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAUnsubscribeSpotsReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType
public void ClearPayloadType()
protoOAUnsubscribeSpotsReq.ClearPayloadType()

Clears the value of the "payloadType" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAUnsubscribeSpotsReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAUnsubscribeSpotsReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOAUnsubscribeSpotsReq.SymbolIdFieldNumber

Field number for the "symbolId" field.