Skip to content

Installation ⚙️

Requirements

  • Python 3.10+
  • Dependencies: pandas, numpy, matplotlib, pytest, streamlit, tabulate, plotly, yfinance, tushare (optional)

Install from source

git clone https://github.com/LinShuyue2003/qbt-lite.git
cd qbt-lite

python -m venv .venv
source .venv/bin/activate   # Linux / Mac
.\.venv\Scripts\Activate.ps1   # Windows

pip install -U pip
pip install -e .
pip install 'qbt-lite'

Optional features:

pip install 'qbt-lite'  # streamlit, plotly, yfinance, pytest, pyyaml

Quick verification

python -m examples.run_sma_example