vike-wallet-pnl-historylisted
Install: claude install-skill vike-io/vike-cli
# vike-wallet-pnl-history
## Command
```bash
vike wallet pnl-history <address>
[--chain ethereum|bsc|base]
[--days N] (max 365, default 30)
[--json]
```
## Output
```json
{
"address": "0x...",
"chain": "ethereum",
"days": 30,
"total_net_flow_usd": 12345.67,
"series": [
{ "date": "2026-04-25", "net_flow_usd": +120.50, "gross_volume_usd": 1500, "tx_count": 4, "unique_tokens": 2, "cumulative_net_flow_usd": 120.50 },
{ "date": "2026-04-26", "net_flow_usd": -50.30, "gross_volume_usd": 800, "tx_count": 2, "unique_tokens": 1, "cumulative_net_flow_usd": 70.20 },
...
]
}
```
## Important caveat
**This is NET INFLOW USD, not realized PnL.** True realized PnL requires WAC (weighted-average cost) accounting per token, which we don't do in this fast tool. A wallet that bought $10K and sold $10K of the same token at the SAME price would show $0 here — but if they sold higher, true PnL would be positive (and this tool wouldn't reflect that). Use this for direction + trend, not for tax-grade PnL.
For lifetime realized PnL: `vike wallet discover --sort pnl --window all`.
## Reading
- `cumulative_net_flow_usd` ramping up = wallet has been accumulating $
- Big positive day with high `tx_count` = single large buy (deposit / acquisition / token purchase)
- Big negative day with high `tx_count` = sell-down or large transfer out
- `unique_tokens > 5` on a single day = farmer / spray-and-pray / airdrop claim
- All `net_flow_usd` near zero with high `gross_v