API ドキュメント

クライアント → サーバー認証: 必須

ReplaceOrder()

パラメータ

必須

リクエストペイロードの例

{
  "orderId": 12345678,
  "limitPrice": 1.086,
  "stopPrice": null,
  "quantity": 0.5
}

ハブの戻り値タイプ

Task

サーバーがリクエストを受け入れると、呼び出しが完了します。ポートフォリオ、取引、およびステータスの更新は、以下のクライアントイベントで非同期的にプッシュされます。

関連メッセージタイプ

/// <summary>
    /// Replace-order payload sent via DefaultHub.ReplaceOrder
    /// </summary>
    public class ReplaceOrderDetails
    {
        public int OrderId { get; set; }

        public decimal? LimitPrice { get; set; }

        public decimal? StopPrice { get; set; }

        public decimal? Quantity { get; set; }
    }
ReplaceOrderDetailsタイプ説明例の値
OrderIdint12345678
LimitPricedecimal?1.086
StopPricedecimal?null
Quantitydecimal?0.5

例:JSON

{
  "orderId": 12345678,
  "limitPrice": 1.086,
  "stopPrice": null,
  "quantity": 0.5
}

予定されているクライアントイベント

Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

プラットフォームを立ち上げましょう。

はじめましょう。