Release Radar

Changelog

Continuous improvements to your trading edge. Every feature, fix, and optimization — timestamped and documented.

33

Releases

199

Features

68

Days Active

Latest
January 15v1.35.0

Unified Gates V7.1 - TRAP Gate + CVD Velocity (Bear Trap Prevention)

CVD Velocity Factor (12% weight)Measures RATE OF CHANGE in CVD (USD/minute), not just the level. When CVD velocity >= 5M/min (extreme buying), SHORT score = 0.0 → BLOCKED. Case study: CVD -2.5M→+25M in 5 min would have blocked the $9 bear trap loss.
TRAP Gate V2 (12% weight)Process-based trap detection with 3 analyzers: (1) Absorption - high volume but price stalls; (2) Momentum Exhaustion - slowing price velocity; (3) Orderbook Shift - sudden imbalance change. Each analyzer returns 0-1 score.
15 Balanced FactorsExpanded from 6 to 15 weighted factors. Primary: TRAP (12%), CVD Velocity (12%), Orderbook (12%), Whale (9%), CVD Level (8%). Secondary: RSI, MRD, Funding, LCP, Technicals, Time, Rebound, Pullback, Fear&Greed.
Weight RebalancingRedistributed weights to emphasize LEADING indicators (CVD velocity, TRAP) over LAGGING indicators (technicals, regime). Total still sums to 1.0.
SignalFusion CVD Velocitycvd_velocity_per_min field added to SignalFusionResult dataclass. Calculated from CVD history over configurable time window (default 5 cycles).
Validation Manager Integrationevaluate_unified_short_gate() now receives cvd_velocity_per_min from both microstructure data and SignalFusion fallback.
Bear Trap Case StudyTrade #992 (Jan 14): Entry at 97425, MTF BULLISH 4/4, CVD was -2.5M but shifted to +25M in 5 min. Result: -$4.59 loss in 10.7 min. V7.1 would have detected the +5.5M/min velocity and blocked.
Configurable Thresholdstrap_cvd_velocity_extreme_pct: 5M, trap_absorption_threshold: 0.3, trap_momentum_exhaustion_threshold: 0.5. All in risk_presets.json.
January 12v1.34.0

Unified Entry Gate V2 - Consolidated Architecture

Unified Entry Gate V2Consolidated 20+ gate files into single unified_entry_gate.py. Principle: "tutti devono lavorare per l'obbiettivo comune" - everyone works toward the common goal with weights, no hard blocks.
Critical Gates (Hard Blockers)Only 3 gates can hard-block: circuit_breaker (capital protection), edge_floor (positive EV required), spread (acceptable execution cost). Everything else is a weighted penalty.
Direction-Aware ScoringEach factor produces 0.0-1.0 score based on trade direction. RSI 80 + LONG = low score (overbought), RSI 80 + SHORT = high score. Factors: rsi, cvd, orderbook, funding, trend, regime, signal_fusion, fear_greed, whale_flow, lcp.
Weighted Conviction PenaltyFinal score = weighted average of all factors. conviction_penalty = (1 - score) * penalty_multiplier. Marginal setups trade with reduced conviction instead of being blocked.
Feature Flag Rolloutuse_unified_entry_gate_v2 flag enables new system. Default: false for safe testing. When enabled, skips old unified_short/long gates and orchestrator.
Atomic Flip PnL FixFixed atomic_flip to properly close old trade row with real PnL (including accumulated partial profits from Redis) and open new trade row for flipped position.
Design DocumentFull architecture documented in docs/architecture/unified_gate_v2_design.md. Migration path: shadow mode → gradual rollout → full adoption.
January 9v1.33.0

EV Optimization Suite - 10 Critical Bug Fixes

