ProtoOATrailingSLChangedEvent

StockSharp.cTrader.Native.Model

* Event that is sent when the level of the Trailing Stop Loss is changed due to the price level changes.

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

Properties

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOATrailingSLChangedEvent.CtidTraderAccountId
protoOATrailingSLChangedEvent.CtidTraderAccountId = value

Unique identifier of the trader's account. Used to match responses to trader's accounts.

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOATrailingSLChangedEvent.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasOrderId
public bool HasOrderId { get; }
value = protoOATrailingSLChangedEvent.HasOrderId

Gets whether the "orderId" field is set

HasPayloadType
public bool HasPayloadType { get; }
value = protoOATrailingSLChangedEvent.HasPayloadType

Gets whether the "payloadType" field is set

HasPositionId
public bool HasPositionId { get; }
value = protoOATrailingSLChangedEvent.HasPositionId

Gets whether the "positionId" field is set

HasStopPrice
public bool HasStopPrice { get; }
value = protoOATrailingSLChangedEvent.HasStopPrice

Gets whether the "stopPrice" field is set

HasUtcLastUpdateTimestamp
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOATrailingSLChangedEvent.HasUtcLastUpdateTimestamp

Gets whether the "utcLastUpdateTimestamp" field is set

OrderId
public long OrderId { get; set; }
value = protoOATrailingSLChangedEvent.OrderId
protoOATrailingSLChangedEvent.OrderId = value

The unique ID of the order.

PositionId
public long PositionId { get; set; }
value = protoOATrailingSLChangedEvent.PositionId
protoOATrailingSLChangedEvent.PositionId = value

The unique ID of the position.

StopPrice
public double StopPrice { get; set; }
value = protoOATrailingSLChangedEvent.StopPrice
protoOATrailingSLChangedEvent.StopPrice = value

New value of the Stop Loss price.

UtcLastUpdateTimestamp
public long UtcLastUpdateTimestamp { get; set; }
value = protoOATrailingSLChangedEvent.UtcLastUpdateTimestamp
protoOATrailingSLChangedEvent.UtcLastUpdateTimestamp = value

The Unix time in milliseconds when the Stop Loss was updated.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOATrailingSLChangedEvent.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearOrderId
public void ClearOrderId()
protoOATrailingSLChangedEvent.ClearOrderId()

Clears the value of the "orderId" field

ClearPayloadType
public void ClearPayloadType()
protoOATrailingSLChangedEvent.ClearPayloadType()

Clears the value of the "payloadType" field

ClearPositionId
public void ClearPositionId()
protoOATrailingSLChangedEvent.ClearPositionId()

Clears the value of the "positionId" field

ClearStopPrice
public void ClearStopPrice()
protoOATrailingSLChangedEvent.ClearStopPrice()

Clears the value of the "stopPrice" field

ClearUtcLastUpdateTimestamp
public void ClearUtcLastUpdateTimestamp()
protoOATrailingSLChangedEvent.ClearUtcLastUpdateTimestamp()

Clears the value of the "utcLastUpdateTimestamp" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOATrailingSLChangedEvent.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

OrderIdFieldNumber
public const int OrderIdFieldNumber
value = ProtoOATrailingSLChangedEvent.OrderIdFieldNumber

Field number for the "orderId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOATrailingSLChangedEvent.PayloadTypeFieldNumber

Field number for the "payloadType" field.

PositionIdFieldNumber
public const int PositionIdFieldNumber
value = ProtoOATrailingSLChangedEvent.PositionIdFieldNumber

Field number for the "positionId" field.

StopPriceFieldNumber
public const int StopPriceFieldNumber
value = ProtoOATrailingSLChangedEvent.StopPriceFieldNumber

Field number for the "stopPrice" field.

UtcLastUpdateTimestampFieldNumber
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOATrailingSLChangedEvent.UtcLastUpdateTimestampFieldNumber

Field number for the "utcLastUpdateTimestamp" field.