🇨🇳 简体中文
🇺🇸 English
🇯🇵 日本語
Skip to the content.

Fire Quantitative Trading System

AI Python React License Coverage

基于 Python (FastAPI) 和 React 的量化交易系统,支持股票交易、策略回测和风险管理。


快速开始

环境要求

安装运行

# 1. 安装依赖
./scripts/install.sh

# 2. 启动服务
./scripts/startup.sh

# 3. 访问应用
# 前端: http://localhost:3000
# 后端: http://localhost:8000
# API文档: http://localhost:8000/docs

详细说明见 命令行使用指南


核心功能


文档导航

使用文档

架构文档

模块文档

测试和质量


技术栈

后端

前端


系统架构

graph TB
    subgraph "量化交易系统"
        TSE[TradingSessionEngine<br/>统一调度中心]
    end

    subgraph "核心模块"
        SE[StrategyEngine<br/>策略管理器]
        TE[TradingEngine<br/>交易引擎]
        RE[RiskEngine<br/>风险引擎]
        DA[DataAdapter<br/>数据适配器]
    end

    subgraph "外部系统"
        API[券商API]
        DB[(数据库)]
        WS[WebSocket]
    end

    TSE --> SE
    TSE --> TE
    TSE --> RE

    SE --> DA
    TE --> DA
    RE --> DA

    DA --> API
    DA --> DB
    TSE --> WS

许可证

本项目采用 Apache License 2.0 开源协议。