ProtoOACtidTraderAccount
* Trader account entity.
Implements: IMessage<ProtoOACtidTraderAccount>, IMessage, IEquatable<ProtoOACtidTraderAccount>, IDeepCloneable<ProtoOACtidTraderAccount>, IBufferMessage
Properties
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.
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
public bool HasBrokerTitleShort { get; }
value = protoOACtidTraderAccount.HasBrokerTitleShort
Gets whether the "brokerTitleShort" field is set
public bool HasCtidTraderAccountId { get; }
value = protoOACtidTraderAccount.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasIsLive { get; }
value = protoOACtidTraderAccount.HasIsLive
Gets whether the "isLive" field is set
public bool HasLastBalanceUpdateTimestamp { get; }
value = protoOACtidTraderAccount.HasLastBalanceUpdateTimestamp
Gets whether the "lastBalanceUpdateTimestamp" field is set
public bool HasLastClosingDealTimestamp { get; }
value = protoOACtidTraderAccount.HasLastClosingDealTimestamp
Gets whether the "lastClosingDealTimestamp" field is set
public bool HasTraderLogin { get; }
value = protoOACtidTraderAccount.HasTraderLogin
Gets whether the "traderLogin" field is set
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
public long LastBalanceUpdateTimestamp { get; set; }
value = protoOACtidTraderAccount.LastBalanceUpdateTimestamp
protoOACtidTraderAccount.LastBalanceUpdateTimestamp = value
The Unix time in milliseconds of the last ProtoOADepositWithdraw happened to this account.
public long LastClosingDealTimestamp { get; set; }
value = protoOACtidTraderAccount.LastClosingDealTimestamp
protoOACtidTraderAccount.LastClosingDealTimestamp = value
The Unix time in milliseconds of the last ProtoOAClosePositionDetail happened to this account.
public long TraderLogin { get; set; }
value = protoOACtidTraderAccount.TraderLogin
protoOACtidTraderAccount.TraderLogin = value
TraderLogin for a specific account. Value is displayed on Client App UI
Methods
public void ClearBrokerTitleShort()
protoOACtidTraderAccount.ClearBrokerTitleShort()
Clears the value of the "brokerTitleShort" field
public void ClearCtidTraderAccountId()
protoOACtidTraderAccount.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearIsLive()
protoOACtidTraderAccount.ClearIsLive()
Clears the value of the "isLive" field
public void ClearLastBalanceUpdateTimestamp()
protoOACtidTraderAccount.ClearLastBalanceUpdateTimestamp()
Clears the value of the "lastBalanceUpdateTimestamp" field
public void ClearLastClosingDealTimestamp()
protoOACtidTraderAccount.ClearLastClosingDealTimestamp()
Clears the value of the "lastClosingDealTimestamp" field
public void ClearTraderLogin()
protoOACtidTraderAccount.ClearTraderLogin()
Clears the value of the "traderLogin" field
Fields
public const int BrokerTitleShortFieldNumber
value = ProtoOACtidTraderAccount.BrokerTitleShortFieldNumber
Field number for the "brokerTitleShort" field.
public const int CtidTraderAccountIdFieldNumber
value = ProtoOACtidTraderAccount.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int IsLiveFieldNumber
value = ProtoOACtidTraderAccount.IsLiveFieldNumber
Field number for the "isLive" field.
public const int LastBalanceUpdateTimestampFieldNumber
value = ProtoOACtidTraderAccount.LastBalanceUpdateTimestampFieldNumber
Field number for the "lastBalanceUpdateTimestamp" field.
public const int LastClosingDealTimestampFieldNumber
value = ProtoOACtidTraderAccount.LastClosingDealTimestampFieldNumber
Field number for the "lastClosingDealTimestamp" field.
public const int TraderLoginFieldNumber
value = ProtoOACtidTraderAccount.TraderLoginFieldNumber
Field number for the "traderLogin" field.