ProtoOATrailingSLChangedEvent
* 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
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.
public bool HasCtidTraderAccountId { get; }
value = protoOATrailingSLChangedEvent.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasOrderId { get; }
value = protoOATrailingSLChangedEvent.HasOrderId
Gets whether the "orderId" field is set
public bool HasPayloadType { get; }
value = protoOATrailingSLChangedEvent.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasPositionId { get; }
value = protoOATrailingSLChangedEvent.HasPositionId
Gets whether the "positionId" field is set
public bool HasStopPrice { get; }
value = protoOATrailingSLChangedEvent.HasStopPrice
Gets whether the "stopPrice" field is set
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOATrailingSLChangedEvent.HasUtcLastUpdateTimestamp
Gets whether the "utcLastUpdateTimestamp" field is set
public long OrderId { get; set; }
value = protoOATrailingSLChangedEvent.OrderId
protoOATrailingSLChangedEvent.OrderId = value
The unique ID of the order.
public long PositionId { get; set; }
value = protoOATrailingSLChangedEvent.PositionId
protoOATrailingSLChangedEvent.PositionId = value
The unique ID of the position.
public double StopPrice { get; set; }
value = protoOATrailingSLChangedEvent.StopPrice
protoOATrailingSLChangedEvent.StopPrice = value
New value of the Stop Loss price.
public long UtcLastUpdateTimestamp { get; set; }
value = protoOATrailingSLChangedEvent.UtcLastUpdateTimestamp
protoOATrailingSLChangedEvent.UtcLastUpdateTimestamp = value
The Unix time in milliseconds when the Stop Loss was updated.
Methods
public void ClearCtidTraderAccountId()
protoOATrailingSLChangedEvent.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearOrderId()
protoOATrailingSLChangedEvent.ClearOrderId()
Clears the value of the "orderId" field
public void ClearPayloadType()
protoOATrailingSLChangedEvent.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearPositionId()
protoOATrailingSLChangedEvent.ClearPositionId()
Clears the value of the "positionId" field
public void ClearStopPrice()
protoOATrailingSLChangedEvent.ClearStopPrice()
Clears the value of the "stopPrice" field
public void ClearUtcLastUpdateTimestamp()
protoOATrailingSLChangedEvent.ClearUtcLastUpdateTimestamp()
Clears the value of the "utcLastUpdateTimestamp" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOATrailingSLChangedEvent.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int OrderIdFieldNumber
value = ProtoOATrailingSLChangedEvent.OrderIdFieldNumber
Field number for the "orderId" field.
public const int PayloadTypeFieldNumber
value = ProtoOATrailingSLChangedEvent.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int PositionIdFieldNumber
value = ProtoOATrailingSLChangedEvent.PositionIdFieldNumber
Field number for the "positionId" field.
public const int StopPriceFieldNumber
value = ProtoOATrailingSLChangedEvent.StopPriceFieldNumber
Field number for the "stopPrice" field.
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOATrailingSLChangedEvent.UtcLastUpdateTimestampFieldNumber
Field number for the "utcLastUpdateTimestamp" field.