ProtoOAAmendOrderReq

StockSharp.cTrader.Native.Model

* 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

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

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

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

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

Gets whether the "ctidTraderAccountId" field is set

HasExpirationTimestamp
public bool HasExpirationTimestamp { get; }
value = protoOAAmendOrderReq.HasExpirationTimestamp

Gets whether the "expirationTimestamp" field is set

HasGuaranteedStopLoss
public bool HasGuaranteedStopLoss { get; }
value = protoOAAmendOrderReq.HasGuaranteedStopLoss

Gets whether the "guaranteedStopLoss" field is set

HasLimitPrice
public bool HasLimitPrice { get; }
value = protoOAAmendOrderReq.HasLimitPrice

Gets whether the "limitPrice" field is set

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

Gets whether the "orderId" field is set

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

Gets whether the "payloadType" field is set

HasRelativeStopLoss
public bool HasRelativeStopLoss { get; }
value = protoOAAmendOrderReq.HasRelativeStopLoss

Gets whether the "relativeStopLoss" field is set

HasRelativeTakeProfit
public bool HasRelativeTakeProfit { get; }
value = protoOAAmendOrderReq.HasRelativeTakeProfit

Gets whether the "relativeTakeProfit" field is set

HasSlippageInPoints
public bool HasSlippageInPoints { get; }
value = protoOAAmendOrderReq.HasSlippageInPoints

Gets whether the "slippageInPoints" field is set

HasStopLoss
public bool HasStopLoss { get; }
value = protoOAAmendOrderReq.HasStopLoss

Gets whether the "stopLoss" field is set

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

Gets whether the "stopPrice" field is set

HasStopTriggerMethod
public bool HasStopTriggerMethod { get; }
value = protoOAAmendOrderReq.HasStopTriggerMethod

Gets whether the "stopTriggerMethod" field is set

HasTakeProfit
public bool HasTakeProfit { get; }
value = protoOAAmendOrderReq.HasTakeProfit

Gets whether the "takeProfit" field is set

HasTrailingStopLoss
public bool HasTrailingStopLoss { get; }
value = protoOAAmendOrderReq.HasTrailingStopLoss

Gets whether the "trailingStopLoss" field is set

HasVolume
public bool HasVolume { get; }
value = protoOAAmendOrderReq.HasVolume

Gets whether the "volume" field is set

LimitPrice
public double LimitPrice { get; set; }
value = protoOAAmendOrderReq.LimitPrice
protoOAAmendOrderReq.LimitPrice = value

The Limit Price, can be specified for the LIMIT order only.

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

The unique ID of the order.

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

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

SlippageInPoints
public int SlippageInPoints { get; set; }
value = protoOAAmendOrderReq.SlippageInPoints
protoOAAmendOrderReq.SlippageInPoints = value

Slippage distance for the MARKET_RANGE and the STOP_LIMIT orders.

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

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

StopTriggerMethod
public ProtoOAOrderTriggerMethod StopTriggerMethod { get; set; }
value = protoOAAmendOrderReq.StopTriggerMethod
protoOAAmendOrderReq.StopTriggerMethod = value

Trigger method for the STOP or the STOP_LIMIT pending order.

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

TrailingStopLoss
public bool TrailingStopLoss { get; set; }
value = protoOAAmendOrderReq.TrailingStopLoss
protoOAAmendOrderReq.TrailingStopLoss = value

If TRUE then the Trailing Stop Loss is applied.

Volume
public long Volume { get; set; }
value = protoOAAmendOrderReq.Volume
protoOAAmendOrderReq.Volume = value

Volume, represented in 0.01 of a unit (e.g. cents).

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAAmendOrderReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearExpirationTimestamp
public void ClearExpirationTimestamp()
protoOAAmendOrderReq.ClearExpirationTimestamp()

Clears the value of the "expirationTimestamp" field

ClearGuaranteedStopLoss
public void ClearGuaranteedStopLoss()
protoOAAmendOrderReq.ClearGuaranteedStopLoss()

Clears the value of the "guaranteedStopLoss" field

ClearLimitPrice
public void ClearLimitPrice()
protoOAAmendOrderReq.ClearLimitPrice()

Clears the value of the "limitPrice" field

ClearOrderId
public void ClearOrderId()
protoOAAmendOrderReq.ClearOrderId()

