API दस्तावेज़ीकरण

Replace Order

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": 1001,
  "orderId": 1001,
  "quantity": 1,
  "limitPrice": 1000,
  "stopPrice": 1000
}

जवाब

  • 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

अपने प्लेटफ़ॉर्म को लॉन्च करें।