Atomic Flip ExecutionSingle 2x order to flip positions instead of CLOSE→WAIT→OPEN sequence. Saves fees, faster execution, no missed entries during volatility.
Signal-Adverse Exit Fix (P0)LONG positions were exiting when fusion_score < 0.15, which included +0.10 (slightly bullish!). Now correctly uses <= -0.15 threshold.
Unified SHORT Gate Guard (P0)Legacy orderbook_veto_short was running even when unified_short_gate was enabled, causing double-blocking. Now properly guarded.
ATR-Based Trailing StopDynamic trailing distance based on Average True Range: 2x ATR multiplier with configurable min 0.3% / max 2.0% bounds.
Gate Conviction Applied (P1)gate_result.total_conviction_adjustment was logged but NEVER applied to actual conviction. Now properly modifies decision conviction.
Neutral Dilution PreventionSignal Fusion was dividing by total_weight including neutral signals, diluting the score. Now only counts directional signals (|direction| >= 0.1).
Cross-Tenant Isolation (P1)FlipStrategy._flip_state was keyed by symbol only, affecting all tenants. Now uses tenant_id:symbol for proper multi-tenant isolation.
MRD Confidence ScalingDuring regime transitions, detected_confidence was used without adjustment. Now scales with pending_count/min_persistence ratio.
`or 0.5` Parsing FixSignal Fusion used `x or 0.5` which returns 0.5 when x=0.0 (valid value). Changed to `x if x is not None else 0.5`.
FlipStrategy Logging FixFlip reason always said "Signal Fusion triggered" even when orderbook fallback was used. Now correctly reports ORDERBOOK_FALLBACK.
January 9v1.32.0

Economic Calendar Intelligence - Macro Event Awareness

Macro Event CalendarDaily economic event tracking (NFP, CPI, FOMC, Jobless Claims, Fed speeches). Events fetched at 06:00 CET via Finnhub API or manual input.
Morning Analysis (Gemini 3.0 Pro)At 09:00 CET, Gemini 3.0 Pro Preview analyzes ALL events ONCE for the day. Creates bullish/bearish scenarios with key thresholds (e.g., "Jobless >220K = bullish BTC").
Pre-Event Caution Mode30 minutes before high-impact events: position size reduced 50%, conviction requirement +10, edge requirement +0.1%. 5 minutes before: trading paused entirely.
Scenario-Based ReactionPost-event, Flash compares actual results to Pro morning scenarios for immediate directional bias. No waiting for slow research - scenarios pre-computed.
Daily Risk AssessmentMorning analysis produces overall_risk (low/medium/high) for the day. High-risk days automatically reduce size 30% and boost conviction requirements.
Event Impact in PromptAlpha receives formatted calendar alerts with upcoming events, Pro scenarios, and key thresholds. Full context for informed decisions.
Dual-Model ArchitecturePro (expensive, smart) runs ONCE at 09:00 for deep analysis. Flash (fast, cheap) runs every cycle with Pro scenarios loaded. Cost-efficient macro awareness.
Today ExampleJobless Claims 14:30 CET: "If >220K = bullish BTC (weak labor = Fed cuts)", Fed Waller 16:00: "Watch for restrictive vs easing keywords".
January 9v1.31.0

Flip Strategy & Adaptive Risk Controls

Flip Strategy V2Continuous position flipping system - keeps exactly ONE position open at all times. When market reverses, closes current position and immediately opens opposite direction.
Flush DetectionPrevents flipping LONG→SHORT during extreme capitulation (imbalance < 20%). V-bounce detection avoids getting trapped shorting the bottom of flushes.
Anti-Whipsaw ProtectionMinimum 3 cycles and 180 seconds between flips. Prevents rapid flip-flop from noise while allowing legitimate reversals.
Flip Cost ValidationEnsures edge > 2x flip costs before executing. Accounts for taker fees (0.035%), slippage (0.05%), and spread.
Loss Close Prevention WidenedRISK_004 threshold changed from -0.15% to -1.0% ROE. Allows flip strategy to exit small losses while protecting against panic closes on larger drawdowns.
Post-Restart Cooldown ReducedSTRAT_007 reduced from 3 cycles (6 min) to 1 cycle (2 min). Faster market response after service restarts while still allowing data initialization.
SHORT Parameter WiringFixed wiring gaps: short_stop_loss_mult (0.8x), short_take_profit_mult (0.6x), short_max_leverage_mult (0.8x) now properly applied to SHORT trades.
Boss Size ModifierBoss guidance affects SIZE only, not direction. Aligned: 125%, Neutral: 100%, Opposing: 75%. Direction decisions delegated to unified gates.
January 8v1.30.0

Momentum Detection - Early Entry System

