ProtoOAAccountDisconnectEvent

StockSharp.cTrader.Native.Model

* Event that is sent when the established session for an account is dropped on the server side. A new session must be authorized for the account.

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

Properties

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

The unique identifier of the trader's account in cTrader platform.

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

Gets whether the "ctidTraderAccountId" field is set

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

Gets whether the "payloadType" field is set

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAAccountDisconnectEvent.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType
public void ClearPayloadType()
protoOAAccountDisconnectEvent.ClearPayloadType()

Clears the value of the "payloadType" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAccountDisconnectEvent.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAAccountDisconnectEvent.PayloadTypeFieldNumber

Field number for the "payloadType" field.