API documentation

Client → serverAuthentication: Required

ReplaceOrder()

Parameters

Required

Request payload example

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

Hub return type

Task

The invoke completes when the server accepts the request. Portfolio, trade, and status updates are pushed asynchronously on the client events below.

Related message types

/// <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; }
    }
ReplaceOrderDetailsTypeDescriptionExample value
OrderIdint12345678
LimitPricedecimal?1.086
StopPricedecimal?null
Quantitydecimal?0.5

Example JSON

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

Expected client events

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

Lance a sua plataforma.

Começar.