Getting started¶
This section walks through a minimal, verifiable research loop: start the services, choose data, create a strategy, run a backtest, and inspect the result.
Prerequisites¶
- Python 3.10+, Node.js 20+, and Git.
- Install the
backtraderextra to run backtests, thedataextra for online AkShare data, and theragextra for semantic retrieval. - SQLite is suitable for the default application database; PostgreSQL or MySQL is recommended for production or team environments.
Recommended path¶
- Installation: create the backend environment, install the frontend, and configure
.env. - Quick start: complete a first backtest from market data through a research workspace.
- Knowledge base: import, index, and ask cited questions.
- Market data: understand MySQL-first reads and explicit AkShare refreshes.
Preflight checks¶
The repository contains a development-environment verifier. Run it before and after dependency installation:
The running OpenAPI contract at http://localhost:8000/docs is authoritative. Both pages and APIs require authentication; administrative configuration pages also require admin access.