trading/services
Viktor Barzin 52b3c76482 feat(kevin): correct exits, realized P&L, wire exit scanner
- executor: EXIT/SELL signals close the FULL held broker position (not a target_dollars-sized fresh order) and skip when flat

- executor: book realized P&L on the closing trade ((fill - avg_entry)*qty) so the dashboard P&L + win-rate populate; entries leave pnl=None

- exit scanner: wired into the bridge run loop on kevin_bridge_exit_scan_cron (daily ET gate; croniter intentionally not a dependency) plus an offsetting-SELL guard so it only emits exits for currently-held tickers

[ci skip]

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 22:13:30 +00:00
..
api_gateway feat(backtest): wire real Alpaca historical fetcher 2026-05-26 21:09:40 +00:00
kevin_signal_bridge feat(kevin): correct exits, realized P&L, wire exit scanner 2026-06-04 22:13:30 +00:00
learning_engine fix: resolve all remaining TODOs, add dev mode auth bypass 2026-02-25 22:02:25 +00:00
market_data feat: productionize local service — fix signal pipeline, lower thresholds, add company-name ticker extraction 2026-02-22 22:17:26 +00:00
meet_kevin_watcher feat(meet-kevin): prompt v2 — forward-looking action + expected_move field 2026-05-28 21:40:07 +00:00
news_fetcher fix: resolve 13 important issues from code review 2026-02-22 17:58:01 +00:00
sentiment_analyzer fix: flush article before creating sentiment FK references 2026-02-23 20:57:11 +00:00
signal_generator feat: wire 6 new strategies and fundamentals into signal generator 2026-02-23 21:55:59 +00:00
trade_executor feat(kevin): correct exits, realized P&L, wire exit scanner 2026-06-04 22:13:30 +00:00
__init__.py feat: sentiment analyzer — FinBERT + Ollama tiered analysis 2026-02-22 15:27:06 +00:00