Set Position Mode
Trading
Set Position Mode
Set position mode for a perpetual connector.
Args: account_name: Name of the account connector_name: Name of the perpetual connector position_mode: Position mode to set (HEDGE or ONEWAY)
Returns: Success message with status
Raises: HTTPException: 400 if not a perpetual connector or invalid position mode
POST
Set Position Mode
Documentation Index
Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Request model for setting position mode on perpetual connectors
Position mode (HEDGE or ONEWAY)
Response
Successful Response

