Background
The core trading logic in backend/app/strategy/ (grid levels, indicators, state machine, liquidation) currently has no automated test coverage. Solid tests here give contributors confidence to change the strategy safely.
Tasks
Acceptance criteria
pytest -v passes locally and in CI
- New code paths are covered with clear, isolated unit tests
New to the project? See CONTRIBUTING.md. Happy to help scope this further.
Background
The core trading logic in
backend/app/strategy/(grid levels, indicators, state machine, liquidation) currently has no automated test coverage. Solid tests here give contributors confidence to change the strategy safely.Tasks
pytesttests forbackend/app/strategy/grid.py(grid level + TP price math)backend/app/strategy/indicators.py(signal evaluation)backend/app/strategy/state_machine.pyAcceptance criteria
pytest -vpasses locally and in CINew to the project? See CONTRIBUTING.md. Happy to help scope this further.