-
Notifications
You must be signed in to change notification settings - Fork 0
Development
kgorlov edited this page May 13, 2026
·
1 revision
AlphaFlip is a Python 3.12 project with typed modules, CLI entry points, and unit tests.
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -e ..\.venv\Scripts\python.exe -m unittest discover -s tests
.\.venv\Scripts\python.exe -m compileall llbot apps tests- Read
AGENTS.mdbefore non-trivial work. - Keep
reports/current_execplan.mdcurrent for milestone work. - Update
reports/latest_test_report.mdafter validation. - Update
memory/memory.jsonandmemory/notes.mdwhen progress or assumptions change. - Keep exchange adapters, signal logic, execution logic, risk logic, storage, and monitoring separated.
- Prefer deterministic tests and offline smoke paths.
- Do not import production code from
references/unless that dependency is explicitly approved.
- Use direct official WebSocket market data for latency-sensitive paths.
- Use REST snapshots only for metadata, universe discovery, ranking, and recovery.
- Keep market profiles explicit on data and symbols.
- Treat MetaScalp
connectionIdas the execution routing key. - Treat MEXC
uidonly as metadata. - Keep live order placement disabled unless a future live design explicitly enables it.
- Update
reports/current_execplan.md. - Implement the smallest useful change in the relevant module.
- Add or update tests.
- Run targeted tests.
- Run the full test suite and compile check.
- Update
reports/latest_test_report.md. - Update project memory files.
- Commit with a focused message.
The GitHub Actions workflow in .github/workflows/ci.yml installs the package, runs unit tests, and runs compileall.