trading/services/trade_executor
Viktor Barzin 14407d37dc feat(kevin-exec): size from target_dollars, propagate price, bracket entries
Kevin signals never placed orders: the executor sized only from
sentiment_context["current_price"] (None for Kevin) so qty=0, and orders
were always built SIMPLE (stop/take pcts ignored).

- TradeSignal gains `current_price`; the bridge now sets it on publish
- risk_manager honors `target_dollars` directly (no strength re-scale) and
  resolves price from current_price then sentiment_context
- executor builds BRACKET orders for LONG entries carrying stop/take pcts;
  EXIT/SELL signals stay SIMPLE (the bridge sets pcts even on exits)

[ci skip]

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 21:56:59 +00:00
..
__init__.py feat: trade executor — risk management and order execution 2026-02-22 15:36:08 +00:00
config.py feat(trade-executor): defer outside_market_hours signals to next open 2026-06-01 19:01:37 +00:00
deferred_queue.py feat(trade-executor): defer outside_market_hours signals to next open 2026-06-01 19:01:37 +00:00
main.py feat(kevin-exec): size from target_dollars, propagate price, bracket entries 2026-06-04 21:56:59 +00:00
risk_manager.py feat(kevin-exec): size from target_dollars, propagate price, bracket entries 2026-06-04 21:56:59 +00:00
slack_notifier.py feat(trade-executor): defer outside_market_hours signals to next open 2026-06-01 19:01:37 +00:00