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

启动您的平台。

开始使用。