{"status": "ok", "timestamp": "2026-11-21T23:28:10.617388", "ready": true, "checks": {"broker_manager": {"total_brokers": 3, "connected_brokers": 3, "primary_broker": "alpaca_broker", "available_broker_types": ["paper", "alpaca", "coinbase", "coinbase_broker", "oanda", "oanda_broker"], "brokers": [{"name": "paper_broker", "type": "paper", "is_connected": true, "is_paper_trading": true, "is_primary": false}, {"name": "alpaca_broker", "type": "alpaca", "is_connected": true, "is_paper_trading": true, "is_primary": true}, {"name": "forex_paper", "type": "paper", "is_connected": true, "is_paper_trading": true, "is_primary": false}], "timestamp": "2026-11-21T23:28:07.944935"}, "data_manager": {"is_running": true, "redis_connected": true, "data_queue_size": 0, "subscribers_count": 0, "connectors": {"real_data": {"alpha_vantage_key": true, "fmp_key": false, "finnhub_key": true, "last_update": {}, "cache_size": 12, "timestamp": "2026-11-21T23:28:07.945246", "status": "ok"}, "finnhub_market": {"name": "finnhub", "is_connected": true, "config": {"enabled": true}}, "finnhub_news": {"name": "finnhub_news", "is_connected": true, "config": {"enabled": true}}, "nse": {"connector": "nse_kenya", "database": true, "cached_symbols": 18, "kes_usd_rate": 0.007696452369510511, "market_open": false, "market_phase": "closed", "timestamp": "2026-11-22T02:28:07.945283+03:00", "status": "ok"}}}, "strategy_manager": {"ensemble_method": "adaptive_confidence", "strategy_count": 7, "strategy_weights": {"momentum": 0.14705882352941177, "mean_reversion": 0.14705882352941177, "rsi_strategy": 0.11764705882352942, "crypto_trend": 0.14705882352941177, "forex_trend": 0.14705882352941177, "nse_rotation": 0.14705882352941177, "us_earnings_drift": 0.14705882352941177}, "last_rebalance": null, "strategies": {"momentum": {"name": "momentum", "type": "TechnicalStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"type": "technical", "enabled": true, "lookback_period": 50, "threshold": 0.02, "market_overrides": {"_comment": "Forex only: a major pair moves about 0.5% a day against a stock's 1.5%, so the 2% bar above almost never crossed there (about one buy day a year per pair). 0.6% gives forex about the pace stocks have.", "forex": {"threshold": 0.006}}, "weight": 1.0, "max_position_size": 0.05, "multi_timeframe_confirm": true}, "performance": {"returns": [-0.069546, -0.086904, 0.082424, -0.026987, -0.040537, -0.025565, 0.01938, -0.071064, -0.029539, -0.03747, -0.031382], "sharpe_ratio": -2.1508, "win_rate": 0.1818, "max_drawdown": 0.2476, "last_update": "2026-11-21T23:26:48.245597", "total_return": -1052.08, "closed_trades": 11, "source": "order_journal"}}, "mean_reversion": {"name": "mean_reversion", "type": "TechnicalStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"type": "technical", "enabled": true, "lookback_period": 20, "market_overrides": {"_comment": "Forex only, for the same reason as momentum's: a 2% band around the 20-day average is rarely reached by a currency pair.", "forex": {"band": 0.006}}, "weight": 1.0, "max_position_size": 0.05, "volume_knife_filter": true}, "performance": {"returns": [0.051978, -0.039651, -0.029059, -0.010304, -0.015801, -0.028898], "sharpe_ratio": -0.9716, "win_rate": 0.1667, "max_drawdown": 0.1237, "last_update": "2026-11-21T23:26:48.245726", "total_return": -88.96, "closed_trades": 6, "source": "order_journal"}}, "rsi_strategy": {"name": "rsi_strategy", "type": "TechnicalStrategy", "enabled": true, "weight": 0.8, "last_update": null, "config": {"type": "technical", "enabled": true, "rsi_period": 14, "rsi_overbought": 75, "rsi_oversold": 25, "weight": 0.8, "max_position_size": 0.05}, "performance": {"returns": [], "sharpe_ratio": 0.0, "win_rate": 0.0, "max_drawdown": 0.0, "last_update": "2026-11-21T23:26:48.245732", "total_return": 0.0, "closed_trades": 0, "source": "order_journal"}}, "crypto_trend": {"name": "crypto_trend", "type": "CryptoTrendStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"_comment": "Crypto only (src/agent/slow_strategies.py). Holds a coin while its close is more than `band` above its sma_period-day average, sells when it is more than `band` below, and otherwise has no view. Long-only, no leverage; sized by volatility like every trade. strategy_markets makes it crypto's only voter.", "type": "trend_following", "enabled": true, "markets": ["crypto"], "sma_period": 200, "band": 0.05, "weight": 1.0, "max_position_size": 0.05}, "performance": {"returns": [0.00163, -0.001023, -0.003155, -0.0008, -0.003162, -0.001231, -0.00211, -0.000392, -0.000382, -0.000355, 0.000862, -0.000187, 6.3e-05, -0.001253, -0.000171, -0.0036, -0.001818, -0.000176, -0.00043, -0.001476, -0.000918, -0.001674, -0.001176, -0.00176, -0.001668, -0.001256, -0.001881, -0.002965, -0.002028, -0.002665, -0.000994, -0.00196, 0.000519, -0.000526, 8.2e-05, -0.000983, 0.000739, 0.000716, -0.00058, -0.000244, -0.000826, -0.000851, -0.001885, -0.001241, -0.001324, -0.000461, 0.000799, -0.002104, -0.001207, -0.001049, -0.000766, -0.001477, -4e-06, -0.000142, -0.001245, 0.001725, -0.001033, -0.001461, -0.002044, -0.002122, -0.001179, 0.000112, -0.001315, -0.001781, -0.000733, -0.002477, -0.002051, -0.000236, -0.001585, -0.000267, -0.000699, 0.001134, -0.000704, -0.000666, -4.7e-05, -0.000716, -0.001071, -0.00222, -0.00083, -0.002557, -0.002469, -0.003167, -0.002403, 0.000279, -0.000593, -0.001618, -0.000946, -0.001321, -0.001268, -0.002512, -0.001645, -0.00241, -0.001252, -0.042333, -0.056313, -0.021217, -0.046741, -0.03035, -0.052072, -0.048891], "sharpe_ratio": -6.915, "win_rate": 0.1753, "max_drawdown": 1.2859, "last_update": "2026-11-21T23:26:48.245685", "total_return": -2782.12, "closed_trades": 542, "source": "order_journal"}}, "forex_trend": {"name": "forex_trend", "type": "CryptoTrendStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"_comment": "Forex only (src/agent/slow_strategies.py). The forex counterpart of crypto_trend: holds a pair while its close is more than `band` above its sma_period-day average and sells when it is more than `band` below. Long-only, no leverage. Unlike crypto it votes alongside momentum and mean reversion (their forex thresholds are set in market_overrides), so it confirms a trend rather than trading alone. It abstains until it has sma_period daily bars.", "type": "trend_following", "enabled": true, "markets": ["forex"], "sma_period": 50, "band": 0.004, "weight": 1.0, "max_position_size": 0.05}, "performance": {"returns": [], "sharpe_ratio": 0.0, "win_rate": 0.0, "max_drawdown": 0.0, "last_update": "2026-11-21T23:26:48.245738", "total_return": 0.0, "closed_trades": 0, "source": "order_journal"}}, "nse_rotation": {"name": "nse_rotation", "type": "NseRotationStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"_comment": "NSE only. Ranks the NSE stocks by their return over `lookback` trading days ending `skip` days ago (about six months, skipping the latest month); the top_n with a positive return are buys, and a holding outside the top exit_rank, or with a negative return, is a sell. Abstains until at least min_universe stocks have lookback + skip + 1 days of real history.", "type": "rotation", "enabled": true, "markets": ["nse"], "lookback": 120, "skip": 20, "top_n": 3, "exit_rank": 6, "weight": 1.0, "max_position_size": 0.05}, "performance": {"returns": [], "sharpe_ratio": 0.0, "win_rate": 0.0, "max_drawdown": 0.0, "last_update": null}}, "us_earnings_drift": {"name": "us_earnings_drift", "type": "EarningsDriftStrategy", "enabled": true, "weight": 1.0, "last_update": null, "config": {"_comment": "US shares only. After an earnings beat of at least min_surprise (actual versus the analysts' estimate), a buy for hold_days calendar days, fading over the window; after a miss of that size, a sell. Needs TRADING_FINNHUB_API_KEY; without it, and outside a report's window, it abstains.", "type": "earnings_drift", "enabled": true, "markets": ["us_equity"], "min_surprise": 0.05, "hold_days": 40, "weight": 1.0, "max_position_size": 0.05}, "performance": {"returns": [-0.031382], "sharpe_ratio": 0.0, "win_rate": 0.0, "max_drawdown": 0.0, "last_update": "2026-11-21T23:26:48.245744", "total_return": -21.9, "closed_trades": 1, "source": "order_journal"}}}}, "event_risk_manager": {"is_running": true, "market_regime": "normal", "pending_events": 0, "total_events_24h": 0, "pending_actions": 0, "monitored_symbols": 0, "high_volatility_symbols": 0, "risk_thresholds": {"volatility_threshold": 0.05, "correlation_threshold": 0.8, "news_sentiment_threshold": -0.3, "portfolio_var_threshold": 0.02}}}, "checks_updated": "2026-11-21T23:28:07.945787", "stale": false}