$npx -y skills add agiprolabs/claude-trading-skills --skill copy-tradingWallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading
| 1 | # Copy Trading |
| 2 | |
| 3 | Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading. Identify profitable wallets on-chain, evaluate whether their edge is real and replicable, monitor their activity in real time, and execute proportionally-sized trades with independent risk controls. |
| 4 | |
| 5 | ## What Copy Trading Means on Solana |
| 6 | |
| 7 | Copy trading is the practice of monitoring one or more wallets that have demonstrated consistent profitability and replicating their trades in your own wallet. On Solana, every DEX swap is publicly visible on-chain within seconds, making it technically feasible to detect and follow any wallet's activity. |
| 8 | |
| 9 | ### How It Differs from TradFi Copy Trading |
| 10 | |
| 11 | | Dimension | TradFi (eToro, etc.) | Solana On-Chain | |
| 12 | |-----------|---------------------|-----------------| |
| 13 | | Data source | Platform-reported P&L | Verifiable on-chain transactions | |
| 14 | | Latency | Minutes to hours | Seconds (websocket) to sub-second (gRPC) | |
| 15 | | Front-running risk | Low | High (MEV bots, sandwich attacks) | |
| 16 | | Trade cost | Commissions + spread | Gas + slippage + priority fees | |
| 17 | | Capacity | High (large-cap equities) | Low (micro-cap tokens have thin liquidity) | |
| 18 | | Signal decay | Slow | Fast (PumpFun tokens move in minutes) | |
| 19 | | Transparency | Partial (delayed reporting) | Full (every transaction is public) | |
| 20 | |
| 21 | The core tradeoff: Solana provides perfect transparency but introduces execution risk. The wallet you copy got a price that no longer exists by the time you trade. |
| 22 | |
| 23 | ## The Copy-Trade Pipeline |
| 24 | |
| 25 | ### Stage 1 — Discovery |
| 26 | |
| 27 | Find wallets with strong track records. Sources include: |
| 28 | |
| 29 | - **SolanaTracker Top Traders**: `GET /top-traders/{token}` returns the highest-PnL wallets for any token |
| 30 | - **Birdeye Trader Rankings**: wallet-level P&L leaderboards by token or globally |
| 31 | - **On-chain leaderboards**: community-built dashboards (GMGN, Cielo, Arkham) |
| 32 | - **Social signals**: wallets shared on Twitter/X or Telegram alpha groups |
| 33 | - **Your own analysis**: run `token-holder-analysis` on a token that performed well, then profile the top holders |
| 34 | |
| 35 | See `references/wallet_discovery.md` for detailed source documentation and scoring methodology. |
| 36 | |
| 37 | ### Stage 2 — Evaluation |
| 38 | |
| 39 | Every discovered wallet must pass quantitative evaluation before it enters a copy list. Use the `wallet-profiling` skill for deep behavioral analysis, then apply copy-trade-specific criteria. |
| 40 | |
| 41 | **Minimum thresholds:** |
| 42 | |
| 43 | | Metric | Minimum | Why | |
| 44 | |--------|---------|-----| |
| 45 | | Trade count (30d) | >= 50 | Statistical significance | |
| 46 | | Win rate | >= 55% | Edge above random | |
| 47 | | Profit factor | >= 1.5 | Wins meaningfully exceed losses | |
| 48 | | Last active | Within 7 days | Still trading, not abandoned | |
| 49 | | Distinct tokens traded | >= 10 | Not a one-token wonder | |
| 50 | | Max single-trade % of total PnL | < 40% | Not reliant on one lucky hit | |
| 51 | | Bot probability | < 30% | Human-like timing patterns | |
| 52 | |
| 53 | Run `scripts/evaluate_wallet.py` for a comprehensive copy-trade suitability assessment. |
| 54 | |
| 55 | ### Stage 3 — Filtering |
| 56 | |
| 57 | After evaluation, apply additional filters: |
| 58 | |
| 59 | - **Consistency check**: rolling 7-day win rate should not swing below 40% in any period |
| 60 | - **Style compatibility**: understand whether the wallet is a sniper, scalper, or swing trader — your infrastructure must match their speed |
| 61 | - **Size compatibility**: if they trade 500 SOL per position and you have 10 SOL total, proportional sizing may be too small to cover fees |
| 62 | - **Sybil check**: use the `sybil-detection` skill to verify the wallet is not part of a wash-trading cluster |
| 63 | |
| 64 | ### Stage 4 — Monitoring |
| 65 | |
| 66 | Once a wallet passes evaluation and filtering, set up real-time monitoring. |
| 67 | |
| 68 | **Monitoring approaches (fastest to simplest):** |
| 69 | |
| 70 | 1. **Yellowstone gRPC**: sub-second latency, streams all transactions for subscribed wallets |
| 71 | 2. **Helius Enhanced WebSocket**: near-real-time with parsed transaction data |
| 72 | 3. **Polling via RPC**: `getSignaturesForAddress` every 5-10 seconds — simple but slower |
| 73 | |
| 74 | See `references/execution_strategy.md` for implementation details on each approach. |
| 75 | |
| 76 | ### Stage 5 — Execution |
| 77 | |
| 78 | When a monitored wallet executes a swap: |
| 79 | |
| 80 | 1. **Detect** the transaction (via monitoring infrastructure) |
| 81 | 2. **Parse** the trade: token address, direction (buy/sell), size |
| 82 | 3. **Validate** the token: check liquidity, holder distribution, honeypot risk |
| 83 | 4. **Size** the position: proportional to your portfolio, not theirs |
| 84 | 5. **Execute** via Jupiter aggregator with appropriate slippage tolerance |
| 85 | 6. **Record** the copy trade with attribution to the source wallet |
| 86 | |
| 87 | ### Stage 6 — Risk Management |
| 88 | |
| 89 | Copy trades require independent risk controls that do not depend on the copied wallet's behavior. |
| 90 | |
| 91 | See `references/risk_framework.md` for the complete framework. |
| 92 | |
| 93 | **Key limits:** |
| 94 | |
| 95 | | Control | Recommended Value | Purpose | |
| 96 | |---------|------------------|---------| |
| 97 | | Max allocation per wallet | 10-20% of portfolio | Diversification across signal sources | |
| 98 | | |