Coinhawk Trending Engine
Pricing
$0.02 / trend analysis run
Go to Apify Store

Coinhawk Trending Engine
Adaptive trend analysis engine for crypto tokens. Combines momentum, consensus signals, and market regime detection to produce transparent trending scores. Designed for developers who need reproducible, explainable market signals.
Pricing
$0.02 / trend analysis run
Rating
0.0
(0)
Developer

Natalie Leong
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Trending Engine B2 - Adaptive Market Analysis
Description
The Trending Engine B2 provides sophisticated trend analysis for cryptocurrency tokens using adaptive algorithms that adjust to market conditions. It combines momentum analysis, consensus measurement, and market regime detection to generate intelligent trending scores with full algorithmic transparency.
Features
- Adaptive Weighting: Algorithm weights adjust based on market regime (bull/bear/volatile/sideways)
- Multi-Component Analysis: Momentum + Consensus + Market Regime detection
- Time-Series Processing: Full price and volume history analysis with time-decay weighting
- Synergy Intelligence: Bonus/penalty system for signal alignment/disagreement
- Market Regime Detection: Automatic bull/bear/volatile/sideways classification
- Full Transparency: Complete algorithmic breakdown and component scoring
Input Schema
interface TrendingInput {tokens: {symbol: string;priceHistory: { time: number; price: number; }[];volumeHistory: { time: number; volume: number; }[];}[];}
Output Schema
interface TrendingOutput {results: TrendingTokenResult[];}interface TrendingTokenResult {token: string;momentum: number; // 0–100 momentum scoreconsensus: number; // 0–100 consensus scoreregime: "bull" | "bear" | "volatile" | "sideways" | "stable" | "mixed";trendingScore: number; // 0–1 final adaptive scoreweights: {momentum: number; // Applied momentum weightconsensus: number; // Applied consensus weightregime: number; // Regime influence factor};}
Example Run
Input
{"tokens": [{"symbol": "BTC","priceHistory": [{ "time": 1703000000, "price": 42000 },{ "time": 1703003600, "price": 42500 },{ "time": 1703007200, "price": 43200 },{ "time": 1703010800, "price": 44100 }],"volumeHistory": [{ "time": 1703000000, "volume": 1500000 },{ "time": 1703003600, "volume": 1800000 },{ "time": 1703007200, "volume": 2200000 },{ "time": 1703010800, "volume": 2800000 }]},{"symbol": "ETH","priceHistory": [{ "time": 1703000000, "price": 2400 },{ "time": 1703003600, "price": 2380 },{ "time": 1703007200, "price": 2350 },{ "time": 1703010800, "price": 2320 }],"volumeHistory": [{ "time": 1703000000, "volume": 800000 },{ "time": 1703003600, "volume": 750000 },{ "time": 1703007200, "volume": 720000 },{ "time": 1703010800, "volume": 680000 }]}]}
Output
{"results": [{"token": "BTC","momentum": 78,"consensus": 82,"regime": "bull","trendingScore": 0.79,"weights": {"momentum": 0.65,"consensus": 0.35,"regime": 0.0}},{"token": "ETH","momentum": 32,"consensus": 28,"regime": "bear","trendingScore": 0.29,"weights": {"momentum": 0.40,"consensus": 0.60,"regime": 0.0}}]}
Algorithm Components
1. Momentum Analysis
- Time-Decay Weighting: Recent price movements weighted more heavily
- Volatility Dampening: High volatility reduces momentum confidence
- Signal Classification: Bullish (>60), Neutral (40-60), Bearish (<40)
2. Consensus Measurement
- Volume Confirmation: Recent vs historical volume analysis
- Cross-Exchange Agreement: Multi-source price convergence
- Variance Analysis: Price disagreement across sources
3. Market Regime Detection
- Bull Market: >15% price increase, low volatility
- Bear Market: <-15% price decrease
- Volatile: >30% volatility regardless of direction
- Sideways: <8% price movement, stable conditions
4. Adaptive Weighting
- Bull Markets: 65% momentum, 35% consensus
- Bear Markets: 40% momentum, 60% consensus
- Volatile Markets: 70% momentum, 30% consensus
- Sideways Markets: 30% momentum, 70% consensus
5. Synergy System
- Agreement Bonus: +5% when momentum and consensus align
- Disagreement Penalty: -7% when signals conflict
- Risk Management: Penalties exceed bonuses (conservative approach)
Configuration
Environment variables:
WINDOW_HOURS: Analysis time window (default: 24)MOMENTUM_LAMBDA: Time decay factor (default: 0.12)VOLATILITY_THRESHOLD: Volatile regime threshold (default: 30%)SYNERGY_BONUS: Signal alignment bonus (default: 0.05)DISAGREEMENT_PENALTY: Signal conflict penalty (default: 0.07)
Pricing
- Free Tier: Up to 5 tokens per run
- Standard: $0.10 per token analyzed
- Premium: $0.05 per token (bulk pricing for >500 tokens/month)
- Enterprise: $0.02 per token with custom algorithms and SLA
Use Cases
- Trading Signals: Identify trending tokens with high confidence
- Portfolio Optimization: Rank holdings by trending strength
- Market Analysis: Understand market regime and adapt strategies
- Risk Management: Avoid tokens with conflicting signals
- Algorithmic Trading: Integrate adaptive scoring into trading bots
- Research & Backtesting: Analyze historical trending patterns
Technical Features
- Full Transparency: Complete algorithmic breakdown
- Regime Adaptation: Weights automatically adjust to market conditions
- Time-Series Analysis: Sophisticated historical data processing
- Signal Validation: Cross-validation between momentum and consensus
- Production Ready: Enterprise-grade reliability and performance