Thank you for your interest in contributing to AlphaPulse! This document provides guidelines for contributors.
- Python 3.11 or higher
- Binance Testnet API keys (for testing)
- Git
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/alphapulse.git cd alphapulse - Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
cp .env.example .env # Edit .env with your API keys
- Follow PEP 8 style guidelines
- Use meaningful variable and function names
- Add docstrings to all functions and classes
- Keep functions focused and small
- Run tests before submitting:
pytest tests/ -v --cov=.
- Add tests for new features
- Ensure test coverage remains above 80%
- Update README.md for user-facing changes
- Add inline comments for complex logic
- Update docstrings for new functions
- Create a new branch for your feature:
git checkout -b feature/your-feature-name
- Make your changes and test thoroughly
- Commit your changes with descriptive messages
- Push to your fork:
git push origin feature/your-feature-name
- Create a Pull Request
- Clear description of changes
- Tests pass
- Code follows project style
- Documentation is updated
- No breaking changes without discussion
When reporting bugs, please include:
- Python version
- Operating system
- Steps to reproduce
- Expected vs actual behavior
- Error messages (if any)
Feature requests are welcome! Please:
- Open an issue with the "enhancement" label
- Describe the use case
- Explain why it would be valuable
- Consider implementation suggestions
Be respectful and inclusive:
- Use welcoming language
- Be constructive in feedback
- Respect different viewpoints
- Focus on what is best for the community
bug: Bug reportsenhancement: Feature requestsdocumentation: Doc improvementsgood first issue: Good for newcomershelp wanted: Need assistance
Feel free to:
- Open an issue for questions
- Start a discussion in the repository
- Check existing issues and discussions
Thank you for contributing! π