update_copy_trade
Modify a Solana copy trade's settings, including buy mode, amounts, stop-loss, and take-profit, or delete it. Note: status changes also permanently delete the trade.
Instructions
Update or delete a Solana copy trade. WARNING: Both isDelete and isChangeStatus permanently delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | API key | |
| userId | Yes | Control wallet address | |
| buyMode | Yes | 1 = fixed, 2 = percentage | |
| chainId | Yes | Must be 622112261 (Solana) | |
| isDelete | No | Permanently delete the copy trade | |
| copyTradeId | Yes | Copy trade ID to modify | |
| lossPercent | Yes | Stop-loss % | |
| traderWallet | Yes | Trader wallet address | |
| copyBuyAmount | Yes | Amount or percentage | |
| copyTradeName | No | Updated label | |
| profitPercent | Yes | Take-profit % | |
| isChangeStatus | No | WARNING: Also permanently deletes | |
| sessionPrivateKey | Yes | Session private key | |
| excludedProgramIds | No | Program IDs to exclude |