set_account_position_mode_and_leverage
Set the position mode (HEDGE or ONE-WAY) and/or leverage for an account on a specified exchange. Adjust trading parameters independently—only one setting required per call.
Instructions
Set position mode and leverage for an account on a specific exchange. If position mode is not specified, will only set the leverage. If leverage is not specified, will only set the position mode.
Args:
account_name: Account name (default: master_account)
connector_name: Exchange connector name (e.g., 'binance_perpetual')
trading_pair: Trading pair (e.g., ETH-USD) only required for setting leverage
position_mode: Position mode ('HEDGE' or 'ONE-WAY')
leverage: Leverage to set (optional, required for HEDGE mode)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_name | Yes | ||
| connector_name | Yes | ||
| trading_pair | No | ||
| position_mode | No | ||
| leverage | No |