Skip to content

Alpha & PnL

Track smart money, compute profit & loss, and discover alpha signals from on-chain data.

Overview

The Alpha Engine analyzes on-chain trading activity to identify profitable wallets, compute realized and unrealized PnL, and surface trading signals. It combines DEX swap data, token price feeds, and address clustering to rank wallets by performance.

Smart Money Ranking

ChainGraph continuously tracks wallets that demonstrate consistent trading profitability. The Smart Money leaderboard ranks addresses by:

  • Total realized PnL — profit from closed positions
  • Win rate — percentage of profitable trades
  • Sharpe ratio — risk-adjusted returns
  • Trade frequency — how actively the wallet trades
  • Avg holding period — time between buy and sell

PnL Computation

For any address, ChainGraph computes per-token PnL by tracking all buy and sell events across supported DEX protocols. The calculation uses:

  • FIFO cost basis — first-in, first-out for matching buys to sells
  • Real-time price feeds — for unrealized PnL on open positions
  • Gas costs — included in PnL calculations for accurate net profit
  • Multi-DEX aggregation — swaps across all supported protocols are unified

Alpha Signals

The Alpha Engine detects and surfaces signals such as:

  • Smart money accumulation — multiple ranked wallets buying the same token
  • Early mover detection — wallets that buy tokens within hours of deployment
  • Whale alerts — large buys/sells that may move markets
  • Copy trading candidates — wallets with high win rates suitable for mirroring
  • Token momentum — tokens with increasing smart money interest

Watchlists

Create watchlists to track specific wallets or tokens. Get notified when:

  • A watched wallet makes a trade
  • A watched token sees unusual smart money activity
  • PnL crosses a threshold you set

Supported DEX protocols

  • Uniswap V2 and V3
  • SushiSwap
  • Curve Finance
  • Balancer
  • 1inch (aggregator)
  • 0x Protocol

More protocols are added continuously. Use DESCRIBE dex_swaps in SQL mode to see the current protocol list.

Availability

FeatureFreePro
Smart Money leaderboardTop 10Full
PnL per addressBasicDetailed + export
Alpha signalsDelayed (1h)Real-time
Watchlists1 (5 items)Unlimited
Alpha & PnL — ChainGraph Docs