Skip to content

Contributing to QuantSim

Thank you for your interest in contributing to QuantSim! ๐ŸŽ‰

This page provides a quick overview of how to contribute. For the complete contributing guide, please see our main CONTRIBUTING.md file.

Quick Start for Contributors

1. Setup Development Environment

# Fork and clone the repository
git clone https://github.com/yourusername/quantsim.git
cd quantsim

# Create virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# Install in development mode
pip install -e .[dev,ml,pairs]

2. Make Your Changes

# Create feature branch
git checkout -b feature/your-feature-name

# Make changes and add tests
# ... your development work ...

# Run tests
pytest tests/ -v

# Format code
black quantsim/ tests/

3. Submit Pull Request

# Commit changes
git add .
git commit -m "feat: add your feature description"

# Push to your fork
git push origin feature/your-feature-name

# Create PR on GitHub

What Can You Contribute?

  • ๐Ÿ› Bug fixes - Help us squash bugs
  • โœจ New features - Add new strategies, indicators, or functionality
  • ๐Ÿ“š Documentation - Improve guides, examples, and API docs
  • ๐Ÿงช Tests - Increase test coverage
  • ๐ŸŽจ Examples - Add new strategy examples or notebooks
  • ๐Ÿ”ง Performance - Optimize existing code

Development Guidelines

  • Write tests for new functionality
  • Follow PEP 8 style guidelines
  • Add docstrings to public methods
  • Update documentation when needed
  • Ensure all tests pass before submitting

Getting Help

Recognition

All contributors are recognized in our contributors list and in project documentation.


Ready to contribute? Check out our good first issue labels to get started!

For the complete contributing guide with detailed instructions, coding standards, and workflow details, see: CONTRIBUTING.md