ProtoOADepositWithdraw

StockSharp.cTrader.Native.Model

* Account deposit/withdrawal operation entity.

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

Properties

Balance
public long Balance { get; set; }
value = protoOADepositWithdraw.Balance
protoOADepositWithdraw.Balance = value

Account balance after the operation was executed.

BalanceHistoryId
public long BalanceHistoryId { get; set; }
value = protoOADepositWithdraw.BalanceHistoryId
protoOADepositWithdraw.BalanceHistoryId = value

The unique ID of the deposit/withdrawal operation.

BalanceVersion
public long BalanceVersion { get; set; }
value = protoOADepositWithdraw.BalanceVersion
protoOADepositWithdraw.BalanceVersion = value

Balance version used to identify the final balance. Increments each time when the trader's account balance is changed.

ChangeBalanceTimestamp
public long ChangeBalanceTimestamp { get; set; }
value = protoOADepositWithdraw.ChangeBalanceTimestamp
protoOADepositWithdraw.ChangeBalanceTimestamp = value

The Unix time in milliseconds when deposit/withdrawal operation was executed.

Delta
public long Delta { get; set; }
value = protoOADepositWithdraw.Delta
protoOADepositWithdraw.Delta = value

Amount of deposit/withdrawal operation.

Equity
public long Equity { get; set; }
value = protoOADepositWithdraw.Equity
protoOADepositWithdraw.Equity = value

Total account's equity after balance operation was executed.

ExternalNote
public string ExternalNote { get; set; }
value = protoOADepositWithdraw.ExternalNote
protoOADepositWithdraw.ExternalNote = value

Note added to operation. Visible to the trader.

HasBalance
public bool HasBalance { get; }
value = protoOADepositWithdraw.HasBalance

Gets whether the "balance" field is set

HasBalanceHistoryId
public bool HasBalanceHistoryId { get; }
value = protoOADepositWithdraw.HasBalanceHistoryId

Gets whether the "balanceHistoryId" field is set

HasBalanceVersion
public bool HasBalanceVersion { get; }
value = protoOADepositWithdraw.HasBalanceVersion

Gets whether the "balanceVersion" field is set

HasChangeBalanceTimestamp
public bool HasChangeBalanceTimestamp { get; }
value = protoOADepositWithdraw.HasChangeBalanceTimestamp

Gets whether the "changeBalanceTimestamp" field is set

HasDelta
public bool HasDelta { get; }
value = protoOADepositWithdraw.HasDelta

Gets whether the "delta" field is set

HasEquity
public bool HasEquity { get; }
value = protoOADepositWithdraw.HasEquity

Gets whether the "equity" field is set

HasExternalNote
public bool HasExternalNote { get; }
value = protoOADepositWithdraw.HasExternalNote

Gets whether the "externalNote" field is set

HasMoneyDigits
public bool HasMoneyDigits { get; }
value = protoOADepositWithdraw.HasMoneyDigits

Gets whether the "moneyDigits" field is set

HasOperationType
public bool HasOperationType { get; }
value = protoOADepositWithdraw.HasOperationType

Gets whether the "operationType" field is set

MoneyDigits
public uint MoneyDigits { get; set; }
value = protoOADepositWithdraw.MoneyDigits
protoOADepositWithdraw.MoneyDigits = value

Specifies the exponent of the monetary values. E.g. moneyDigits = 8 must be interpret as business value multiplied by 10^8, then real balance would be 10053099944 / 10^8 = 100.53099944. Affects balance, delta, equity.

OperationType
public ProtoOAChangeBalanceType OperationType { get; set; }
value = protoOADepositWithdraw.OperationType
protoOADepositWithdraw.OperationType = value

Type of the operation. Deposit/Withdrawal.

Methods

ClearBalance
public void ClearBalance()
protoOADepositWithdraw.ClearBalance()

Clears the value of the "balance" field

ClearBalanceHistoryId
public void ClearBalanceHistoryId()
protoOADepositWithdraw.ClearBalanceHistoryId()

Clears the value of the "balanceHistoryId" field

ClearBalanceVersion
public void ClearBalanceVersion()
protoOADepositWithdraw.ClearBalanceVersion()

Clears the value of the "balanceVersion" field

ClearChangeBalanceTimestamp
public void ClearChangeBalanceTimestamp()
protoOADepositWithdraw.ClearChangeBalanceTimestamp()

Clears the value of the "changeBalanceTimestamp" field

ClearDelta
public void ClearDelta()
protoOADepositWithdraw.ClearDelta()

Clears the value of the "delta" field

ClearEquity
public void ClearEquity()
protoOADepositWithdraw.ClearEquity()

Clears the value of the "equity" field

ClearExternalNote
public void ClearExternalNote()
protoOADepositWithdraw.ClearExternalNote()

Clears the value of the "externalNote" field

ClearMoneyDigits
public void ClearMoneyDigits()
protoOADepositWithdraw.ClearMoneyDigits()

Clears the value of the "moneyDigits" field

ClearOperationType
public void ClearOperationType()
protoOADepositWithdraw.ClearOperationType()

Clears the value of the "operationType" field

Fields

BalanceFieldNumber
public const int BalanceFieldNumber
value = ProtoOADepositWithdraw.BalanceFieldNumber

Field number for the "balance" field.

BalanceHistoryIdFieldNumber
public const int BalanceHistoryIdFieldNumber
value = ProtoOADepositWithdraw.BalanceHistoryIdFieldNumber

Field number for the "balanceHistoryId" field.

BalanceVersionFieldNumber
public const int BalanceVersionFieldNumber
value = ProtoOADepositWithdraw.BalanceVersionFieldNumber

Field number for the "balanceVersion" field.

ChangeBalanceTimestampFieldNumber
public const int ChangeBalanceTimestampFieldNumber
value = ProtoOADepositWithdraw.ChangeBalanceTimestampFieldNumber

Field number for the "changeBalanceTimestamp" field.

DeltaFieldNumber
public const int DeltaFieldNumber
value = ProtoOADepositWithdraw.DeltaFieldNumber

Field number for the "delta" field.

EquityFieldNumber
public const int EquityFieldNumber
value = ProtoOADepositWithdraw.EquityFieldNumber

Field number for the "equity" field.

ExternalNoteFieldNumber
public const int ExternalNoteFieldNumber
value = ProtoOADepositWithdraw.ExternalNoteFieldNumber

Field number for the "externalNote" field.

MoneyDigitsFieldNumber
public const int MoneyDigitsFieldNumber
value = ProtoOADepositWithdraw.MoneyDigitsFieldNumber

Field number for the "moneyDigits" field.

OperationTypeFieldNumber
public const int OperationTypeFieldNumber
value = ProtoOADepositWithdraw.OperationTypeFieldNumber

Field number for the "operationType" field.