Home

Guides

Guides for a personal quant research stack. Pick a path below or browse the Chinese guides.

Learning paths

  1. Quantitative trading for beginners: what to learn, which tools, and in what order

    Who it's forBeginners who want the English edition of the Chinese six-step path, with a China A-share data example.

  2. Quantitative trading for beginners: what to learn, in what order

    Who it's forBeginners who want a standalone English study plan from Python basics through backtesting and paper trading.

Deploy your first AI research agent

Who it's forBeginners who want to run a research agent on a cloud server and automate a morning brief.
  1. Cloud server setup: open a machine and connect over SSH in about 20 minutes

    Open a first cloud server in about 20 minutes: why a home computer fails, a 2 vCPU and 2 GB lightweight instance on Ubuntu 22.04 or 24.04, three checkout defaults, one SSH login, then a normal user. Prices follow the official page.

  2. TradingAgents-CN v3.0: source installation and security settings

    Pinned community-source setup with Python 3.11, Node.js, authenticated MongoDB/Redis, .env and security settings. This snapshot has no application Compose file. Private development instructions were checked against upstream, not run as a deployment.

  3. TradingAgents-CN v3.0: configure market data and an LLM API

    Configure providers, models, and market data in current community settings; protect .env and database secrets, distinguish reload cases, and verify historical data separately from the agent workflow. Upstream runtime and paid APIs were not tested.

  4. Schedule a pre-market brief: weekday 08:00 cron and a push to your phone

    Part 4 of the research-agent series. Write a short brief, run it weekdays at 08:00 with cron, and pick one free push channel. Accept it after three mornings arrive, two figures match a market app, and a bad API key fails in the log.

Data → strategy → backtest → live

