API Reference¶
RustyBT provides comprehensive API documentation in two formats:
🚀 Interactive API Documentation (Recommended)¶
Browse the full pdoc API documentation →
The pdoc documentation provides:
- ✨ Interactive browsing with search functionality
- 📖 Complete API coverage with all modules, classes, and functions
- 🔍 Source code viewing inline with documentation
- 🎯 Direct links to specific classes and methods
- 📊 Type annotations and return types
- 🏷️ 81.8% docstring coverage across the codebase
📚 Structured API Guides¶
For topic-specific guides and workflows, explore our organized API documentation below:
Core Components¶
- Data Management - Data ingestion, storage, and retrieval
- Order Management - Order types, execution, and lifecycle
- Portfolio Management - Portfolio tracking and analysis
- Optimization - Strategy optimization and parameter tuning
- Analytics - Performance metrics and reporting
- Live Trading - Production deployment and monitoring
Quick Links¶
| Component | Description | Link |
|---|---|---|
| Algorithm | Main trading algorithm class | pdoc |
| Data Portal | Data access interface | pdoc |
| Order | Order creation and management | pdoc |
| Position | Portfolio position tracking | pdoc |
| Pipeline | Factor computation framework | pdoc |
💡 Usage Tips¶
Finding What You Need¶
- Browse by Module: Start from the main API page and navigate through modules
- Search: Use the search box in the pdoc docs to find specific functions or classes
- Guided Approach: Follow our structured guides above for workflow-based learning
Documentation Features¶
The pdoc documentation includes:
- Google-style docstrings with clear parameter descriptions
- Type hints showing expected input/output types
- Usage examples embedded in docstrings
- Cross-references linking related components
- Inheritance trees showing class relationships
Getting Help¶
- 📖 Check the User Guides for usage patterns
- 💻 Explore Examples & Tutorials for code samples
- 🐛 Report issues on GitHub
- 💬 Ask questions in Discussions
Bookmark the Interactive Docs
The interactive API documentation is updated with every commit and is the most comprehensive reference for RustyBT's API.