ProtoOAOrder
* 取引注文団体。
実装: IMessage<ProtoOAOrder>, IMessage, IEquatable<ProtoOAOrder>, IDeepCloneable<ProtoOAOrder>, IBufferMessage
プロパティ
public double BaseSlippagePrice { get; set; }
value = protoOAOrder.BaseSlippagePrice
protoOAOrder.BaseSlippagePrice = value
市場規模の注文には、slippageInPointsの組合せで、価格帯を指定して実行できます。
public string ClientOrderId { get; set; }
value = protoOAOrder.ClientOrderId
protoOAOrder.ClientOrderId = value
任意ClientOrderId. 最大長= 50 文字。
public bool ClosingOrder { get; set; }
value = protoOAOrder.ClosingOrder
protoOAOrder.ClosingOrder = value
TRUE が、注文が全ポジションの終了となります。positionId を指定しなければなりません。
public long ExecutedVolume { get; set; }
value = protoOAOrder.ExecutedVolume
protoOAOrder.ExecutedVolume = value
満たされたボリュームの一部。
public double ExecutionPrice { get; set; }
value = protoOAOrder.ExecutionPrice
protoOAOrder.ExecutionPrice = value
注文が実行された価格。 FILLED ステータスで注文する場合。
public long ExpirationTimestamp { get; set; }
value = protoOAOrder.ExpirationTimestamp
protoOAOrder.ExpirationTimestamp = value
注文が強制的に時間を持っている場合、出走のミリ秒単位でのUnix時間。
public bool HasBaseSlippagePrice { get; }
value = protoOAOrder.HasBaseSlippagePrice
"baseSlippagePrice" フィールドがセットされているかどうかを取得する
public bool HasClientOrderId { get; }
value = protoOAOrder.HasClientOrderId
"clientOrderId" フィールドがセットされているかどうかを取得する
public bool HasClosingOrder { get; }
value = protoOAOrder.HasClosingOrder
"closingOrder" フィールドがセットされているかどうかを取得する
public bool HasExecutedVolume { get; }
value = protoOAOrder.HasExecutedVolume
"executedVolume" フィールドがセットされているかどうかを取得する
public bool HasExecutionPrice { get; }
value = protoOAOrder.HasExecutionPrice
"executionPrice" フィールドがセットされているかどうかを取得する
public bool HasExpirationTimestamp { get; }
value = protoOAOrder.HasExpirationTimestamp
"expirationTimestamp" フィールドがセットされているかどうかを取得する
public bool HasIsStopOut { get; }
value = protoOAOrder.HasIsStopOut
"isStopOut" フィールドがセットされているかどうかを取得する
public bool HasLimitPrice { get; }
value = protoOAOrder.HasLimitPrice
"limitPrice" フィールドがセットされているかどうかを取得する
public bool HasOrderId { get; }
value = protoOAOrder.HasOrderId
"orderId" フィールドがセットされているかどうかを取得する
public bool HasOrderStatus { get; }
value = protoOAOrder.HasOrderStatus
"orderStatus" フィールドがセットされているかどうかを取得する
public bool HasOrderType { get; }
value = protoOAOrder.HasOrderType
"orderType" フィールドがセットされているかどうかを取得する
public bool HasPositionId { get; }
value = protoOAOrder.HasPositionId
"positionId" フィールドがセットされているかどうかを取得する
public bool HasRelativeStopLoss { get; }
value = protoOAOrder.HasRelativeStopLoss
"relativeStopLoss" フィールドがセットされているかどうかを取得する
public bool HasRelativeTakeProfit { get; }
value = protoOAOrder.HasRelativeTakeProfit
"relativeTakeProfit" フィールドがセットされているかどうかを取得する
public bool HasSlippageInPoints { get; }
value = protoOAOrder.HasSlippageInPoints
"slippageInPoints" フィールドがセットされているかどうかを取得する
public bool HasStopLoss { get; }
value = protoOAOrder.HasStopLoss
"stopLoss" フィールドがセットされているかどうかを取得する
public bool HasStopPrice { get; }
value = protoOAOrder.HasStopPrice
"stopPrice" フィールドがセットされているかどうかを取得する
public bool HasStopTriggerMethod { get; }
value = protoOAOrder.HasStopTriggerMethod
"stopTriggerMethod" フィールドがセットされているかどうかを取得する
public bool HasTakeProfit { get; }
value = protoOAOrder.HasTakeProfit
"takeProfit" フィールドがセットされているかどうかを取得する
public bool HasTimeInForce { get; }
value = protoOAOrder.HasTimeInForce
"timeInForce" フィールドがセットされているかどうかを取得する
public bool HasTrailingStopLoss { get; }
value = protoOAOrder.HasTrailingStopLoss
"trailingStopLoss" フィールドがセットされているかどうかを取得する
public bool HasUtcLastUpdateTimestamp { get; }
value = protoOAOrder.HasUtcLastUpdateTimestamp
"utcLastUpdateTimestamp" フィールドがセットされているかどうかを取得する
public bool IsStopOut { get; set; }
value = protoOAOrder.IsStopOut
protoOAOrder.IsStopOut = value
TRUE がサーバー側から注文が停止した時。
public double LimitPrice { get; set; }
value = protoOAOrder.LimitPrice
protoOAOrder.LimitPrice = value
限定注文のみ有効
public long OrderId { get; set; }
value = protoOAOrder.OrderId
protoOAOrder.OrderId = value
注文固有のID。注記: 注文が異なるブローカーからアカウントから取られた場合、トレーダーは同じIDで2つの注文を持っているかもしれません。
public ProtoOAOrderStatus OrderStatus { get; set; }
value = protoOAOrder.OrderStatus
protoOAOrder.OrderStatus = value
注文状況。
public ProtoOAOrderType OrderType { get; set; }
value = protoOAOrder.OrderType
protoOAOrder.OrderType = value
注文タイプ。
public long PositionId { get; set; }
value = protoOAOrder.PositionId
protoOAOrder.PositionId = value
注文にリンクしたポジションのID(e.g. 注文を閉じる、特定のポジションのボリュームを増加させる注文など)。
public long RelativeStopLoss { get; set; }
value = protoOAOrder.RelativeStopLoss
protoOAOrder.RelativeStopLoss = value
絶対の代わりに指定できる相対stopLoss。 1/100 000のユニット価格で指定。 stopLoss = entryPrice - relativeStopLoss、SELL stopLoss = entryPrice + relativeStopLoss 。
public long RelativeTakeProfit { get; set; }
value = protoOAOrder.RelativeTakeProfit
protoOAOrder.RelativeTakeProfit = value
絶対的なものではなく指定できる相対takeProfit。 1/100 000のユニットに指定される。 ForBUY takeProfit = entryPrice + relativeTakeProfit、SELL takeProfit = entryPrice - relativeTakeProfit 。
public long SlippageInPoints { get; set; }
value = protoOAOrder.SlippageInPoints
protoOAOrder.SlippageInPoints = value
市場範囲とSTOP_LIMIT@で注文して価格帯を指定するために使用して注文を実行できます。
public double StopLoss { get; set; }
value = protoOAOrder.StopLoss
protoOAOrder.StopLoss = value
絶対@stopLoss価格。
public double StopPrice { get; set; }
value = protoOAOrder.StopPrice
protoOAOrder.StopPrice = value
STOP と STOP_LIMIT の注文のみ有効です。
public ProtoOAOrderTriggerMethod StopTriggerMethod { get; set; }
value = protoOAOrder.StopTriggerMethod
protoOAOrder.StopTriggerMethod = value
注文のためのトリガーメソッド。 STOP と STOP_LIMITの注文のみ有効。
public double TakeProfit { get; set; }
value = protoOAOrder.TakeProfit
protoOAOrder.TakeProfit = value
絶対@takeProfit価格。
public ProtoOATimeInForce TimeInForce { get; set; }
value = protoOAOrder.TimeInForce
protoOAOrder.TimeInForce = value
注文時の力。注文の種類によって異なります。
public ProtoOATradeData TradeData { get; set; }
value = protoOAOrder.TradeData
protoOAOrder.TradeData = value
詳細なトレーダーデータ。
public bool TrailingStopLoss { get; set; }
value = protoOAOrder.TrailingStopLoss
protoOAOrder.TrailingStopLoss = value
注文がtrailingStopLoss@の場合。STOP_LOSS_TAKE_PROFIT@の注文で有効。
public long UtcLastUpdateTimestamp { get; set; }
value = protoOAOrder.UtcLastUpdateTimestamp
protoOAOrder.UtcLastUpdateTimestamp = value
注文の最後の更新のミリ秒単位のUnixの時間。
メソッド
public void ClearBaseSlippagePrice()
protoOAOrder.ClearBaseSlippagePrice()
フィールドの「baseSlippagePrice」の値をクリア
public void ClearClientOrderId()
protoOAOrder.ClearClientOrderId()
フィールドの「clientOrderId」の値をクリア
public void ClearClosingOrder()
protoOAOrder.ClearClosingOrder()
フィールドの「closingOrder」の値をクリア
public void ClearExecutedVolume()
protoOAOrder.ClearExecutedVolume()
フィールドの「executedVolume」の値をクリア
public void ClearExecutionPrice()
protoOAOrder.ClearExecutionPrice()
フィールドの「executionPrice」の値をクリア
public void ClearExpirationTimestamp()
protoOAOrder.ClearExpirationTimestamp()
フィールドの「expirationTimestamp」の値をクリア
public void ClearLimitPrice()
protoOAOrder.ClearLimitPrice()
フィールドの「limitPrice」の値をクリア
public void ClearOrderStatus()
protoOAOrder.ClearOrderStatus()
フィールドの「orderStatus」の値をクリア
public void ClearPositionId()
protoOAOrder.ClearPositionId()
フィールドの「positionId」の値をクリア
public void ClearRelativeStopLoss()
protoOAOrder.ClearRelativeStopLoss()
フィールドの「relativeStopLoss」の値をクリア
public void ClearRelativeTakeProfit()
protoOAOrder.ClearRelativeTakeProfit()
フィールドの「relativeTakeProfit」の値をクリア
public void ClearSlippageInPoints()
protoOAOrder.ClearSlippageInPoints()
フィールドの「slippageInPoints」の値をクリア
public void ClearStopTriggerMethod()
protoOAOrder.ClearStopTriggerMethod()
フィールドの「stopTriggerMethod」の値をクリア
public void ClearTakeProfit()
protoOAOrder.ClearTakeProfit()
フィールドの「takeProfit」の値をクリア
public void ClearTimeInForce()
protoOAOrder.ClearTimeInForce()
フィールドの「timeInForce」の値をクリア
public void ClearTrailingStopLoss()
protoOAOrder.ClearTrailingStopLoss()
フィールドの「trailingStopLoss」の値をクリア
public void ClearUtcLastUpdateTimestamp()
protoOAOrder.ClearUtcLastUpdateTimestamp()
フィールドの「utcLastUpdateTimestamp」の値をクリア
フィールド
public const int BaseSlippagePriceFieldNumber
value = ProtoOAOrder.BaseSlippagePriceFieldNumber
フィールド番号は、"baseSlippagePrice" フィールドです。
public const int ClientOrderIdFieldNumber
value = ProtoOAOrder.ClientOrderIdFieldNumber
フィールド番号は、"clientOrderId" フィールドです。
public const int ClosingOrderFieldNumber
value = ProtoOAOrder.ClosingOrderFieldNumber
フィールド番号は、"closingOrder" フィールドです。
public const int ExecutedVolumeFieldNumber
value = ProtoOAOrder.ExecutedVolumeFieldNumber
フィールド番号は、"executedVolume" フィールドです。
public const int ExecutionPriceFieldNumber
value = ProtoOAOrder.ExecutionPriceFieldNumber
フィールド番号は、"executionPrice" フィールドです。
public const int ExpirationTimestampFieldNumber
value = ProtoOAOrder.ExpirationTimestampFieldNumber
フィールド番号は、"expirationTimestamp" フィールドです。
public const int IsStopOutFieldNumber
value = ProtoOAOrder.IsStopOutFieldNumber
フィールド番号は、"isStopOut" フィールドです。
public const int LimitPriceFieldNumber
value = ProtoOAOrder.LimitPriceFieldNumber
フィールド番号は、"limitPrice" フィールドです。
public const int OrderIdFieldNumber
value = ProtoOAOrder.OrderIdFieldNumber
フィールド番号は、"orderId" フィールドです。
public const int OrderStatusFieldNumber
value = ProtoOAOrder.OrderStatusFieldNumber
フィールド番号は、"orderStatus" フィールドです。
public const int OrderTypeFieldNumber
value = ProtoOAOrder.OrderTypeFieldNumber
フィールド番号は、"orderType" フィールドです。
public const int PositionIdFieldNumber
value = ProtoOAOrder.PositionIdFieldNumber
フィールド番号は、"positionId" フィールドです。
public const int RelativeStopLossFieldNumber
value = ProtoOAOrder.RelativeStopLossFieldNumber
フィールド番号は、"relativeStopLoss" フィールドです。
public const int RelativeTakeProfitFieldNumber
value = ProtoOAOrder.RelativeTakeProfitFieldNumber
フィールド番号は、"relativeTakeProfit" フィールドです。
public const int SlippageInPointsFieldNumber
value = ProtoOAOrder.SlippageInPointsFieldNumber
フィールド番号は、"slippageInPoints" フィールドです。
public const int StopLossFieldNumber
value = ProtoOAOrder.StopLossFieldNumber
フィールド番号は、"stopLoss" フィールドです。
public const int StopPriceFieldNumber
value = ProtoOAOrder.StopPriceFieldNumber
フィールド番号は、"stopPrice" フィールドです。
public const int StopTriggerMethodFieldNumber
value = ProtoOAOrder.StopTriggerMethodFieldNumber
フィールド番号は、"stopTriggerMethod" フィールドです。
public const int TakeProfitFieldNumber
value = ProtoOAOrder.TakeProfitFieldNumber
フィールド番号は、"takeProfit" フィールドです。
public const int TimeInForceFieldNumber
value = ProtoOAOrder.TimeInForceFieldNumber
フィールド番号は、"timeInForce" フィールドです。
public const int TradeDataFieldNumber
value = ProtoOAOrder.TradeDataFieldNumber
フィールド番号は、"tradeData" フィールドです。
public const int TrailingStopLossFieldNumber
value = ProtoOAOrder.TrailingStopLossFieldNumber
フィールド番号は、"trailingStopLoss" フィールドです。
public const int UtcLastUpdateTimestampFieldNumber
value = ProtoOAOrder.UtcLastUpdateTimestampFieldNumber
フィールド番号は、"utcLastUpdateTimestamp" フィールドです。