# backtester **Repository Path**: Tee8088/backtester ## Basic Information - **Project Name**: backtester - **Description**: 基于tdx的回测框架 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-10-28 - **Last Updated**: 2025-10-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 量化回测工具 # 环境安装 1. Anaconda(配置清华镜像):https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ 2. Git(`\Git\usr\bin\` 加入PATH):https://git-scm.com/download/win 3. VSCode(插件Python, Rainbow CSV, Tokyo Night Theme, Sublime Text):https://code.visualstudio.com/Download # 使用 1. 安装mootdx: ```shell pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip install mootdx pip install --upgrade mootdx mootdx bestip #写入最优服务器IP pip install chinesecalendar # 用于工作日判断 ``` 2. 下载代码运行: ``` shell git clone https://gitee.com/illidanliu/backtester.git cd backtester python backtest.py # cli程序 python gui_backtest.py # gui程序 ```