v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Trading

Get Position Mode

Get current position mode for a perpetual connector.

Args: account_name: Name of the account connector_name: Name of the perpetual connector

Returns: Dictionary with current position mode, connector name, and account name

Raises: HTTPException: 400 if not a perpetual connector

get/trading/{account_name}/{connector_name}/position-mode

Path parameters

account_namestring required
connector_namestring required

Response

Successful Response

{"stackTrail":"paths:/trading/{account_name}/{connector_name}/position-mode:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}