Thanks for helping improve ForexSmartBot!
Please read and follow our CODE_OF_CONDUCT.md.
# Clone
git clone https://github.com/VoxHash/ForexSmartBot.git
cd ForexSmartBot
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest- Branches:
feature/…,fix/…,docs/…,chore/… - Conventional Commits:
feat:,fix:,docs:,refactor:,test:,chore:
Examples:
feat: add new LSTM strategyfix: resolve position sizing calculation errordocs: update installation guide
- Link related issues
- Add tests for new features
- Update documentation
- Follow the PR template
- Keep diffs focused and reviewable
# Run all tests
pytest
# Run with coverage
pytest --cov=forexsmartbot --cov-report=html
# Run specific test file
pytest tests/test_strategies.py- Follow PEP 8
- Use
blackfor formatting:black forexsmartbot/ - Use
rufffor linting:ruff check forexsmartbot/ - Type hints encouraged for new code
- Semantic Versioning (MAJOR.MINOR.PATCH)
- Update CHANGELOG.md
- Tag releases:
git tag v3.1.0
- Open an issue for questions
- Check docs/ for detailed guides
- See SUPPORT.md for support options