P0-1: 风控Fail-Closed(状态文件缺失/过期/异常→拒绝开仓) P0-2: 1R基准跨模块统一(position_sync+risk_guard从live_config动态读) P0-3: close_all紧急全平校验返回值+二次验仓 P0-4: Coinbase Premium单位修复(premium_pct/100→比例值) P1-3: 正向funding计入净PnL(不再只扣负值) P1-4: 数据新鲜度检查落地(查signal_indicators最新ts) P1-6: live表DDL补全到SCHEMA_SQL(live_config/live_events/live_trades) P2-1: _get_risk_usd()加60秒缓存 P2-3: 模拟盘前端*200→从config动态算paper1R P2-4: XRP/SOL跳过Coinbase Premium采集(无数据源) P3-2: SQL参数化(fetch_pending_signals用ANY替代f-string) 额外: pnl_r公式修正(gross-fee+funding,funding正负都正确计入) |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| public | ||
| .gitignore | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.