Tests & Acceptance
Run tests
cd server
PYTHONPATH=. python3 -m pytest -qAcceptance checklist
- Replaying never reveals candles past cursor
- Trade submit writes occurrence scored by labeler with context
-
resultfrom labeler;observed_resultoptional and separate - Invalid
setup_idrejected -
/comparereturns Wilson interval +level_usedorno_signal - UTC timestamps throughout
- Labeler unit tests including intrabar ambiguity
Smoke ingest
A small HistData fixture supports a quick ingest smoke test:
mkdir -p /tmp/histdata-sample
cp server/tests/fixtures/sample_histdata.csv /tmp/histdata-sample/
python3 scripts/ingest_histdata.py \
--input-dir /tmp/histdata-sample \
--symbol EURUSD \
--timeframe H1Related
Last updated on