Thanks for considering a contribution. Here's how to get started.
git clone https://github.com/NeuZhou/stratevo.git
cd stratevo
pip install -e ".[dev]"
pytest -x -q # ~3 minutes for core testsRequirements: Python 3.10+
The easiest way to contribute. Each factor is one file with one function.
stratevo scaffold factor --name my_signal --category momentum
# Creates factors/my_signal.py with a templateEdit the generated file, implement compute(), then:
pytest tests/test_alpha_factors.py -k my_signal
git add factors/my_signal.py
git commit -m "feat: add my_signal factor"Submit a PR. That's it.
| Type | Difficulty | Example |
|---|---|---|
| Factors | Easy | New technical indicator |
| Bug fixes | Easy | Edge case in backtester |
| Data sources | Medium | New exchange adapter |
| Fitness functions | Medium | Custom scoring metric |
| Strategy DNA configs | Advanced | New evolution preset |
pytest # Full suite (~10 min)
pytest -x -q # Stop on first failure
pytest tests/test_core* # Core tests only (~1 min)- We use
rufffor linting - Type hints encouraged but not required
- Docstrings for public functions
Open an issue or ask in Discord.