{"uid":"cap_Y9Ur3fWfzEJkrSBVrgLGn","slug":"alf-copy-trade-backtester-56d28e95","name":"Alf Copy-Trade Backtester","description":"Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.","url":"https://agent.maddegen.art/hub/api/v1/tools/copy_backtest?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["wallet"],"properties":{"days":{"type":"integer"},"exit":{"type":"string","description":"sell on the leader's first sell, or once it has sold 90%"},"wallet":{"type":"string","description":"leader wallet to copy"},"size_sol":{"type":"number","description":"SOL per copied entry"},"max_positions":{"type":"integer","description":"most recent positions to replay"}}},"responseSchema":{"ms":120,"ok":true,"data":{"summary":"Would copying this wallet have made money? Replays its pump.fun entries and exits 0–25 slots late on the recorded curve and shows where the edge dies."},"tool":"copy_backtest","billing":{"usd":0.03,"mode":"x402"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mxyvCdtkptWO2DlUYzKLw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Replays a Solana wallet's pump.fun trade history to simulate how much profit copy-trading that leader would have generated, showing where the edge erodes with execution delay.","exampleAgentPrompt":"Run a copy-trade backtest on wallet 7xKp...abc for the last 30 days, using 0.5 SOL per entry, up to 10 positions, and exit on the leader's first sell — would following them have been profitable?","exampleUseCases":[{"title":"Vetting a hyped pump.fun trader","prompt":"I keep seeing this wallet 3mNz...xyz posted in Telegram as a top caller — can you backtest copying it over the last 14 days with 1 SOL per trade, max 5 positions, and exit on first sell, to see if it's actually worth following?"},{"title":"Comparing exit strategy profitability","prompt":"Backtest wallet 9qAb...def over 60 days with 0.25 SOL per position and up to 20 positions, but use the '90% sold' exit rule — I want to see how late exits affect the edge compared to first-sell exits."},{"title":"Screening a wallet before allocating capital","prompt":"Before I start copy trading wallet 5rTw...ghi on pump.fun, run a 7-day backtest with 2 SOL per entry and at most 8 positions using first-sell exit strategy so I know if this leader is actually profitable or just lucky."}],"resultDescription":"Returns a summary text describing whether copy-trading the specified wallet would have been profitable, replaying its pump.fun entries and exits with 0–25 slot execution delay, and indicating at which delay thresholds the edge disappears. Includes ok/error status, tool name, billing mode, and latency metadata.","failureModes":["Invalid or non-existent wallet address returns an error response","Wallet has no pump.fun activity in the specified days window, resulting in empty or no-trade summary","Insufficient historical data for the requested lookback period","Payment failure via x402 protocol prevents execution","Rate limiting or service unavailability returns non-ok response"],"whenToPreferThis":"Use this endpoint when you need to quantitatively evaluate whether a specific Solana wallet's pump.fun trading history has exploitable alpha before committing real capital to copy-trading it. It is particularly valuable for stress-testing execution delay sensitivity (0–25 slots late) and comparing exit strategies (first sell vs 90% sold). Prefer this over manual on-chain analysis tools when you want a fast, automated P&L simulation with edge-decay visualization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:00.108Z","isFirstParty":false,"canonicalSlug":"alf-copy-trade-backtester-56d28e95"}