ProtoOAAmendPositionSLTPReq

StockSharp.cTrader.Native.Model

※ 既存のポジションのStopLoss及びTakeProfitを改定するリクエスト。accessTokenが取引口座の「取引」権限を持っている場合にのみ許可される。

実装: IMessage<ProtoOAAmendPositionSLTPReq>, IMessage, IEquatable<ProtoOAAmendPositionSLTPReq>, IDeepCloneable<ProtoOAAmendPositionSLTPReq>, IBufferMessage

プロパティ

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

トレーダーのアカウントのユニークな識別子。トレーダーのアカウントに対する応答に一致するために使用される。

GuaranteedStopLoss
public bool GuaranteedStopLoss { get; set; }
value = protoOAAmendPositionSLTPReq.GuaranteedStopLoss
protoOAAmendPositionSLTPReq.GuaranteedStopLoss = value

TRUE がストップロスが保証されます。フランス語リスクまたは保証されたストップロスアカウントでご利用いただけます。

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

"ctidTraderAccountId" フィールドがセットされているかどうかを取得する

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

"guaranteedStopLoss" フィールドがセットされているかどうかを取得する

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

"payloadType" フィールドがセットされているかどうかを取得する

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

"positionId" フィールドがセットされているかどうかを取得する

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

"stopLoss" フィールドがセットされているかどうかを取得する

HasStopLossTriggerMethod
public bool HasStopLossTriggerMethod { get; }
value = protoOAAmendPositionSLTPReq.HasStopLossTriggerMethod

"stopLossTriggerMethod" フィールドがセットされているかどうかを取得する

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

"takeProfit" フィールドがセットされているかどうかを取得する

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

"trailingStopLoss" フィールドがセットされているかどうかを取得する

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

変更する位置のユニークなID。

StopLoss
public double StopLoss { get; set; }
value = protoOAAmendPositionSLTPReq.StopLoss
protoOAAmendPositionSLTPReq.StopLoss = value

絶対ストップロス価格(1.23456 など)。

StopLossTriggerMethod
public ProtoOAOrderTriggerMethod StopLossTriggerMethod { get; set; }
value = protoOAAmendPositionSLTPReq.StopLossTriggerMethod
protoOAAmendPositionSLTPReq.StopLossTriggerMethod = value

ストップロス/トークン利益注文のためのストップトリガー方法。

TakeProfit
public double TakeProfit { get; set; }
value = protoOAAmendPositionSLTPReq.TakeProfit
protoOAAmendPositionSLTPReq.TakeProfit = value

絶対利益価格を取る (1.26543 例えば).

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

TRUE が、Trailing Stop 損失が適用される場合。

メソッド

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAAmendPositionSLTPReq.ClearCtidTraderAccountId()

フィールドの「ctidTraderAccountId」の値をクリア

ClearGuaranteedStopLoss
public void ClearGuaranteedStopLoss()
protoOAAmendPositionSLTPReq.ClearGuaranteedStopLoss()

フィールドの「guaranteedStopLoss」の値をクリア

ClearPayloadType
public void ClearPayloadType()
protoOAAmendPositionSLTPReq.ClearPayloadType()

フィールドの「payloadType」の値をクリア

ClearPositionId
public void ClearPositionId()
protoOAAmendPositionSLTPReq.ClearPositionId()

フィールドの「positionId」の値をクリア

ClearStopLoss
public void ClearStopLoss()
protoOAAmendPositionSLTPReq.ClearStopLoss()

フィールドの「stopLoss」の値をクリア

ClearStopLossTriggerMethod
public void ClearStopLossTriggerMethod()
protoOAAmendPositionSLTPReq.ClearStopLossTriggerMethod()

フィールドの「stopLossTriggerMethod」の値をクリア

ClearTakeProfit
public void ClearTakeProfit()
protoOAAmendPositionSLTPReq.ClearTakeProfit()

フィールドの「takeProfit」の値をクリア

ClearTrailingStopLoss
public void ClearTrailingStopLoss()
protoOAAmendPositionSLTPReq.ClearTrailingStopLoss()

フィールドの「trailingStopLoss」の値をクリア

フィールド

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAmendPositionSLTPReq.CtidTraderAccountIdFieldNumber

フィールド番号は、"ctidTraderAccountId" フィールドです。

GuaranteedStopLossFieldNumber
public const int GuaranteedStopLossFieldNumber
value = ProtoOAAmendPositionSLTPReq.GuaranteedStopLossFieldNumber

フィールド番号は、"guaranteedStopLoss" フィールドです。

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAAmendPositionSLTPReq.PayloadTypeFieldNumber

フィールド番号は、"payloadType" フィールドです。

PositionIdFieldNumber
public const int PositionIdFieldNumber
value = ProtoOAAmendPositionSLTPReq.PositionIdFieldNumber

フィールド番号は、"positionId" フィールドです。

StopLossFieldNumber
public const int StopLossFieldNumber
value = ProtoOAAmendPositionSLTPReq.StopLossFieldNumber

フィールド番号は、"stopLoss" フィールドです。

StopLossTriggerMethodFieldNumber
public const int StopLossTriggerMethodFieldNumber
value = ProtoOAAmendPositionSLTPReq.StopLossTriggerMethodFieldNumber

フィールド番号は、"stopLossTriggerMethod" フィールドです。

TakeProfitFieldNumber
public const int TakeProfitFieldNumber
value = ProtoOAAmendPositionSLTPReq.TakeProfitFieldNumber

フィールド番号は、"takeProfit" フィールドです。

TrailingStopLossFieldNumber
public const int TrailingStopLossFieldNumber
value = ProtoOAAmendPositionSLTPReq.TrailingStopLossFieldNumber

フィールド番号は、"trailingStopLoss" フィールドです。