{"id":45969,"library":"qubx","title":"Qubx","description":"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.","status":"active","version":"1.5.1","language":"python","source_language":"en","source_url":"https://github.com/quantmake/qubx","tags":["quantitative trading","backtesting","trading framework","algorithmic trading"],"install":[{"cmd":"pip install qubx","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Numerical computations","package":"numpy","optional":false},{"reason":"Data manipulation and analysis","package":"pandas","optional":false}],"imports":[{"wrong":"from qubx.core.connector import QubxConnector","symbol":"QubxConnector","correct":"from qubx import QubxConnector"}],"quickstart":{"code":"import os\nfrom qubx.core.connector import QubxConnector\nfrom qubx.backtest import BacktestEngine\n\n# Initialize connector (example uses mock data)\nconnector = QubxConnector(mode='backtest')\n\n# Create backtest engine\nengine = BacktestEngine(connector)\n\n# Run backtest\nresults = engine.run(\n    symbols=['BTC/USDT'],\n    start='2023-01-01',\n    end='2023-01-31',\n    capital=10000\n)\nprint(results)","lang":"python","description":"Initialize a backtest engine and run a simple backtest."},"warnings":[{"fix":"Use Python 3.12 or higher.","message":"Qubx requires Python >=3.12. Using older versions will cause installation failure.","severity":"breaking","affected_versions":"all"},{"fix":"Use from qubx.core.connector import ... instead of from qubx import ...","message":"Import paths changed in v1.5. Direct imports from 'qubx' may not work; use full submodule paths.","severity":"gotcha","affected_versions":">=1.5.0"},{"fix":"Replace QubxTrader with QubxConnector(mode='live')","message":"The 'QubxTrader' class is deprecated and will be removed in v2.0. Use 'QubxConnector' with 'mode' parameter.","severity":"deprecated","affected_versions":">=1.4.0"}],"env_vars":null,"search_vec":"'1.5.1':23 '3.12':10 'activ':29 'algorithm':36 'backtest':14,33 'data':17 'develop':21,30 'framework':7,35 'latest':26 'live':15 'manag':18 'provid':11 'python':9 'quantit':5,31 'qubx':1,2 'releas':27 'strategi':20 'tool':12 'trade':6,16,32,34,37 'version':22","created_at":"2026-06-07T12:57:37.405973+00:00","updated_at":"2026-06-07T12:57:37.405973+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'QubxConnector' from 'qubx' (/tmp/tmprx3vtvwz/venv/lib/python3.12/site-packages/qubx/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["analytics","finance"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}