Skip to content
datastore.sh

Solana Wallet PnL Data: Find Smart Money Without Copying a Bot

How realised profit, ROI and win rate are calculated for Solana wallets, why the cost-basis rule changes every ranking, why bots crowd the top of trader leaderboards, and SQL that ranks Pump.fun and PumpSwap wallets you could actually copy.

Data Platform13 min read

Solana wallet PnL data records how much each wallet made or lost trading tokens. It covers realised profit and loss in SOL, return on investment, and win rate, broken down by token, by day and by period. Copy-trading tools, smart-money trackers and trader leaderboards are all built on it. Most of them never say how the profit was calculated.

That matters more than it sounds. The same wallet can show a profit under one cost-basis rule and a loss under another. A ranking by profit alone puts high-frequency bots near the top, because their volume is so large. Neither problem shows up on a leaderboard. Both are visible in the data once you know which columns to read.

This guide explains what wallet PnL measures, the three choices that change every PnL number, and how the Wallet PnL & ROI, Smart Money Wallets and Trader Leaderboard datasets make those choices. It ends with queries that rank wallets you could realistically copy. These datasets cover Pump.fun bonding-curve and PumpSwap trades priced in SOL. Trades on Jupiter, Raydium or other DEXs are not included.

What Wallet PnL Data Measures

MeasureDefinitionColumn
Realised PnLSOL received from sales minus the cost of the tokens soldrealized_pnl_sol
Unrealised PnLMarket value of tokens still held minus their costNot included; see below
ROIRealised PnL as a percentage of the cost of the tokens soldroi_pct
Win rateShare of closed tokens, bought and sold, that made a profitwin_rate
Closed tokensTokens the wallet both bought and sold in the periodtokens_closed
Best tokenThe token with the highest realised PnL, and that PnLbest_mint, best_pnl_sol

The datasets report realised PnL only. Unrealised PnL needs a current price for every token a wallet holds. Most Pump.fun tokens stop trading within hours, so their "current price" is a stale number that can make a portfolio look much better or worse than it is. Some vendors include unrealised PnL anyway. Solana Tracker's PnL V2, for example, reports total PnL as realised plus unrealised (Solana Tracker docs). Neither choice is wrong, but the two give different numbers for the same wallet. Before you compare them, check which one you are looking at.

Win rate is counted per token, not per trade. A wallet that buys a token in ten pieces and sells it once has one closed token, not ten trades. That stops scalping bots from inflating their win rate with hundreds of tiny round trips.

Three Choices That Change Every PnL Number

1. The cost basis rule

When a wallet buys the same token more than once at different prices and then sells part of the position, which purchase did it sell? There are three common answers, and each gives a different profit:

Solana wallet PnL data worked example: three cost-basis rules applied to the same trades. The wallet buys 1 million tokens for 1 SOL, buys another 1 million for 3 SOL, then sells 1 million for 2.5 SOL. Average cost reports +0.5 SOL realised PnL, FIFO reports +1.5 SOL, and LIFO reports −0.5 SOL. The unsold 1 million tokens are left out of realised PnL under all three rules.

The Wallet PnL & ROI dataset uses average cost: every token sold is valued at the wallet's average purchase price. It is the least sensitive to the order of fills, and it cannot be gamed by choosing which lot to "sell". FIFO and LIFO are common in tax software and in some trading tools. When a vendor publishes a PnL figure without naming its rule, you cannot reproduce it.

2. What counts as inside the period

A seven-day leaderboard has to decide what to do with a sale today of tokens bought three weeks ago. This dataset uses the matched quantity rule: PnL is only computed on tokens that were both bought and sold within the period. Sales of tokens bought before the period are left out. So are tokens still held at the end of it.

That keeps each period honest. A wallet cannot top this week's board by selling a position it built last month. The cost is that a long-term holder looks quiet in short periods. For those wallets, use a longer period or the per-token table.

3. Fees and the quote asset

sol_spent includes fees paid on buys, and sol_received is measured after fees. So a wallet that trades in and out at the same price shows a small loss, as it should. Everything is priced in SOL, not dollars. A wallet that broke even in SOL during a month when SOL rose 20% made money in dollars. That is outside this measure, so keep the two apart when you report results.

From PnL to Smart Money Wallets

"Smart money" has no standard definition. One data vendor says so directly: "smart money" is "a research label, not a property you can prove from one profitable trade" (MadeOnSol). The useful question is which rule a dataset uses, and whether you agree with it.

