Skip to content

"Vibe-Trading: Your Personal Trading Agent"

docs: sync CLAUDE.md and .env.example with this batch

Haozhe Wu3eb86996f59f
diff --git a/agent/.env.example b/agent/.env.example
index ab949c99a..fd2b16ba8 100644
--- a/agent/.env.example
+++ b/agent/.env.example
@@ -189,6 +189,12 @@ TUSHARE_TOKEN=your-tushare-token
# re-fetched). Clear it any time with: rm -rf ~/.vibe-trading/cache
# VIBE_TRADING_DATA_CACHE=1
+# Path to a published Taiwan-market SQLite snapshot. The read-only Taiwan stock
+# tool registers only when this points at a database with the expected schema,
+# so leaving it unset simply omits the tool. Keep the file outside the checkout —
+# no market data may land in the working tree.
+# VIBE_TW_STOCK_DB=~/.vibe-trading/tw-stock/latest.db
+
# Opt-in background scheduler for saved research jobs (off by default).
# When enabled, the API server runs a background poller that fires due
# interval/cron scheduled-research jobs through the session runtime.
@@ -200,8 +206,14 @@ TUSHARE_TOKEN=your-tushare-token
# Bearer token for API auth.
# Empty dev mode is loopback-only. Set this before exposing port 8899 beyond localhost.
# API_AUTH_KEY=
-# CORS allowed origins (comma-separated)
+# CORS allowed origins (comma-separated). Setting this REPLACES the loopback
+# defaults.
# CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8000
+# Extra CORS origins, ADDED to the loopback defaults instead of replacing them.
+# Needed to reach the API from a hosted console such as OpenBB Workspace. A
+# remote browser origin is still refused by the cross-site guard, so this is for
+# same-host or server-side callers.
+# VIBE_TRADING_EXTRA_CORS_ORIGINS=https://pro.openbb.co
# Enable session runtime
# ENABLE_SESSION_RUNTIME=true
# Docker compose sets this together with a 127.0.0.1 port bind so browser