ProtoOADeal

StockSharp.cTrader.Native.Model

* Execution entity.

Implementa: IMessage<ProtoOADeal>, IMessage, IEquatable<ProtoOADeal>, IDeepCloneable<ProtoOADeal>, IBufferMessage

Propiedades

BaseToUsdConversionRate : double

Base to USD conversion rate on the time of deal execution.

ClosePositionDetail : ProtoOAClosePositionDetail

Closing position detail. Valid only for closing deal.

Commission : long

Amount of trading commission associated with the deal.

CreateTimestamp : long

The Unix time in milliseconds when the deal was sent for execution.

DealId : long

The unique ID of the execution deal.

DealStatus : ProtoOADealStatus

Status of the deal.

ExecutionPrice : double

Execution price.

ExecutionTimestamp : long

The Unix time in milliseconds when the deal was executed.

FilledVolume : long

Filled volume, in cents.

HasBaseToUsdConversionRate : bool

Gets whether the "baseToUsdConversionRate" field is set

HasCommission : bool

Gets whether the "commission" field is set

HasCreateTimestamp : bool

Gets whether the "createTimestamp" field is set

HasDealId : bool

Gets whether the "dealId" field is set

HasDealStatus : bool

Gets whether the "dealStatus" field is set

HasExecutionPrice : bool

Gets whether the "executionPrice" field is set

HasExecutionTimestamp : bool

Gets whether the "executionTimestamp" field is set

HasFilledVolume : bool

Gets whether the "filledVolume" field is set

HasMarginRate : bool

Gets whether the "marginRate" field is set

HasMoneyDigits : bool

Gets whether the "moneyDigits" field is set

HasOrderId : bool

Gets whether the "orderId" field is set

HasPositionId : bool

Gets whether the "positionId" field is set

HasSymbolId : bool

Gets whether the "symbolId" field is set

HasTradeSide : bool

Gets whether the "tradeSide" field is set

HasUtcLastUpdateTimestamp : bool

Gets whether the "utcLastUpdateTimestamp" field is set

HasVolume : bool

Gets whether the "volume" field is set

MarginRate : double

Rate for used margin computation. Represented as Base/Deposit.

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 commission.

OrderId : long

Source order of the deal.

PositionId : long

Source position of the deal.

SymbolId : long

The unique identifier of the symbol in specific server environment within cTrader platform. Different servers have different IDs.

UtcLastUpdateTimestamp : long

The Unix time in milliseconds when the deal was created, executed or rejected.

Volume : long

Volume sent for execution, in cents.

Métodos

ClearBaseToUsdConversionRate()

Clears the value of the "baseToUsdConversionRate" field

ClearCommission()

Clears the value of the "commission" field

ClearCreateTimestamp()

Clears the value of the "createTimestamp" field

ClearDealId()

Clears the value of the "dealId" field

ClearDealStatus()

Clears the value of the "dealStatus" field

ClearExecutionPrice()

Clears the value of the "executionPrice" field

ClearExecutionTimestamp()

Clears the value of the "executionTimestamp" field

ClearFilledVolume()

Clears the value of the "filledVolume" field

ClearMarginRate()

Clears the value of the "marginRate" field

ClearMoneyDigits()

Clears the value of the "moneyDigits" field

ClearOrderId()

Clears the value of the "orderId" field

ClearPositionId()

Clears the value of the "positionId" field

ClearSymbolId()

Clears the value of the "symbolId" field

ClearTradeSide()

Clears the value of the "tradeSide" field

ClearUtcLastUpdateTimestamp()

Clears the value of the "utcLastUpdateTimestamp" field

ClearVolume()

Clears the value of the "volume" field

Campos

BaseToUsdConversionRateFieldNumber : int

Field number for the "baseToUsdConversionRate" field.

ClosePositionDetailFieldNumber : int

Field number for the "closePositionDetail" field.

CommissionFieldNumber : int

Field number for the "commission" field.

CreateTimestampFieldNumber : int

Field number for the "createTimestamp" field.

DealIdFieldNumber : int

Field number for the "dealId" field.

DealStatusFieldNumber : int

Field number for the "dealStatus" field.

ExecutionPriceFieldNumber : int

Field number for the "executionPrice" field.

ExecutionTimestampFieldNumber : int

Field number for the "executionTimestamp" field.

FilledVolumeFieldNumber : int

Field number for the "filledVolume" field.

MarginRateFieldNumber : int

Field number for the "marginRate" field.

MoneyDigitsFieldNumber : int

Field number for the "moneyDigits" field.

OrderIdFieldNumber : int

Field number for the "orderId" field.

PositionIdFieldNumber : int

Field number for the "positionId" field.

SymbolIdFieldNumber : int

Field number for the "symbolId" field.

TradeSideFieldNumber : int

Field number for the "tradeSide" field.

UtcLastUpdateTimestampFieldNumber : int

Field number for the "utcLastUpdateTimestamp" field.

VolumeFieldNumber : int

Field number for the "volume" field.