The Smart Money Wallets dataset publishes its rule. A wallet qualifies when it has all of these:

  1. at least 10 closed tokens, so one lucky trade is not enough;
  2. positive realised PnL;
  3. a win rate of 55% or more;
  4. trades on 3 or more separate days; and
  5. no match against the bot rules (next section).

Qualifying wallets are ranked by score = realised PnL (SOL) × win rate. Multiplying the two rewards wallets that are both profitable and consistent. A wallet with 500 SOL of profit at a 30% win rate does not qualify at all. A wallet with 200 SOL at an 80% win rate scores 160.

Funnel showing how Solana wallets are filtered into the Smart Money Wallets dataset: every Pump.fun and PumpSwap trader, then wallets with 10 or more closed tokens, positive realised PnL, a win rate of at least 55%, activity on 3 or more days, and no bot rules triggered. Survivors are ranked by realised PnL multiplied by win rate.

The dataset has three tables:

TableOne row perUse it for
SmartMoneyWalletsRanked walletThe list: rank, score, PnL, win rate, closed tokens, volume, active days
SmartMoneyTradesTrade by a ranked walletWhat they bought and sold, with signature and venue
SmartMoneyTokenFlowsToken per hourHow many ranked wallets bought or sold a token, and the net SOL

Trader Leaderboards and the Bot Problem

The Trader Leaderboard ranks wallets by realised PnL alone, with at least 5 closed tokens. It keeps bots in the ranking and flags them with is_bot, because some users want to study them. Rank by PnL alone and the top of the board fills with automated wallets. In the free sample, half of the top ten ranks are flagged bots, three of them with more than 25,000 trades in a two-week period.

A wallet is flagged when, on any single day, it hits one of the Bot Detection rules:

RuleThreshold
Very high activity1,000+ trades in a day
No sleepTrades in 20+ different hours of a day
Burst trading30+ trades in one minute
Same-slot round trips20+ buy-and-sell pairs in the same slot
Launch sniping10+ Pump.fun buys within 2 slots of a token's launch

The bots are real, and many are profitable. You just cannot copy them. A wallet that buys and sells in the same slot, or buys within two slots of launch, finishes its trade before a copy-trading service has even seen the first transaction. So filtering out bots doesn't just hide bad wallets. It removes the ones whose results no human or copy-trading service could reproduce.

Querying Wallet PnL Data

The queries below use DuckDB against the delivered Parquet layout. They also run against the free samples on each dataset page.

The leaderboard without bots

sql
WITH board AS (
  SELECT *
  FROM read_parquet('solana/wallet/trader_leaderboard/schema=v1.0/leaderboard/**/*.parquet')
)
SELECT rank, wallet, realized_pnl_sol, roi_pct, win_rate, tokens_closed, trades, active_days
FROM board
WHERE period = (SELECT max(period) FROM board)
  AND NOT is_bot
ORDER BY rank
LIMIT 25;

rank is computed before bots are removed, so gaps in the rank column show where bots were. Count them. That count tells you how much of the board's top end is automated.

Profit that came from one token

sql
SELECT wallet, realized_pnl_sol, best_mint, best_pnl_sol,
       round(best_pnl_sol / realized_pnl_sol, 2) AS best_token_share,
       tokens_closed, win_rate
FROM read_parquet('solana/wallet/wallet_pnl_roi/schema=v1.0/wallet_roi/**/*.parquet')
WHERE realized_pnl_sol > 0
  AND tokens_closed >= 10
ORDER BY best_token_share DESC
LIMIT 25;

A best_token_share near 1 means nearly all of the wallet's profit came from a single token. A share above 1 means the best token earned more than the wallet's total, and everything else it traded lost money. Both patterns usually point to one lucky hit rather than a strategy, and a copy trader would have had to catch that one token.

Consistency day by day

sql
SELECT wallet,
       count(*)                                       AS active_days,
       count(*) FILTER (WHERE realized_pnl_sol > 0)   AS profitable_days,
       sum(realized_pnl_sol)                          AS realized_pnl_sol,
       max(realized_pnl_sol)                          AS best_day_sol
FROM read_parquet('solana/wallet/wallet_pnl_roi/schema=v1.0/wallet_daily_pnl/**/*.parquet')
GROUP BY wallet
HAVING count(*) >= 3
ORDER BY profitable_days DESC, realized_pnl_sol DESC
LIMIT 25;

Compare best_day_sol with realized_pnl_sol. If one day accounts for most of the total, the wallet had a good day, not a good method.

Can you copy it? Hold times per token

