Documentation Index
Fetch the complete documentation index at: https://mathematicalcompany.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Whale Galaxy
Scans the Polymarket ecosystem to discover, rank, cluster, and track wallets. Automatically identifies smart money, weak hands, and coordinated trading groups, then feeds the best targets into copy-trading or fade strategies.Galaxy uses
score_wallet() from Wallet Intelligence internally to rank wallets, and copy_trades() from Copy-Trading to execute on targets. It’s the top of the wallet analysis progression: Analytics → Intelligence → Profiler → Copy-Trading → Galaxy.Galaxy Scan
Score and rank wallets across top markets.
Cluster Detection
Pairwise co-trade analysis to find coordinated groups.
Whale Alerts
Real-time alerts when high-score wallets make moves.
Auto-Target
Automatically pick copy/fade targets from scan results.
Galaxy Scan
Cluster Detection
| Cluster Type | Avg Delay | Interpretation |
|---|---|---|
copy_chain | < 60s | One wallet copies another |
coordinated | 60-300s | Deliberate coordination |
coincidence | > 300s | Likely independent |
Auto-Target
Pipeline Mode
ctx.params["galaxy_snapshot"] and ctx.params["galaxy_alerts"].
Galaxy Hunt (Standalone)
One-command autonomous mode: scan, pick targets, and start copy-trading.Wallet Categories
| Category | Score Range | Description |
|---|---|---|
smart_money | > 0.5 | Consistent winners worth copying |
neutral | 0.0 to 0.5 | Average performance |
weak_hand | -0.3 to 0.0 | Below average, potential fade targets |
bot | < -0.3 | Consistently losing, likely bots or noise traders |
GalaxyConfig
| Parameter | Default | Description |
|---|---|---|
top_n | 20 | Number of top/bottom wallets to return |
min_trades | 10 | Minimum trades to include a wallet |
cluster_window_secs | 3600.0 | Time window for co-trade detection |
cluster_min_overlap | 3 | Minimum shared markets for a cluster |
alert_min_score | 0.3 | Minimum wallet score to generate alerts |
alert_min_size_usdc | 500.0 | Minimum trade size for alerts |