Files
fxhnt/tests/unit/test_paper_models.py
jgrusewski 06a7db2225 feat(paper): cockpit paper-book backend foundation (Phase 2F T1-6)
config paper_capital (100k); pure domain (target_positions/diff_trades/mark_to_market);
paper_positions+paper_trades ORM; PaperRepo; LivePrice port+fake+ccxt adapter;
PaperBookService (derive_and_persist + live view). TDD, full suite green.
Also: gitignore *.dbn (market-data blobs belong in PVCs/object storage, not git) + uv.lock sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 19:33:15 +02:00

7 lines
239 B
Python

from fxhnt.adapters.persistence.cockpit_models import PaperPositionRow, PaperTradeRow
def test_paper_tables_exist():
assert PaperPositionRow.__tablename__ == "paper_positions"
assert PaperTradeRow.__tablename__ == "paper_trades"