MomentumDetector EngineEnterprise-grade LEADING indicator for early entry timing. Detects price velocity, volume spikes, CVD acceleration, and orderbook sweeps BEFORE lagging indicators confirm.
ROC (Rate of Change)Price velocity tracking with configurable thresholds: WEAK (0.2%), MODERATE (0.4%), STRONG (0.6%), EXPLOSIVE (1.0%). 5-minute rolling window.
Volume Spike DetectionUnusual volume activity detection with ratios to average: 1.3x (weak) to 4x (explosive). Confirms momentum with participation.
CVD AccelerationTracks rate of change in Cumulative Volume Delta. Thresholds from $50K (weak) to $500K (explosive) in 3-min window.
Orderbook Sweep DetectionDetects rapid consumption of price levels (3+ levels in 30 sec). Early signal for aggressive positioning.
Signal Fusion IntegrationMomentum added as 7th signal with 15% base weight in MICRO timeframe. When STRONG/EXPLOSIVE, weight dynamically boosted +10-20%.
Dynamic Weight OverrideStrong momentum reduces lagging indicators (Boss, Whale, Polymarket) proportionally. Prioritizes LEADING signals during fast moves.
Time Decay SystemMomentum signals valid for 5 minutes with exponential decay. Fresh signals weighted higher, stale signals fade gracefully.
Entry Urgency ScoringReturns "immediate", "normal", or "wait" based on momentum strength. Size multiplier suggestions for position sizing.
Solves Late Entry ProblemPrevious issue: waiting for 3+ lagging signals = entering at 70-80% of move. Momentum detects moves EARLY for better R:R.
January 6v1.29.0

Polymarket Integration - Prediction Market Macro Overlay

Polymarket Signal FusionNew 6th signal in Signal Fusion Engine (10% weight). Integrates prediction market probabilities for BTC price targets, FOMC rates, and crypto catalysts.
Gamma API IntegrationReal-time data from Polymarket's Gamma API. Fetches crypto-tagged markets: Bitcoin milestones ($100k, $150k, $75k), Ethereum targets, macro events.
Unified Signal WeightsRebalanced weights: Boss (28%), Orderbook (25%), MRD (18%), Whale (14%), Polymarket (10%), Options (5%). Sum = 1.0 with normalization.
Risk Temperature ScoringComputes macro_risk_temperature (0-1) from bullish/bearish probabilities. Low risk + high bullish = LONG friendly, high risk + bearish = SHORT friendly.
Event Volatility AlertsFlags when 2+ high-volume catalysts approaching within 7 days. Reduces conviction during uncertain macro periods.
Direction Score ComputationConverts btc_bullish, btc_bearish, risk_temp into normalized direction (-1 to +1). Confidence capped at 0.8 (prediction markets not perfect).
Removed Standalone AdjustmentPrevious direct conviction adjustment replaced with unified Signal Fusion integration. No more disconnected polymarket penalty/boost - all signals weighted equally.
5-Minute CachePrediction market data cached for 5 minutes to reduce API load while maintaining freshness. Fetched in gather_context() alongside other signals.
January 5v1.28.0

Parlant Guidelines Engine & Signal Fusion Fix

Parlant Guidelines Engine55 YAML-based trading guidelines replacing hardcoded rules. Categories: risk (14), signals (13), regimes (13), strategy (15). Full explainability traces.
GuidelineEngine ClassCore engine with condition parsing, priority evaluation, and conviction/edge adjustments. Supports operators: <, >, <=, >=, ==, !=, IN, NOT IN, BETWEEN.
Context-Aware MatchingGuidelines evaluated against 40+ context fields: HLSI, MRD regime, LCP risk, signals, position state, time, exchange state.
Preset OverridesEach guideline can have different thresholds per risk preset (safe/balanced/growth). Zero hardcoding in Python code.
RISK_006 Bug FixFixed OR condition parsing bug that was blocking ALL trades. Disabled guideline pending split into multiple AND-based rules.
Signal Fusion Logging FixFixed structlog keyword conflict causing signal_fusion_failed errors. Weights normalization now logs correctly.
Nuclear Pause ResetAdded ability to reset cooling period after consecutive losses. Bot status properly updates to RUNNING.
Prompt Size ReductionContext-aware guideline injection reduces LLM prompt size by 40-60% while maintaining decision quality.
January 4v1.27.0

System Hardening & Observability Sprint

