API الوثائق

post/api/v1/Trade/orders/replace

Replaces quantity and optional limit/stop prices on a working order. Body fields: accountId, orderId, quantity (required); limitPrice and stopPrice (optional JSON property names).

Trade

حدود

version

path · string

مطلوب

نص الطلب

{
  "accountId": 0,
  "orderId": 0,
  "quantity": 0
}

استجابات

  • 202Replace accepted.application/json
    {
      "status": "accepted",
      "message": "Replace accepted. Refresh GET orders for updated status.",
      "orderId": 1001
    }
  • 400Validation failed.application/json
    {
      "status": "rejected",
      "message": "orderId and quantity must be positive."
    }
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

أطلق منصتك.

ابدأ.