Clears the value of the "orderId" field

ClearPayloadType
public void ClearPayloadType()
protoOAAmendOrderReq.ClearPayloadType()

Clears the value of the "payloadType" field

ClearRelativeStopLoss
public void ClearRelativeStopLoss()
protoOAAmendOrderReq.ClearRelativeStopLoss()

Clears the value of the "relativeStopLoss" field

ClearRelativeTakeProfit
public void ClearRelativeTakeProfit()
protoOAAmendOrderReq.ClearRelativeTakeProfit()

Clears the value of the "relativeTakeProfit" field

ClearSlippageInPoints
public void ClearSlippageInPoints()
protoOAAmendOrderReq.ClearSlippageInPoints()

Clears the value of the "slippageInPoints" field

ClearStopLoss
public void ClearStopLoss()
protoOAAmendOrderReq.ClearStopLoss()

Clears the value of the "stopLoss" field

ClearStopPrice
public void ClearStopPrice()
protoOAAmendOrderReq.ClearStopPrice()

Clears the value of the "stopPrice" field

ClearStopTriggerMethod
public void ClearStopTriggerMethod()
protoOAAmendOrderReq.ClearStopTriggerMethod()

Clears the value of the "stopTriggerMethod" field

ClearTakeProfit
public void ClearTakeProfit()
protoOAAmendOrderReq.ClearTakeProfit()

Clears the value of the "takeProfit" field

ClearTrailingStopLoss
public void ClearTrailingStopLoss()
protoOAAmendOrderReq.ClearTrailingStopLoss()

Clears the value of the "trailingStopLoss" field

ClearVolume
public void ClearVolume()
protoOAAmendOrderReq.ClearVolume()

Clears the value of the "volume" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAmendOrderReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

ExpirationTimestampFieldNumber
public const int ExpirationTimestampFieldNumber
value = ProtoOAAmendOrderReq.ExpirationTimestampFieldNumber

Field number for the "expirationTimestamp" field.

GuaranteedStopLossFieldNumber
public const int GuaranteedStopLossFieldNumber
value = ProtoOAAmendOrderReq.GuaranteedStopLossFieldNumber

Field number for the "guaranteedStopLoss" field.

LimitPriceFieldNumber
public const int LimitPriceFieldNumber
value = ProtoOAAmendOrderReq.LimitPriceFieldNumber

Field number for the "limitPrice" field.

OrderIdFieldNumber
public const int OrderIdFieldNumber
value = ProtoOAAmendOrderReq.OrderIdFieldNumber

Field number for the "orderId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAAmendOrderReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.

RelativeStopLossFieldNumber
public const int RelativeStopLossFieldNumber
value = ProtoOAAmendOrderReq.RelativeStopLossFieldNumber

Field number for the "relativeStopLoss" field.

RelativeTakeProfitFieldNumber
public const int RelativeTakeProfitFieldNumber
value = ProtoOAAmendOrderReq.RelativeTakeProfitFieldNumber

Field number for the "relativeTakeProfit" field.

SlippageInPointsFieldNumber
public const int SlippageInPointsFieldNumber
value = ProtoOAAmendOrderReq.SlippageInPointsFieldNumber

Field number for the "slippageInPoints" field.

StopLossFieldNumber
public const int StopLossFieldNumber
value = ProtoOAAmendOrderReq.StopLossFieldNumber

Field number for the "stopLoss" field.

StopPriceFieldNumber
public const int StopPriceFieldNumber
value = ProtoOAAmendOrderReq.StopPriceFieldNumber

Field number for the "stopPrice" field.

StopTriggerMethodFieldNumber
public const int StopTriggerMethodFieldNumber
value = ProtoOAAmendOrderReq.StopTriggerMethodFieldNumber

Field number for the "stopTriggerMethod" field.

TakeProfitFieldNumber
public const int TakeProfitFieldNumber
value = ProtoOAAmendOrderReq.TakeProfitFieldNumber

Field number for the "takeProfit" field.

TrailingStopLossFieldNumber
public const int TrailingStopLossFieldNumber
value = ProtoOAAmendOrderReq.TrailingStopLossFieldNumber

Field number for the "trailingStopLoss" field.

VolumeFieldNumber
public const int VolumeFieldNumber
value = ProtoOAAmendOrderReq.VolumeFieldNumber

Field number for the "volume" field.