Metrics in the Workbench
Querying Thrive Metrics with SQL, building metric dashboards, live data feeds, and automated alerts.
From Thrive on YouTube
Watch the matching Thrive video
Welcome to Thrive | Crypto Market Intelligence Platform for Traders
Education only. Not financial advice.
Querying Thrive Metrics in the Workbench
Every Thrive metric (TPS, TAS, and TRP) is stored in queryable tables accessible from the Workbench. This means you can go beyond the dashboard visualizations and run your own analysis: screen assets by metric thresholds, backtest metric-based strategies, build custom alerts, and create dashboard widgets that display exactly the metric views you need.
The metrics tables contain both the latest values and full historical data. You can query the current snapshot to find the best setups right now, or query historical data to study how metrics behaved before past price moves. This historical analysis is the foundation for building metric-based trading strategies.
Finding the Strongest Assets by TPS
The most basic and immediately useful query: which assets have the highest TPS right now? This is your daily screener. Start each session by identifying where the data is most aligned.
SELECT symbol, tps_score, tps_momentum_grade, tps_derivatives_grade, tps_smart_money_grade, tps_volume_grade, tps_sentiment_grade, tps_structure_grade, tps_onchain_grade, tps_macro_grade, updated_at FROM thrive_power_score WHERE tps_score >= 70 ORDER BY tps_score DESC LIMIT 20
This returns the top 20 assets with a TPS of 70 or above, along with their individual dimension grades. Scan the grades to understand why each asset is scoring high: is it driven by Smart Money and On-Chain (institutional accumulation) or by Momentum and Sentiment (crowd enthusiasm)? The answer changes how you trade it.
Finding Strong Long and Short Signals
Query TAS to find assets where the directional bias is strongest.
SELECT
symbol,
tas_score,
tas_label,
tas_funding_asymmetry,
tas_liquidation_magnet,
tas_sm_retail_divergence,
tas_oi_momentum,
tas_wave_divergence,
tas_macro_tailwind,
updated_at
FROM thrive_alpha_signal
WHERE tas_label IN ('Strong Long', 'Strong Short')
ORDER BY ABS(tas_score) DESCThis surfaces every asset currently showing a Strong Long or Strong Short signal, sorted by absolute conviction strength. The component columns let you see which inputs are driving the signal. Cross-reference with TPS and TRP before acting on any signal.
Analyzing Regime Distribution Across the Market
Understanding the regime landscape across all assets gives you a macro view of market conditions. If most assets are in Momentum, the market is trending broadly. If most are in Chop, conditions are unfavorable for directional trades.
SELECT regime, COUNT(*) as asset_count, ROUND(AVG(intensity), 1) as avg_intensity, ROUND(AVG(tps.tps_score), 1) as avg_tps FROM thrive_regime_pulse trp JOIN thrive_power_score tps ON trp.symbol = tps.symbol WHERE trp.intensity >= 50 GROUP BY regime ORDER BY asset_count DESC
This groups assets by their current regime (filtering for intensity above 50 for clear classifications) and shows how many assets are in each regime alongside the average TPS. A market where 60% of assets are in Momentum with high average TPS is a strong trending market. A market where 50% are in Chop is telling you to reduce activity.
Tracking TPS Trend Over Time
Historical TPS data lets you see how an asset’s composite strength has evolved. A rising TPS trend confirms improving conditions; a declining TPS warns of deterioration even if price has not yet reacted.
SELECT DATE(snapshot_at) as date, ROUND(AVG(tps_score), 1) as avg_tps, MAX(tps_score) as max_tps, MIN(tps_score) as min_tps FROM thrive_power_score_history WHERE symbol = 'BTC' AND snapshot_at >= NOW() - INTERVAL '30 days' GROUP BY DATE(snapshot_at) ORDER BY date ASC
This produces a daily TPS trend for BTC over the past 30 days. Chart it in the Workbench to visualize the trajectory. Look for TPS divergences from price: if BTC price is making new highs but average TPS is declining, the underlying conditions are weakening and the rally may be running on borrowed time.
Multi-metric join
Building a Combined Metric Screener
The most powerful Workbench query combines all three metrics to find assets where every metric aligns.
SELECT
tps.symbol,
tps.tps_score,
tas.tas_score,
tas.tas_label,
trp.regime,
trp.intensity
FROM thrive_power_score tps
JOIN thrive_alpha_signal tas ON tps.symbol = tas.symbol
JOIN thrive_regime_pulse trp ON tps.symbol = trp.symbol
WHERE tps.tps_score >= 70
AND tas.tas_score >= 50
AND trp.regime IN ('Breakout', 'Momentum')
AND trp.intensity >= 60
ORDER BY tps.tps_score + tas.tas_score DESCThis returns every asset where TPS is strong (70+), TAS is firmly long (50+), and TRP is in a trend-favorable regime (Breakout or Momentum) with clear intensity (60+). These are the highest-conviction long opportunities across the entire market. Run this query daily as your primary trade candidate list.
Dashboard Widgets and Live Data Feeds
Any Workbench query can be saved as a dashboard widget. This means the queries above (top assets by TPS, strong signals, regime distribution) can run on your dashboard as auto-refreshing widgets. Pin the combined screener query as a dashboard widget to always see your highest-conviction opportunities at a glance.
The live data feed displays real-time metric changes. When an asset’s TRP shifts to a new regime, when TAS crosses from Neutral to Strong Long, or when TPS breaks above 80. These events appear in the feed as they happen. Treat the live feed as your real-time alert system for metric changes across the market.
Building Alerts on Metric Thresholds
You can configure alerts that fire when specific metric conditions are met. This lets you automate the screening process, instead of manually running queries, the platform monitors for your exact conditions and notifies you the moment they are satisfied.
Notify when any asset crosses above or below a specific TPS level.
Notify when an asset enters Strong Long or Strong Short.
Notify when TRP detects a regime transition for a watched asset.
Combine TPS + TAS + TRP conditions in a single alert rule.
Push notification, email, dashboard badge, or webhook for external integrations.
Review all past alert triggers with the metric values at time of firing.
Alert strategy
From query to edge
Put this lesson to work
Free on Thrive, no account needed.