Skip to content

docs: plan domain-core - #4

Merged
ArthurBernard merged 1 commit into
developfrom
docs/plan-domain-core
Jun 20, 2026
Merged

docs: plan domain-core#4
ArthurBernard merged 1 commit into
developfrom
docs/plan-domain-core

Conversation

@ArthurBernard

Copy link
Copy Markdown
Owner

Plan tree for E1 — Domain core (first epic of the rewrite). Lands the durable
plan on develop before any code, so each leaf branch inherits it.

Goal

Build trading_bot/domain/ — the pure, zero-I/O, mypy-strict vocabulary every
other layer speaks: exact-Decimal money, venue-neutral instruments, the Order
aggregate + lifecycle state machine, broker-confirmed Fills, Position from
fills, the strategy Signal, pure PnL/KPI, and the error hierarchy. The legacy
tree is mined for domain knowledge, not copied.

Leaves

  • 01 primitives — feat/domain-primitives — medium
  • 02 order — feat/domain-order — high (depends on 01)
  • 03 fill-position — feat/domain-fill-position — medium (depends on 02)
  • 04 signal — feat/domain-signal — low (depends on 01)
  • 05 performance — feat/domain-performance — high (depends on 03)

After merge: /execute-leaf domain-core next runs leaf 01.

@ArthurBernard
ArthurBernard merged commit 47c9b6c into develop Jun 20, 2026
3 checks passed
@ArthurBernard ArthurBernard mentioned this pull request Jul 14, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant