Open Net Worth
Open Net Worth is an open-source personal AI wealth assistant you run yourself: one ledger for your whole financial life, worked by an AI agent you control.
翻譯準備中
Self-hosted workspace for AI-driven crypto trading research, backtesting, and paper trading
翻譯準備中
AI 摘要 · README
金融Python · SvelteGitHub @judder659自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
正在載入完整 README。 以下為已儲存的摘錄。
Forven is a free, open-source, self-hosted autonomous crypto-trading research & operations workspace. It pairs a team of AI agents with a backtesting engine, a robustness "gauntlet," paper trading, and an operator dashboard — so idea generation, validation, and monitoring all live in one repo you run on your own machine.檢視完整 README ↗[!WARNING] Research software. Not financial advice. Forven runs in paper mode by default: strategies trade with simulated fills against live market data, and no real money is at risk. Real-money trading exists in the code but is unsupported, off by default, and needs several deliberate opt-ins. Backtest and paper results do not predict live results, and Forven's own metrics can be wrong. See
DISCLAIMER.md.
Most trading ideas look good in a backtest and fail with real data. Forven is built around that fact. It generates many candidate strategies, tries hard to break each one, and only lets the survivors collect forward evidence in paper trading. Everything runs on your own machine, with your own model and exchange credentials, and there is no Forven account or server.
| AI research team | Strategy, quant-research, risk and execution agents propose hypotheses, write strategy code and run it through validation. Works with OpenAI, Anthropic, MiniMax, OpenRouter, DeepSeek, Gemini, Mistral, xAI and Groq, by API key or (for supported providers) OAuth sign-in. |
| Backtester | Bar-by-bar execution with vectorised signal generation, cost and slippage modelling, and a research holdout period that strategies never see during development. |
| The Gauntlet | A robustness battery (walk-forward, Monte Carlo, parameter jitter, cost stress, regime split) plus an optional Deflated Sharpe check. It decides which strategies advance. |
| Paper trading | Survivors paper-trade automatically with stop-losses, a drawdown kill switch and fill reconciliation. A breadth test across about 15 coins can let a strategy paper-trade several coins at once. |
| Live gate | Moving from paper to live needs a forward track record (20+ trades over 30+ days), a statistical test on that evidence, and the operator's explicit confirmation. Nothing goes live on its own. |
| Bot Factory | Build AI-driven or rule-based bots (grid, DCA, signal follower), replay them on history and compare them side by side. Bots never hold exchange keys, and on Windows they run in a sandbox. |
| Dashboard | A SvelteKit operator console for the pipeline, strategies, agents, risk, data, approvals and diagnostics. |
| MCP server | Drive Forven from Claude, Codex or any other MCP client. See docs/mcp-server.md. |
Forven is under active development and changes quickly. It is a research tool: no strategy produced by Forven has yet been proven profitable in live trading, and you should treat every reported number with skepticism until it holds up on forward data.
Requirements: Python 3.11+, Node.js 18+ and git.
git clone https://github.com/judder659/Forven.git
cd Forven
The PowerShell launcher creates .venv, installs backend and frontend dependencies, initialises the database and starts everything:
$env:START_BOT = '0'
$env:START_DAEMON = '0'
powershell -ExecutionPolicy Bypass -File .\start_all.ps1
For a desktop window with Start, Stop and Restart buttons, see docs/desktop-launcher.md.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
(cd frontend && npm install)
cp .env.example .env
START_BOT=0 START_DAEMON=0 bash start_all.sh
On Linux, ./launcher.sh install adds Forven to your applications menu, opening a launcher window to start, reload the backend, restart or stop; see docs/desktop-launcher.md.
Then open http://127.0.0.1:5173. The API listens on http://127.0.0.1:8003 (health check: /api/health). docs/FIRST_RUN_CHECKLIST.md walks through the first session.
Your keys stay on your machine and are never sent to any Forven server.
OPENAI_API_KEY or ANTHROPIC_API_KEY).python -m forven auth login openai (or minimax). Check with python -m forven auth status.Exchange credentials (Hyperliquid testnet by default) are added under Settings. Paper trading needs no exchange keys.
flowchart LR
A[AI agents] -->|propose| B[Backtest]
B --> C[Gauntlet]
C -->|survivors| D[Paper trading]
D -->|forward evidence| E{Live gate}
E -->|operator confirms| F[Live]
C -->|fail| G[Archive]
D -->|losing| G
More detail: docs/ARCHITECTURE.md and docs/USER_MANUAL.md.
| Layer | Technology |
|---|---|
| Backend | Python 3.11+, FastAPI, uvicorn |
| Frontend | SvelteKit 2, Svelte 5, Tailwind CSS, Vite |
| Storage | SQLite and workspace files under FORVEN_HOME (default ~/.forven); ChromaDB for agent memory; DuckDB/Parquet market data |
| Exchanges | Hyperliquid (testnet by default), via CCXT and the Hyperliquid SDK |
Start from .env.example and set only what you need. The settings that matter most:
| Setting | Default | What it does |
|---|---|---|
FORVEN_EXECUTION_MODE | paper | paper is the only supported mode. live is unsupported; a real-money order also needs FORVEN_ALLOW_MAINNET=1 and mainnet credentials. |
FORVEN_BIND_HOST | 127.0.0.1 | Localhost only, for both the API and the dashboard on :5173. Binding to 0.0.0.0 or a LAN address requires FORVEN_API_KEY and FORVEN_OPERATOR_KEY, or the app refuses to start; it also lets other devices open the dashboard. |
FORVEN_API_KEY, FORVEN_OPERATOR_KEY | unset | Protect the API and its dangerous endpoints. Set both if anything beyond your own machine can reach it. |
START_BOT, START_DAEMON | varies | Start the Discord bot and the separate trading daemon. |
FORVEN_HOME | ~/.forven | Where the database, logs and workspace live. |
Never commit .env, *.db, auth tokens or API keys (they are gitignored). Security reports go through SECURITY.md.
# Backend only
python -m uvicorn --app-dir . forven.api:app --host 127.0.0.1 --port 8003 --reload
# Frontend only
cd frontend && npm run dev
# CLI
python -m forven --help
# Tests and checks
python -m pytest tests -q
python -m ruff check forven tests
cd frontend && npm test && npm run check
docs/ folderIssues, ideas and discussion are very welcome. Forven is not yet accepting outside code contributions because a contributor agreement isn't in place. See CONTRIBUTING.md and the CODE_OF_CONDUCT.md. Please report security issues privately as described in SECURITY.md.
Copyright (C) 2026 Judder <[email protected]>
Forven is free software under the GNU Affero General Public License v3.0 or later, distributed without any warranty. If you run a modified version as a network service, you must offer its source to the people using it (AGPL §13). The "Forven" name and logo are not covered by the license: see TRADEMARK.md and NOTICE.