Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Summary

-

## Checks

- [ ] No new JavaScript source files were added under `apps/`, `packages/`, or `scripts/`
- [ ] `npm run verify` passes locally
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- run: npm ci
- run: npm run check:workspaces
- run: npm run check:lockfile
- run: npm run check:no-js-source
- run: npm run check:stage-docs
- run: npm run check:runtime-env
- run: npm run lint
Expand Down
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

| Layer | Tech |
|-------|------|
| Language | TypeScript (ES2022),前后端全量 `.ts` |
| Language | TypeScript (ES2022),第一方源码目录保持 100% TypeScript |
| Frontend | React 18, react-router-dom v6 |
| Bundler | Vite 5 (`@vitejs/plugin-react` + `@vanilla-extract/vite-plugin`) |
| Test | Vitest (web), `node --test` (backend) |
Expand Down Expand Up @@ -93,6 +93,8 @@ npm run verify # 完整验证 (所有检查 + 所有测试 + typecheck

## Important Guardrails

- 第一方源码目录 `apps/`、`packages/`、`scripts/` 必须使用 TypeScript;禁止新增 `.js`、`.mjs`、`.cjs` 源文件
- 生成产物、第三方代码、依赖目录不计入上述规则;当前检查会忽略 `dist`、`node_modules`、`coverage`、`.git`、`.vite`
- 样式改动在对应的 `.css.ts` 文件中进行(`apps/web/src/app/styles/` 或组件同目录),不引入任何 `.css` 文件
- Canvas 图表颜色硬编码在 `ConsoleChrome.tsx` 的 `ChartCanvas` 中
- `.env` / `.env.local` 不提交,参考 `.env.example`
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ QuantPilot is an AI-native quantitative trading platform built as a TypeScript m

QuantPilot is not a production live-trading system. It is a platform skeleton and operating surface for controlled quantitative trading workflows, not an unattended trading bot.

## Tech Stack

| Category | Technology |
|----------|------------|
| Language | TypeScript 5 (100% first-party source, no new JavaScript source files) |
| Frontend | React 18 + react-router-dom 6 |
| Build | Vite 5 |
| Styling | vanilla-extract |
| Backend | Node.js ESM + tsx |
| Testing | Vitest + node --test |
| Package Manager | npm workspaces |

## What QuantPilot Includes

- A multi-workbench web console for dashboard, market, strategy, backtest, risk, execution, trading terminal, agent, notifications, and settings workflows
Expand All @@ -19,7 +31,6 @@ QuantPilot is not a production live-trading system. It is a platform skeleton an
- JWT authentication (`jose`) and AES-256-GCM broker API key encryption for credentials at rest
- Server-Sent Events push for live state updates, reducing polling to a 15-second fallback
- Verification baselines that protect closed roadmap contracts across platform, research, execution, risk, scheduler, agent, and production-readiness surfaces

## Platform Scope

QuantPilot is designed around four platform-level operating loops:
Expand Down
13 changes: 12 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ QuantPilot 是一个以 AI 为核心能力的量化交易平台,采用 TypeScr

QuantPilot 不是一个可直接用于实盘的生产交易系统。它当前定位为一套面向受控量化交易流程的平台骨架与运营界面,而不是无人值守自动交易机器人。

## 技术栈

| 类别 | 技术 |
|------|------|
| 语言 | TypeScript 5(第一方源码 100%,禁止新增 JavaScript 源文件) |
| 前端 | React 18 + react-router-dom 6 |
| 构建 | Vite 5 |
| 样式 | vanilla-extract |
| 后端 | Node.js ESM + tsx |
| 测试 | Vitest + node --test |
| 包管理 | npm workspaces |

## QuantPilot 包含什么

- 一个覆盖 dashboard、market、strategy、backtest、risk、execution、trading terminal、agent、notifications 和 settings 的多工作台前端控制台
Expand All @@ -19,7 +31,6 @@ QuantPilot 不是一个可直接用于实盘的生产交易系统。它当前定
- 基于 `jose` 的 JWT 认证与 AES-256-GCM broker API key 静态加密
- Server-Sent Events 实时推送,将轮询降级为 15 秒 fallback
- 用于保护平台、研究、执行、风险、调度、Agent 与生产化基线合同的自动化验证体系

## 平台范围

QuantPilot 当前围绕四条平台级运行主链路组织能力:
Expand Down
Loading
Loading