MRD Regime PersistenceRequires 3 consecutive cycles before confirming regime change. Prevents oscillation between ACCUMULATION/DISTRIBUTION/CHOPPING.
Signal Fusion Dynamic WeightsWeights auto-adjust based on regime: MRD +10% in DISTRIBUTION, Options +5% in high volatility, Whale +10% when flow >$100M.
Whale Feed Bug FixFixed misclassification of beacon staking as exchange inflow. Added DeFi protocol detection (Aave, Compound, Lido).
Execution Slippage TrackingEvery fill now logs slippage in basis points with maker/taker distinction. Stats persisted in Redis with 24h TTL.
Orderbook Quality PenaltiesModerate skew (50-200x): -5 conviction. Severe skew (200-500x): -10 conviction. Uses fresh skewed data instead of stale snapshots.
Maker Timeout IncreaseExtended from 6s to 10s to reduce IOC fallback frequency and improve maker fill rates.
Regime Change Telegram AlertsAutomatic notification when MRD regime transitions (5-minute cooldown to prevent spam).
Whale Health MonitoringTracks consecutive fetch failures and parsing errors. Alerts when feed becomes unreliable.
January 3v1.26.0

Unified Direction Gates V2 - Zero Hardcoding

Unified Gate Architecture V29-factor weighted scoring system replacing ALL scattered direction rules. RSI, CVD, orderbook, fear_greed, funding, whale, LCP, MRD, technicals - all in one gate.
Whale Flow IntegrationNet whale flow (inflow/outflow) now scored: -$100M outflow = bullish for SHORT, +$100M inflow = bullish for LONG. Real institutional money flow.
LCP (Liquidation Cascade) Scoringavoid_long/avoid_short signals converted to scores. CASCADE_RISK levels (LOW/MEDIUM/HIGH/CRITICAL) affect conviction penalty.
MRD (Micro Regime) ScoringACCUMULATION = great for LONG (1.0), DISTRIBUTION = great for SHORT (1.0), CHOPPING = neutral (0.5) with trading_bias consideration.
Technicals IntegrationM15/H1/H4 EMA trends scored together. All BULLISH = 1.0, All BEARISH = 0.2. Intentionally low weight (5%) - technicals are lagging indicators.
Configurable Weightsunified_long_gate_weights and unified_short_gate_weights in dashboard. Default: orderbook 20%, cvd 15%, whale 15%, lcp 10%, mrd 10%, rsi 10%, funding 10%, fear_greed 5%, technicals 5%.
Prompt CleanupRemoved hardcoded SHORT TRADING RULES, HLSI SHORT rules, and LCP avoid rules from AI prompts. Direction filtering now 100% programmatic.
Score-Based Penaltiespenalty = (1 - score) × multiplier. Score 0.40+ passes, below 0.40 blocks. No more binary vetoes - gradual conviction adjustment.
January 2v1.25.0

Signal Fusion Engine & Alpha Clarity

Signal Fusion EngineAcademic-grade weighted consensus system combining 5 signal sources: Boss (30%), Orderbook (25%), MRD (20%), Whale (15%), Options (10%).
Trading Signal SummaryHuman-readable signal digest injected into Alpha prompts. No more raw JSON confusion—clear directional guidance with conflict warnings.
Conflict DetectionAutomatic detection when signals disagree (e.g., Whale BULLISH vs MRD Distribution). Alpha now sees "HIGH CONFLICT" warnings before deciding.
Conviction Adjustments+20 points when all 5 signals align, +15 for 4/5, -10 penalty for 2+ conflicting signals. Size multiplier: 1.1x consensus, 0.7x conflict.
Alpha Receives All SignalsCritical fix: Alpha now sees whale_alerts, alpha_intelligence, signal_fusion, boss_guidance—previously these were only passed to Boss agent.
Smart WAIT DecisionsAlpha correctly identifies signal conflicts and waits for clarity instead of forcing trades. "Technicals bullish but MRD Distribution + Bearish Orderbook = WAIT."
Direction ScoreNormalized -1.0 to +1.0 directional score. >0.20 = LONG, <-0.20 = SHORT, between = NEUTRAL. Eliminates ambiguity.
MRD None HandlerFixed confidence *= None crash in MRD parsing. Now uses `or 0.5` fallback for None values.

Missing a feature? Let us know