trading/shared/schemas
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: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
auth.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
kevin.py feat(kevin): KevinDecision + KevinAccountState schemas 2026-05-24 00:44:57 +00:00
learning.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
meet_kevin.py feat(meet-kevin): prompt v2 — forward-looking action + expected_move field 2026-05-28 21:40:07 +00:00
news.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
trading.py feat(kevin-exec): size from target_dollars, propagate price, bracket entries 2026-06-04 21:56:59 +00:00