ProtoOATradeData

StockSharp.cTrader.Native.Model

* Position/order trading details entity.

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

Propriedades

CloseTimestamp : ulong

The Unix time in milliseconds when a Position was closed

Comment : string

User-specified comment.

GuaranteedStopLoss : bool

If TRUE then position/order stop loss is guaranteedStopLoss.

HasCloseTimestamp : bool

Gets whether the "closeTimestamp" field is set

HasComment : bool

Gets whether the "comment" field is set

HasGuaranteedStopLoss : bool

Gets whether the "guaranteedStopLoss" field is set

HasLabel : bool

Gets whether the "label" field is set

HasMeasurementUnits : bool

Gets whether the "measurementUnits" field is set

HasOpenTimestamp : bool

Gets whether the "openTimestamp" field is set

HasSymbolId : bool

Gets whether the "symbolId" field is set

HasTradeSide : bool

Gets whether the "tradeSide" field is set

HasVolume : bool

Gets whether the "volume" field is set

Label : string

Text label specified during order request.

MeasurementUnits : string

Specifies the units in which the Symbol is denominated.

OpenTimestamp : long

The Unix time in milliseconds when position was opened or order was created.

SymbolId : long

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

Volume : long

Volume in cents.

Métodos

ClearCloseTimestamp()

Clears the value of the "closeTimestamp" field

ClearComment()

Clears the value of the "comment" field

ClearGuaranteedStopLoss()

Clears the value of the "guaranteedStopLoss" field

ClearLabel()

Clears the value of the "label" field

ClearMeasurementUnits()

Clears the value of the "measurementUnits" field

ClearOpenTimestamp()

Clears the value of the "openTimestamp" field

ClearSymbolId()

Clears the value of the "symbolId" field

ClearTradeSide()

Clears the value of the "tradeSide" field

ClearVolume()

Clears the value of the "volume" field

Campos

CloseTimestampFieldNumber : int

Field number for the "closeTimestamp" field.

CommentFieldNumber : int

Field number for the "comment" field.

GuaranteedStopLossFieldNumber : int

Field number for the "guaranteedStopLoss" field.

LabelFieldNumber : int

Field number for the "label" field.

MeasurementUnitsFieldNumber : int

Field number for the "measurementUnits" field.

OpenTimestampFieldNumber : int

Field number for the "openTimestamp" field.

SymbolIdFieldNumber : int

Field number for the "symbolId" field.

TradeSideFieldNumber : int

Field number for the "tradeSide" field.

VolumeFieldNumber : int

Field number for the "volume" field.