Close position
Automatic full or partial close of an authorized position.
login and optionally volume and comment. Omit volume for a full close;
5000 requests 0.5 lots. The API resolves symbol, direction, price and precision.
Keep one Idempotency-Key per intent and confirm execution.
See the complete guide.
See Volume: lots and MT5 units for conversions and each endpoint’s volume fields.Authorizations
Send the provider-issued token in the Authorization header using Bearer authentication.
Headers
Persisted key for this intent. Reuse the same key and body when retrying; use a new key for another trading intent, including a modification.
16 - 128^[A-Za-z0-9._:-]{16,128}$"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Body
Verified owner account login.
123456
Optional integer MT5 units, not lots: 10000 = 1 lot independently of contract size. Omit to request the full current position volume; partial execution may leave a remainder.
x > 0100
31Response
Successful Response
The response is of type Response Close Position Api V1 Positions Position Close Post · object.

