Creates a market sell order and waits for completion. The server polls the exchange internally and returns the final result once the order is filled (or returns an error on timeout/failure).
Request body
application/json
· ExchangeOrderRequest
· required
| Field | Type | Required | Description |
|---|---|---|---|
pair |
string |
yes | Trading pair (e.g. USDCUSD, USDCEUR). |
volume |
string |
yes | Volume in base currency. |
Responses
| Status | Body | Description |
|---|---|---|
200 |
ExchangeOrderResponse |
Order completed. |
408 |
Error |
Timeout waiting for order completion. |
422 |
Error |
Exchange rejected the order. |
Specification
This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.