Who it's forReaders with some Python who want to build a data pipeline, test a strategy and prepare for live trading.
  1. Cloud quant desk: a small server for crawlers, cron, and an LLM digest

    One lightweight cloud server for a crawler, a scheduled backtest, and an LLM digest. Start at 2 vCPU and 2 GB on Ubuntu 22.04, install Miniconda and Python 3.11 in about 20 minutes, then call Qwen through DashScope. Prices follow the official page.

  2. AKShare: China A-share market data into SQLite, updated every day

    Download China A-share daily bars and a full-market snapshot with AKShare, rename the Chinese columns, and append only the missing dates to SQLite. Schedule the job at 18:30 on weekdays. Covers rate limits, forward adjustment, and delisted names.

  3. AKShare volume discrepancy: a troubleshooting record

    Historical AKShare 1.20.24 replay with downloadable evidence; updated with merged PR #7488, the maintainer's final rule and source verification of the 1.20.26 wheel.

  4. EODHD APIs: US and global daily bars on the same SQLite pipeline

    Pull US and global end-of-day bars from EODHD into the SQLite table from the AKShare walkthrough. Register for a token, request AAPL.US, keep close and adjusted_close apart, and add source and exchange columns. Schedule the job for the Beijing morning.

  5. Build a daily stock data pipeline in Python: yfinance or EODHD APIs into SQLite

    About 80 lines of Python that download daily prices into SQLite, update incrementally, never duplicate rows, and let you switch data source by changing one function. Every command was run.

  6. How to choose a market data source: yfinance, AKShare, OpenBB, and EODHD APIs

    Two free libraries, an open-source connector, and a commercial API. What yfinance, AKShare, OpenBB, and EODHD APIs each are, where they break, and which to pick for US stocks, China A-shares, several providers, or a pipeline that has to run every day.

  7. How to choose between Tushare and AKShare: fees, the free tier, and when AKShare breaks

    Tushare Pro and AKShare are the two Python libraries most often used for China A-share data. What the points buy, what the free 120-point tier can call, the published yearly prices, why AKShare is free and why an interface can fail, common errors, and why neither licence allows commercial use.

  8. How to choose AI quant tools: data, backtest, execution, then an agent

    A practical order for picking open-source quant tools: one market data library, one backtester, paper trading before real orders, and an LLM agent only after that loop works. Links the English comparisons already on this site.

  9. Open-source quant tools by job: data, backtest, indicators, performance, portfolio, agents

    The same six-group list as the Chinese tool guide: a few open-source projects for each job. One-line descriptions were checked against READMEs on 13 Oct 2026. Stars and maintenance status refresh daily.

  10. How to choose a quant trading platform: QMT, PTrade, JoinQuant, RiceQuant, MyQuant, BigQuant

    China quant platforms compared by where the code runs and how it reaches your account: broker terminals QMT and PTrade, hosted sites JoinQuant, RiceQuant, and BigQuant, and the MyQuant desktop terminal. Opening thresholds and fees are per the broker's own disclosures.

  11. How to choose between QMT and PTrade: MiniQMT, fees, and a model API

    QMT/MiniQMT and broker-specific PTrade hosting: pip installation versus trading permission, client compatibility, actively stopping server-side strategies, model-interface restrictions and the reporting rules in force from 7 July 2025. Thresholds and fees follow the broker.

  12. Open-source AI quant projects: trading systems and tools by job

    Open-source AI quant projects on GitHub, grouped by job: multi-agent research such as TradingAgents, machine-learning platforms such as Qlib and FinRL, AI terminals, and course repos. Licences, stars, maintenance, and the fastest risers over seven days come from the catalog.

  13. How to choose AI stock-picking tools: four kinds, credibility, and what is legal

    Four kinds of AI stock-picking tools: an assistant inside a market app, a general language model, AI factors on a quant platform, and an open-source research project you deploy yourself. What each can and cannot do, how CSRC rules judge a product that promises a return, common scams, and where to check a licence. This page does not recommend any stock.

  14. How to choose a backtesting framework: nine backtesting frameworks compared

    Nine backtesting frameworks compared on style, live-trading interfaces, commercial licence restrictions, and main-repository update records. A short rule for learning, China futures, US stocks, parameter sweeps, and machine-learning stock selection.

  15. How to choose a trading bot: Freqtrade, OctoBot, Jesse, and other open-source bots

    Open-source trading bots fall into three categories: you write the strategy, you configure a ready-made bot, or you talk to an AI that sends the order. Compares markets, licences, and maintenance for Freqtrade, OctoBot, Jesse, CloddsBot, and OKX's official toolkit, and what to do before real money.

  16. OKX Agent Trade Kit: connecting AI agents to OKX with MCP, the CLI and Agent Skills

    What OKX's open-source Agent Trade Kit and Agent Skills do, which of the three ways to connect fits you, and how to keep an AI agent away from real money until you trust it: demo keys, read-only mode, API permissions and Cursor's tool limit.

  17. backtrader: an offline moving-average and metrics walkthrough

    Run a deterministic synthetic moving-average backtest, then load a local CSV. Explicit next-open fills, 0.0003 commission, 0.1% slippage and annualized Sharpe; no performance claim.

  18. Qlib: install, China A-share data, and a first Alpha158 + LightGBM run

    Install Microsoft's open-source Qlib on Python 3.12, load community China A-share data after the official dataset was paused, and run one qrun of Alpha158 plus LightGBM. Read IC, excess return, and maximum drawdown. The numbers are from a Windows run on 21 Oct 2026.

  19. Paper trading: an offline SQLite ledger you can verify

    Run a deterministic Python/SQLite ledger with fixed signals, next-bar-open fills, costs, equity and repeat-run checks. No broker connection or live-trading approval.

Build a local AI stock review system

Who it's forChina A-share investors who want to sync a watchlist, write after-close reviews and run alerts on their own computer.
  1. Local Python and SQLite for an after-close China A-share review

    Part 1 of the local review series. Stay on the PC you already use, install Python 3.12 or 3.13 with PATH set, and create the first daily-bar table in one SQLite file. A machine that must stay on starts with the cloud server note.

  2. Local China A-share sync: daily bars for a watchlist, including after a missed boot

    Part 2 of the local review series. Append missing forward-adjusted daily bars for a short watchlist into SQLite, then register a Windows task at 18:00 on weekdays that still runs if the PC was off. Covers the log wrapper, three task settings, and the check after the first close.

  3. After the close: an AI review note for holdings and a watchlist

    Part 3 of the local review series. After the close, read holdings and a watchlist from local SQLite, send only those facts to an OpenAI-compatible model, and write a four-part note. Archive it, push it, and schedule the job at 18:30, half an hour after the 18:00 ingest.

  4. Watchlist alerts: a big move or a volume spike, pushed once

    Part 4 of the local review series. Poll a snapshot once a minute during the session, push on a large move or a volume spike, and send each name and rule only once that day. Leave the PC on from 09:25 to 15:10, or move the same script to a cloud server.

Charting and tool basics

Who it's forReaders who want to set up charts, watchlists and alerts without writing code.
  1. TradingView for beginners: your first chart and watchlist in 3–5 minutes

    Understand TradingView in plain language, check Basic limits, and complete a first task using one daily chart and one watchlist. Includes an official video and full text instructions.

Comparisons