sql
SELECT mint, buys, sells, sol_spent, sol_received, realized_pnl_sol, roi_pct,
       date_diff('second', first_ts, last_ts) AS seconds_first_to_last_trade
FROM read_parquet('solana/wallet/wallet_pnl_roi/schema=v1.0/wallet_token_pnl/**/*.parquet')
WHERE wallet = '<wallet address>'
ORDER BY realized_pnl_sol DESC;

If a wallet's best trades last a few seconds from first buy to last sell, a copy trader enters after the price has already moved, and the profit does not carry over. Wallets that hold for minutes or hours are the only ones a copy-trading delay can follow.

What ranked wallets are buying now

sql
WITH t AS (
  SELECT *
  FROM read_parquet('solana/wallet/smart_money_wallets/schema=v1.0/smart_money_trades/**/*.parquet')
)
SELECT mint,
       count(DISTINCT wallet) FILTER (WHERE side = 'buy')         AS smart_buyers,
       count(DISTINCT wallet) FILTER (WHERE side = 'sell')        AS smart_sellers,
       sum(CASE side WHEN 'buy' THEN sol_amount ELSE -sol_amount END) AS net_buy_sol
FROM t
WHERE ts >= (SELECT max(ts) FROM t) - INTERVAL 24 HOUR
GROUP BY mint
HAVING count(DISTINCT wallet) FILTER (WHERE side = 'buy') >= 2
ORDER BY net_buy_sol DESC
LIMIT 20;

This counts distinct wallets from the trades table. Summing smart_buyers across the hourly SmartMoneyTokenFlows rows would count a wallet that buys in three different hours three times. The HAVING clause keeps tokens bought by at least two ranked wallets, so one whale buy is not read as a consensus.

Before You Copy a Wallet

  1. Check the bot flag. If is_bot is true, or the wallet would trip a bot rule, you cannot follow it in time.
  2. Require a sample. Ten or more closed tokens and three or more active days, at minimum. One vendor puts it plainly: there is no universal "20 trades proves skill" cutoff (MadeOnSol). More history is better evidence.
  3. Look at concentration. A best_token_share near or above 1 means one token made the result.
  4. Look at hold time. Trades that last seconds cannot be copied with a delay.
  5. Name the method. When you compare figures from different tools, check realised versus total PnL and the cost-basis rule.
  6. Separate SOL and dollars. A SOL-denominated profit is not a dollar profit.
  7. Test forward. Rank wallets on one period, then measure them on the next. Rankings built on past PnL show survivors, and many survivors were lucky.

The last point is the same look-ahead problem that affects backtests. Our guide to Solana data for backtesting covers how to split periods so the test is fair. If you are studying wallets that buy at launch, read it alongside our guide to Solana rug pull data and insider wallets: some "smart money" turns out to be the creator's own wallets. To compare per-wallet PnL APIs with bulk datasets, see the best Solana wallet PnL data and APIs.

Frequently Asked Questions

What is Solana wallet PnL data?

Solana wallet PnL data is a record of each wallet's profit and loss from trading tokens, usually realised PnL in SOL, ROI and win rate, per token, per day and per period. It is calculated from decoded trades, so the cost-basis rule and the period rule decide the final numbers.

How is realised PnL calculated for a Solana wallet?

Realised PnL is the SOL received from selling tokens minus the cost of those tokens. The Wallet PnL & ROI dataset values sold tokens at the wallet's average purchase cost, including fees. It only counts tokens both bought and sold within the period.

What makes a wallet smart money on Solana?

There is no standard definition, so each dataset sets its own rule. The Smart Money Wallets dataset requires at least 10 closed tokens, positive realised PnL, a win rate of 55% or more, activity on 3 or more days and no bot flags. It then ranks wallets by PnL multiplied by win rate.

Why are bots at the top of Solana trader leaderboards?

Ranking by realised PnL alone favours wallets with huge trade counts, and many of those are automated. They trade within the same slot or right at launch, faster than any copy-trading service can follow. The Trader Leaderboard keeps them but flags each one with is_bot.

Does wallet PnL include unrealised gains?

Not in these datasets. They report realised PnL only, because most Pump.fun tokens stop trading quickly and their last price is unreliable. Some APIs report total PnL including unrealised gains, so check which one a figure uses before you compare.

Where can I get Solana wallet PnL data in bulk?

Per-wallet APIs return one wallet per request. datastore.sh delivers Wallet PnL & ROI, Smart Money Wallets and Trader Leaderboard as Parquet tables for every wallet trading Pump.fun and PumpSwap, with free samples of every table and the rules documented on each dataset page.

Sources