Registry / analytics / qubx
library1.5.1pypypiunverified

Qubx is a quantitative trading framework for Python 3.12+, providing tools for backtesting, live trading, data management, and strategy development. Version 1.5.1 is the latest release, with active development.

pip install qubx
INSTALL
IMPORT
SIG · QUBX
Q
qubx
analyticspythonv1.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QubxConnector
from qubx import QubxConnector
from qubx.core.connector import QubxConnector

Initialize a backtest engine and run a simple backtest.

import os from qubx.core.connector import QubxConnector from qubx.backtest import BacktestEngine # Initialize connector (example uses mock data) connector = QubxConnector(mode='backtest') # Create backtest engine engine = BacktestEngine(connector) # Run backtest results = engine.run( symbols=['BTC/USDT'], start='2023-01-01', end='2023-01-31', capital=10000 ) print(results)
Debug
Known issues
breakingQubx requires Python >=3.12. Using older versions will cause installation failure.
fix
Use Python 3.12 or higher.
affects: all
gotchaImport paths changed in v1.5. Direct imports from 'qubx' may not work; use full submodule paths.
fix
Use from qubx.core.connector import ... instead of from qubx import ...
affects: >=1.5.0
deprecatedThe 'QubxTrader' class is deprecated and will be removed in v2.0. Use 'QubxConnector' with 'mode' parameter.
fix
Replace QubxTrader with QubxConnector(mode='live')
affects: >=1.4.0
Upgrade
Version history
1.5.1latest on PyPI · released May 21, 2026
Audit
Dependencies
numpyrequiredNumerical computations
pandasrequiredData manipulation and analysis
Agent activity
34 hits · last 30 days
node
32
OpenAI (training)
1
Resources

No resource links recorded.

qubx — pip install qubx · libregistry