Files
foxhunt/services
jgrusewski f75e8178c7 fix: replace hardcoded mocks with real data in trading service and web gateway
- WebSocket stream bridges: replace permanent pending() stalls with
  actual gRPC streaming subscriptions and exponential backoff reconnection
- Risk metrics: replace fake sharpe_ratio=1.5, sortino_ratio=2.0 with 0.0
  (not-yet-computed) and wire circuit breaker status to real kill switch
- ML orders: use actual ensemble prediction direction and confidence
  instead of hardcoded BUY at 0.65 confidence
- Fallback signal: return Err instead of fabricated Hold at 0.60 confidence
  to prevent accidental trades when ML pipeline is disconnected

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 01:05:28 +01:00
..