[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11786":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},11786,"cryptoquant-ai","Markfans\u002Fcryptoquant-ai","Markfans","CryptoQuant AI is an advanced, open-source quantitative trading platform designed to bridge the gap between algorithmic market execution and artificial intelligence. Built entirely on a modern Node.js, Vite, and TypeScript stack, this project provides a robust, highly responsive frontend dashboard paired with powerful automation capabilities.","",null,"TypeScript",169,43,36,3,0,5,121,9,63.43,"MIT License",false,"master",true,[26,27,28,29,30,31,32],"algorithmic-trading-dotnet","crypto","okx","quant","trading-bot-bsc-solana","typescript","zhipu-ai","2026-06-12 04:00:55","# CryptoQuant AI\n\nCryptoQuant AI is a local-first quantitative cryptocurrency trading dashboard for research, monitoring, backtesting, and optional OKX execution. It combines a React\u002FVite frontend with an Express\u002FTypeScript backend, local SQLite persistence, OKX market\u002Faccount integrations, Zhipu GLM-assisted summaries, and risk controls for strategy evaluation.\n\n> This project is for research and personal operations. It is not financial advice. Use demo trading first, keep API permissions limited, and never expose this service directly to the public internet without proper hardening.\n\n## Features\n\n- OKX market data, account balance, positions, order history, and order submission support.\n- Demo and live OKX credential paths with a local encrypted credential store.\n- Regime-based strategy engine with trend breakout, mean reversion, macro risk gating, TP\u002FSL construction, and risk kill switch behavior.\n- Shadow trading, walk-forward backtesting, portfolio return analytics, execution diagnostics, reliability views, and audit trails.\n- Local SQLite and JSON persistence for trades, state, risk events, and research snapshots.\n- React dashboard with legacy embedded panels for existing operational workflows.\n\n## Prerequisites\n\n- Node.js 24 or newer.\n- npm 10 or newer.\n- Git.\n- Optional OKX API credentials for live or demo trading.\n- Optional Zhipu GLM API key for AI-assisted summaries.\n- Optional FRED API key for macro data.\n- Optional local HTTP\u002FSOCKS proxy if your network cannot reach OKX directly.\n\n## Installation\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FYOUR_GITHUB_USERNAME\u002Fcryptoquant-ai.git\ncd cryptoquant-ai\nnpm ci\ncopy .env.example .env\n```\n\nOn macOS or Linux, use:\n\n```bash\ncp .env.example .env\n```\n\nEdit `.env` and replace every `YOUR_..._HERE` value with your own local credentials. Leave optional services blank if you do not use them.\n\n## Usage\n\nStart the local development server:\n\n```bash\nnpm run dev\n```\n\nThen open:\n\n```text\nhttp:\u002F\u002Flocalhost:3000\n```\n\nBuild for production:\n\n```bash\nnpm run build\nnpm run start:prod\n```\n\nRun validation:\n\n```bash\nnpm run lint\nnpm test\nnpm run build\n```\n\nWindows users can also run `一键启动.bat` from the project root. The script checks Node\u002Fnpm, installs dependencies, creates `.env` from `.env.example` when needed, runs type checks, and starts the app.\n\n## Configuration\n\nThe app reads configuration from `.env`. Important variables include:\n\n- `ADMIN_USERNAME`, `ADMIN_PASSWORD`, `SESSION_TTL_HOURS` for local operator login.\n- `APP_SECRET` for local encrypted credential storage.\n- `OKX_API_KEY`, `OKX_SECRET_KEY`, `OKX_PASSPHRASE` for OKX live mode.\n- `OKX_DEMO_API_KEY`, `OKX_DEMO_SECRET_KEY`, `OKX_DEMO_PASSPHRASE` for OKX demo mode.\n- `EXCHANGE_PROXY_URL` for optional proxy routing, for example `http:\u002F\u002F127.0.0.1:10808`.\n- `ZHIPU_API_KEY` and model settings for AI-assisted summaries.\n- `FRED_API_KEY` for macro data.\n- `SMTP_USER`, `SMTP_PASS`, `SMTP_TO` for optional email notifications.\n\nNever commit `.env`, `data\u002F`, logs, SQLite files, screenshots containing account information, or encrypted credential stores.\n\n## Security Notes\n\n- Start with OKX demo trading before live trading.\n- Restrict exchange API keys to the minimum permissions needed.\n- Do not put API keys in frontend code.\n- Use a long random `APP_SECRET` before saving credentials in the local vault.\n- Keep this service behind local authentication and do not publish it as an unauthenticated public web app.\n- Review generated orders, leverage, take-profit, and stop-loss behavior before enabling live execution.\n\n## License\n\nMIT. See [LICENSE](.\u002FLICENSE).\n","CryptoQuant AI 是一个先进的开源量化交易平台，旨在连接算法市场执行与人工智能。该项目基于现代的Node.js、Vite和TypeScript技术栈构建，提供了一个响应迅速且功能强大的前端仪表盘，并具备强大的自动化能力。其核心功能包括OKX市场的数据接入、账户管理、订单历史查询及提交支持；具有基于策略引擎的趋势突破、均值回归等交易策略；以及使用本地SQLite进行持久化存储。此外，还集成了Zhipu GLM辅助摘要生成等功能以增强用户体验。适用于需要进行加密货币量化研究、监控、回测及可选实盘操作的研究人员和个人投资者，在确保安全的前提下使用。",2,"2026-06-11 03:32:27","CREATED_QUERY"]