Execute Trade on Several Accounts
execute_trade_multiPlace the SAME immediate order on several broker accounts at once (multi-account: Plus, Trader and Max): either an account group (accountGroup, see get_account_groups) or a list of brokerAccountIds. Groups can define the size per account (e.g. 0.5% risk on a prop firm account and 1 lot on a personal one); otherwise the quantity/sizing of this call is used for every account. Each account is checked against its own risk limits and uses 1 daily execution. For a single account use execute_trade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading symbol in TraderWAI format (e.g. "EUR_USD", "XAU_USD") | |
| quantity | No | Lots for accounts without their own sizing in the group | |
| stopLoss | Yes | Stop loss price (absolute) | |
| orderType | Yes | "LONG" for buy, "SHORT" for sell | |
| entryPrice | No | Required for LIMIT and STOP orders | |
| sizingMode | No | Sizing for accounts without their own sizing | |
| takeProfit | Yes | Take profit price (absolute) | |
| sizingValue | No | When sizingMode="percentage", the % of each account balance LOST if the stop loss is hit (not the share of the balance used). Above 10 requires confirmHighRisk. | |
| accountGroup | No | Name of an account group (get_account_groups). Use this or brokerAccountIds. | |
| executionType | Yes | "MARKET" fills now; "LIMIT" = pending pullback order at each broker (BUY LIMIT below the ask, SELL LIMIT above the bid); "STOP" = pending breakout order (BUY STOP above the ask, SELL STOP below the bid), only on TradeLocker, cTrader, MetaTrader, Capital.com and Bybit — accounts on other platforms return an error, use create_conditional_order for them. | |
| confirmHighRisk | No | Only after the user explicitly confirmed a percentage risk above 10% per order (tell them the total across accounts). | |
| brokerAccountIds | No | IDs of the broker accounts (get_broker_accounts). Use this or accountGroup. |