API Dokumentation
post
/api/v1/Trade/orders/replaceReplaces quantity and optional limit/stop prices on a working order. Body fields: accountId, orderId, quantity (required); limitPrice and stopPrice (optional JSON property names).
Trade
Parameter
version
path · string
Erforderlich
Anforderungstext
{
"accountId": 0,
"orderId": 0,
"quantity": 0
}Antworten
- 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." }