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>
7 lines
239 B
Python
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"
|