Skip to main content
POST
Close a specific position by contract

Body

application/json

Close position request

account_id
string<uuid>
required

UUID of the account

Example:

"550e8400-e29b-41d4-a716-446655440000"

contract
string
required

Contract symbol to close (e.g., "ESH6")

Example:

"ESH6"

Response

Close-position command accepted

accepted
boolean
required
command_id
string<uuid>
required
command_type
string
required
status
string
required