Workspace
Settings
Personal swing-trading workspace. Optionally uses Gemini for plain-English explanations.
Gemini
DISABLED
Model: gemini-1.5-flash
How to connect Gemini
- Create an API key in Google AI Studio (Gemini API).
- Add it as an env var named GEMINI_API_KEY.
- Restart the server.
For deployments (Vercel/Render/etc) you set env vars in the platform UI. The key never goes to the browser.
Deploy
This is a standard Next.js app. To go live, deploy to Vercel and set GEMINI_API_KEY (optional).
Uses live Yahoo Finance data via yahoo-finance2 (no key required).
Local run
Run locally from the swing-trader-demo folder:
npm install npm run dev
If you see a lock error, make sure only one next devinstance is running for this folder.