update_copy_trade_settings
Modify an existing Solana copy trade's configuration—trader wallet, buy mode, amounts, stop-loss, take-profit, or copied sells—while preserving omitted fields and open positions.
Instructions
Change settings of an existing Solana copy trade. Never deletes and never pauses/resumes. Reads the current config first; omitted fields keep their current values. Open positions are not resized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | API key | |
| userId | No | Control wallet address | |
| buyMode | No | 1 = fixed SOL amount, 2 = percentage | |
| copySell | No | Also copy sells | |
| gasPrice | No | Priority fee setting | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| copyTradeId | Yes | Copy trade ID (from get_copy_trade_list) | |
| lossPercent | No | Stop-loss % (> 0, < 100) | |
| traderWallet | No | New trader wallet to follow | |
| copyBuyAmount | No | Required when buyMode changes | |
| copyTradeName | No | New label | |
| profitPercent | No | Take-profit % (> 0) | |
| sessionPrivateKey | No | Session private key | |
| excludedDexNumbers | No | DEX numbers to exclude | |
| isBuyExistingToken | No | Buy tokens the trader already holds |