ProtoOACtidTraderAccount

StockSharp.cTrader.Native.Model

* Trader account entity.

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

Properties

BrokerTitleShort
public string BrokerTitleShort { get; set; }
value = protoOACtidTraderAccount.BrokerTitleShort
protoOACtidTraderAccount.BrokerTitleShort = value

The name of the broker to which the account belongs to. Shortened to be displayed in the UI.

CtidTraderAccountId
public ulong CtidTraderAccountId { get; set; }
value = protoOACtidTraderAccount.CtidTraderAccountId
protoOACtidTraderAccount.CtidTraderAccountId = value

Unique identifier of the trader's account. Used to match responses to trader's accounts.cTrader platform. Different brokers might have different ids

HasBrokerTitleShort
public bool HasBrokerTitleShort { get; }
value = protoOACtidTraderAccount.HasBrokerTitleShort

Gets whether the "brokerTitleShort" field is set

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

Gets whether the "ctidTraderAccountId" field is set

HasIsLive
public bool HasIsLive { get; }
value = protoOACtidTraderAccount.HasIsLive

Gets whether the "isLive" field is set

HasLastBalanceUpdateTimestamp
public bool HasLastBalanceUpdateTimestamp { get; }
value = protoOACtidTraderAccount.HasLastBalanceUpdateTimestamp

Gets whether the "lastBalanceUpdateTimestamp" field is set

HasLastClosingDealTimestamp
public bool HasLastClosingDealTimestamp { get; }
value = protoOACtidTraderAccount.HasLastClosingDealTimestamp

Gets whether the "lastClosingDealTimestamp" field is set

HasTraderLogin
public bool HasTraderLogin { get; }
value = protoOACtidTraderAccount.HasTraderLogin

Gets whether the "traderLogin" field is set

IsLive
public bool IsLive { get; set; }
value = protoOACtidTraderAccount.IsLive
protoOACtidTraderAccount.IsLive = value

If TRUE then the account is belong to Live environment and live host must be used to authorize it

LastBalanceUpdateTimestamp
public long LastBalanceUpdateTimestamp { get; set; }
value = protoOACtidTraderAccount.LastBalanceUpdateTimestamp
protoOACtidTraderAccount.LastBalanceUpdateTimestamp = value

The Unix time in milliseconds of the last ProtoOADepositWithdraw happened to this account.

LastClosingDealTimestamp
public long LastClosingDealTimestamp { get; set; }
value = protoOACtidTraderAccount.LastClosingDealTimestamp
protoOACtidTraderAccount.LastClosingDealTimestamp = value

The Unix time in milliseconds of the last ProtoOAClosePositionDetail happened to this account.

TraderLogin
public long TraderLogin { get; set; }
value = protoOACtidTraderAccount.TraderLogin
protoOACtidTraderAccount.TraderLogin = value

TraderLogin for a specific account. Value is displayed on Client App UI

Methods

ClearBrokerTitleShort
public void ClearBrokerTitleShort()
protoOACtidTraderAccount.ClearBrokerTitleShort()

Clears the value of the "brokerTitleShort" field

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOACtidTraderAccount.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearIsLive
public void ClearIsLive()
protoOACtidTraderAccount.ClearIsLive()

Clears the value of the "isLive" field

ClearLastBalanceUpdateTimestamp
public void ClearLastBalanceUpdateTimestamp()
protoOACtidTraderAccount.ClearLastBalanceUpdateTimestamp()

Clears the value of the "lastBalanceUpdateTimestamp" field

ClearLastClosingDealTimestamp
public void ClearLastClosingDealTimestamp()
protoOACtidTraderAccount.ClearLastClosingDealTimestamp()

Clears the value of the "lastClosingDealTimestamp" field

ClearTraderLogin
public void ClearTraderLogin()
protoOACtidTraderAccount.ClearTraderLogin()

Clears the value of the "traderLogin" field

Fields

BrokerTitleShortFieldNumber
public const int BrokerTitleShortFieldNumber
value = ProtoOACtidTraderAccount.BrokerTitleShortFieldNumber

Field number for the "brokerTitleShort" field.

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOACtidTraderAccount.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

IsLiveFieldNumber
public const int IsLiveFieldNumber
value = ProtoOACtidTraderAccount.IsLiveFieldNumber

Field number for the "isLive" field.

LastBalanceUpdateTimestampFieldNumber
public const int LastBalanceUpdateTimestampFieldNumber
value = ProtoOACtidTraderAccount.LastBalanceUpdateTimestampFieldNumber

Field number for the "lastBalanceUpdateTimestamp" field.

LastClosingDealTimestampFieldNumber
public const int LastClosingDealTimestampFieldNumber
value = ProtoOACtidTraderAccount.LastClosingDealTimestampFieldNumber

Field number for the "lastClosingDealTimestamp" field.

TraderLoginFieldNumber
public const int TraderLoginFieldNumber
value = ProtoOACtidTraderAccount.TraderLoginFieldNumber

Field number for the "traderLogin" field.