create_copy_trade
Set up a Solana copy trade to automatically mirror a trader's buys and sells, with fixed or percentage buy amounts plus stop-loss and take-profit rules.
Instructions
Create a new copy trade to auto-mirror a Solana trader's buys/sells. Solana only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | API key for AES encryption | |
| userId | Yes | Control wallet address | |
| buyMode | Yes | 1 = fixed SOL amount, 2 = percentage of trader amount | |
| chainId | Yes | Must be 622112261 (Solana) | |
| copySell | No | Also copy sell trades | |
| lossPercent | Yes | Stop-loss percentage (> 0, < 100) | |
| traderWallet | Yes | Solana wallet address of trader to copy | |
| copyBuyAmount | Yes | SOL amount (mode 1) or percentage 0-100 (mode 2) | |
| copyTradeName | Yes | Human-readable label | |
| profitPercent | Yes | Take-profit percentage (> 0) | |
| sessionPrivateKey | Yes | Session private key from sign-in | |
| excludedDexNumbers | No | DEX numbers to exclude | |
| isBuyExistingToken | No | Buy tokens already held by trader |