ProtoOAAmendOrderReq
* Request for amending the existing pending order. Allowed only if the Access Token has "trade" permissions for the trading account.
Implements: IMessage<ProtoOAAmendOrderReq>, IMessage, IEquatable<ProtoOAAmendOrderReq>, IDeepCloneable<ProtoOAAmendOrderReq>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOAAmendOrderReq.CtidTraderAccountId
protoOAAmendOrderReq.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public long ExpirationTimestamp { get; set; }
value = protoOAAmendOrderReq.ExpirationTimestamp
protoOAAmendOrderReq.ExpirationTimestamp = value
The Unix timestamp in milliseconds of Order expiration. Should be set for the Good Till Date orders.
public bool GuaranteedStopLoss { get; set; }
value = protoOAAmendOrderReq.GuaranteedStopLoss
protoOAAmendOrderReq.GuaranteedStopLoss = value
If TRUE then the Stop Loss is guaranteed. Available for the French Risk or the Guaranteed Stop Loss Accounts.
public bool HasCtidTraderAccountId { get; }
value = protoOAAmendOrderReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasExpirationTimestamp { get; }
value = protoOAAmendOrderReq.HasExpirationTimestamp
Gets whether the "expirationTimestamp" field is set
public bool HasGuaranteedStopLoss { get; }
value = protoOAAmendOrderReq.HasGuaranteedStopLoss
Gets whether the "guaranteedStopLoss" field is set
public bool HasLimitPrice { get; }
value = protoOAAmendOrderReq.HasLimitPrice
Gets whether the "limitPrice" field is set
public bool HasOrderId { get; }
value = protoOAAmendOrderReq.HasOrderId
Gets whether the "orderId" field is set
public bool HasPayloadType { get; }
value = protoOAAmendOrderReq.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasRelativeStopLoss { get; }
value = protoOAAmendOrderReq.HasRelativeStopLoss
Gets whether the "relativeStopLoss" field is set
public bool HasRelativeTakeProfit { get; }
value = protoOAAmendOrderReq.HasRelativeTakeProfit
Gets whether the "relativeTakeProfit" field is set
public bool HasSlippageInPoints { get; }
value = protoOAAmendOrderReq.HasSlippageInPoints
Gets whether the "slippageInPoints" field is set
public bool HasStopLoss { get; }
value = protoOAAmendOrderReq.HasStopLoss
Gets whether the "stopLoss" field is set
public bool HasStopPrice { get; }
value = protoOAAmendOrderReq.HasStopPrice
Gets whether the "stopPrice" field is set
public bool HasStopTriggerMethod { get; }
value = protoOAAmendOrderReq.HasStopTriggerMethod
Gets whether the "stopTriggerMethod" field is set
public bool HasTakeProfit { get; }
value = protoOAAmendOrderReq.HasTakeProfit
Gets whether the "takeProfit" field is set
public bool HasTrailingStopLoss { get; }
value = protoOAAmendOrderReq.HasTrailingStopLoss
Gets whether the "trailingStopLoss" field is set
public bool HasVolume { get; }
value = protoOAAmendOrderReq.HasVolume
Gets whether the "volume" field is set
public double LimitPrice { get; set; }
value = protoOAAmendOrderReq.LimitPrice
protoOAAmendOrderReq.LimitPrice = value
The Limit Price, can be specified for the LIMIT order only.
public long OrderId { get; set; }
value = protoOAAmendOrderReq.OrderId
protoOAAmendOrderReq.OrderId = value
The unique ID of the order.
public long RelativeStopLoss { get; set; }
value = protoOAAmendOrderReq.RelativeStopLoss
protoOAAmendOrderReq.RelativeStopLoss = value
The relative Stop Loss can be specified instead of the absolute one. Specified in 1/100000 of a unit of price. For BUY stopLoss = entryPrice - relativeStopLoss, for SELL stopLoss = entryPrice + relativeStopLoss.
public long RelativeTakeProfit { get; set; }
value = protoOAAmendOrderReq.RelativeTakeProfit
protoOAAmendOrderReq.RelativeTakeProfit = value
The relative Take Profit can be specified instead of the absolute one. Specified in 1/100000 of a unit of price. For BUY takeProfit = entryPrice + relativeTakeProfit, for SELL takeProfit = entryPrice - relativeTakeProfit.
public int SlippageInPoints { get; set; }
value = protoOAAmendOrderReq.SlippageInPoints
protoOAAmendOrderReq.SlippageInPoints = value
Slippage distance for the MARKET_RANGE and the STOP_LIMIT orders.
public double StopLoss { get; set; }
value = protoOAAmendOrderReq.StopLoss
protoOAAmendOrderReq.StopLoss = value
The absolute Stop Loss price (e.g. 1.23456). Not supported for the MARKER orders.
public double StopPrice { get; set; }
value = protoOAAmendOrderReq.StopPrice
protoOAAmendOrderReq.StopPrice = value
The Stop Price, can be specified for the STOP and the STOP_LIMIT orders.
public ProtoOAOrderTriggerMethod StopTriggerMethod { get; set; }
value = protoOAAmendOrderReq.StopTriggerMethod
protoOAAmendOrderReq.StopTriggerMethod = value
Trigger method for the STOP or the STOP_LIMIT pending order.
public double TakeProfit { get; set; }
value = protoOAAmendOrderReq.TakeProfit
protoOAAmendOrderReq.TakeProfit = value
The absolute Take Profit price (e.g. 1.23456). Not supported for the MARKER orders.
public bool TrailingStopLoss { get; set; }
value = protoOAAmendOrderReq.TrailingStopLoss
protoOAAmendOrderReq.TrailingStopLoss = value
If TRUE then the Trailing Stop Loss is applied.
public long Volume { get; set; }
value = protoOAAmendOrderReq.Volume
protoOAAmendOrderReq.Volume = value
Volume, represented in 0.01 of a unit (e.g. cents).
Methods
public void ClearCtidTraderAccountId()
protoOAAmendOrderReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearExpirationTimestamp()
protoOAAmendOrderReq.ClearExpirationTimestamp()
Clears the value of the "expirationTimestamp" field
public void ClearGuaranteedStopLoss()
protoOAAmendOrderReq.ClearGuaranteedStopLoss()
Clears the value of the "guaranteedStopLoss" field
public void ClearLimitPrice()
protoOAAmendOrderReq.ClearLimitPrice()
Clears the value of the "limitPrice" field
public void ClearOrderId()
protoOAAmendOrderReq.ClearOrderId()
Clears the value of the "orderId" field
public void ClearPayloadType()
protoOAAmendOrderReq.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearRelativeStopLoss()
protoOAAmendOrderReq.ClearRelativeStopLoss()
Clears the value of the "relativeStopLoss" field
public void ClearRelativeTakeProfit()
protoOAAmendOrderReq.ClearRelativeTakeProfit()
Clears the value of the "relativeTakeProfit" field
public void ClearSlippageInPoints()
protoOAAmendOrderReq.ClearSlippageInPoints()
Clears the value of the "slippageInPoints" field
public void ClearStopLoss()
protoOAAmendOrderReq.ClearStopLoss()
Clears the value of the "stopLoss" field
public void ClearStopPrice()
protoOAAmendOrderReq.ClearStopPrice()
Clears the value of the "stopPrice" field
public void ClearStopTriggerMethod()
protoOAAmendOrderReq.ClearStopTriggerMethod()
Clears the value of the "stopTriggerMethod" field
public void ClearTakeProfit()
protoOAAmendOrderReq.ClearTakeProfit()
Clears the value of the "takeProfit" field
public void ClearTrailingStopLoss()
protoOAAmendOrderReq.ClearTrailingStopLoss()
Clears the value of the "trailingStopLoss" field
public void ClearVolume()
protoOAAmendOrderReq.ClearVolume()
Clears the value of the "volume" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAmendOrderReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int ExpirationTimestampFieldNumber
value = ProtoOAAmendOrderReq.ExpirationTimestampFieldNumber
Field number for the "expirationTimestamp" field.
public const int GuaranteedStopLossFieldNumber
value = ProtoOAAmendOrderReq.GuaranteedStopLossFieldNumber
Field number for the "guaranteedStopLoss" field.
public const int LimitPriceFieldNumber
value = ProtoOAAmendOrderReq.LimitPriceFieldNumber
Field number for the "limitPrice" field.
public const int OrderIdFieldNumber
value = ProtoOAAmendOrderReq.OrderIdFieldNumber
Field number for the "orderId" field.
public const int PayloadTypeFieldNumber
value = ProtoOAAmendOrderReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int RelativeStopLossFieldNumber
value = ProtoOAAmendOrderReq.RelativeStopLossFieldNumber
Field number for the "relativeStopLoss" field.
public const int RelativeTakeProfitFieldNumber
value = ProtoOAAmendOrderReq.RelativeTakeProfitFieldNumber
Field number for the "relativeTakeProfit" field.
public const int SlippageInPointsFieldNumber
value = ProtoOAAmendOrderReq.SlippageInPointsFieldNumber
Field number for the "slippageInPoints" field.
public const int StopLossFieldNumber
value = ProtoOAAmendOrderReq.StopLossFieldNumber
Field number for the "stopLoss" field.
public const int StopPriceFieldNumber
value = ProtoOAAmendOrderReq.StopPriceFieldNumber
Field number for the "stopPrice" field.
public const int StopTriggerMethodFieldNumber
value = ProtoOAAmendOrderReq.StopTriggerMethodFieldNumber
Field number for the "stopTriggerMethod" field.
public const int TakeProfitFieldNumber
value = ProtoOAAmendOrderReq.TakeProfitFieldNumber
Field number for the "takeProfit" field.
public const int TrailingStopLossFieldNumber
value = ProtoOAAmendOrderReq.TrailingStopLossFieldNumber
Field number for the "trailingStopLoss" field.
public const int VolumeFieldNumber
value = ProtoOAAmendOrderReq.VolumeFieldNumber
Field number for the "volume" field.