API Reference¶
This section is generated automatically from docstrings in src/bbstrader via
mkdocstrings. It mirrors the package layout:
| Package | Purpose |
|---|---|
bbstrader.api |
Handler injections for the C++/Python bridge (Mt5Handlers, etc.). |
bbstrader.btengine |
Event-driven backtesting engine, research, and realism toolkit. |
bbstrader.core |
Shared utilities: broker abstraction, data structures, indicators. |
bbstrader.metatrader |
MetaTrader 5 account, trading, risk, and copy-trading APIs. |
bbstrader.models |
Quant/NLP models: sentiment analysis, portfolio optimization. |
bbstrader.trading |
Live execution and strategy orchestration. |
| Config & CLI | bbstrader.config and the python -m bbstrader entry point. |
Compiled C++ bindings
bbstrader.api.client is a compiled pybind11 extension (no Python source), so it cannot be
introspected by the documentation generator here. Its API is documented from the C++ headers
instead — see the C++ API docs.