API الوثائق
Close Position
post
/api/v1/Trade/positions/closeCloses an open position with a market order for the full position quantity.
Trade
حدود
version
path · string
مطلوب
نص الطلب
{
"accountId": 1001,
"instrument": "EURUSD"
}استجابات
- 202Close accepted.application/json
{ "status": "accepted", "message": "Close position accepted." } - 400Validation failed.application/json
{ "status": "rejected", "message": "Instrument is required." }