ProtoOAClosePositionDetail
* Trading details for closing deal.
Реализует: IMessage<ProtoOAClosePositionDetail>, IMessage, IEquatable<ProtoOAClosePositionDetail>, IDeepCloneable<ProtoOAClosePositionDetail>, IBufferMessage
Свойства
BalanceVersion : long
Balance version of the account related to closing deal operation.
ClosedVolume : long
Closed volume in cents.
Commission : long
Amount of realized commission related to closed volume.
EntryPrice : double
Position price at the moment of filling the closing order.
GrossProfit : long
Amount of realized gross profit after closing deal execution.
HasBalance : bool
Gets whether the "balance" field is set
HasBalanceVersion : bool
Gets whether the "balanceVersion" field is set
HasClosedVolume : bool
Gets whether the "closedVolume" field is set
HasCommission : bool
Gets whether the "commission" field is set
HasEntryPrice : bool
Gets whether the "entryPrice" field is set
HasGrossProfit : bool
Gets whether the "grossProfit" field is set
HasMoneyDigits : bool
Gets whether the "moneyDigits" field is set
HasPnlConversionFee : bool
Gets whether the "pnlConversionFee" field is set
HasQuoteToDepositConversionRate : bool
Gets whether the "quoteToDepositConversionRate" field is set
MoneyDigits : uint
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 grossProfit, swap, commission, balance, pnlConversionFee.
PnlConversionFee : long
Fee for conversion applied to the Deal in account's ccy when trader symbol's quote asset id <> ProtoOATrader.depositAssetId.
QuoteToDepositConversionRate : double
Quote/Deposit currency conversion rate on the time of closing deal execution.
Методы
ClearBalance()
Clears the value of the "balance" field
ClearBalanceVersion()
Clears the value of the "balanceVersion" field
ClearClosedVolume()
Clears the value of the "closedVolume" field
ClearCommission()
Clears the value of the "commission" field
ClearEntryPrice()
Clears the value of the "entryPrice" field
ClearGrossProfit()
Clears the value of the "grossProfit" field
ClearMoneyDigits()
Clears the value of the "moneyDigits" field
ClearPnlConversionFee()
Clears the value of the "pnlConversionFee" field
ClearQuoteToDepositConversionRate()
Clears the value of the "quoteToDepositConversionRate" field
ClearSwap()
Clears the value of the "swap" field
Поля
BalanceFieldNumber : int
Field number for the "balance" field.
BalanceVersionFieldNumber : int
Field number for the "balanceVersion" field.
ClosedVolumeFieldNumber : int
Field number for the "closedVolume" field.
CommissionFieldNumber : int
Field number for the "commission" field.
EntryPriceFieldNumber : int
Field number for the "entryPrice" field.
GrossProfitFieldNumber : int
Field number for the "grossProfit" field.
MoneyDigitsFieldNumber : int
Field number for the "moneyDigits" field.
PnlConversionFeeFieldNumber : int
Field number for the "pnlConversionFee" field.
QuoteToDepositConversionRateFieldNumber : int
Field number for the "quoteToDepositConversionRate" field.
SwapFieldNumber : int
Field number for the "swap" field.