A powerful AI-powered trading assistant with real-time market data analysis, chat interface, and automated alerts.
git clone https://github.com/yourusername/trading-assistant.git
cd trading-assistant
npm install
cp .env.example .env
Edit .env
and add your:
DATABASE_URL
- PostgreSQL connection stringNEXTAUTH_SECRET
- Random string for session encryptionNEXTAUTH_URL
- Your app’s URL (e.g. http://localhost:3000)npx prisma db push
npm run dev
Create a .env
file with the following variables:
# Database
DATABASE_URL="postgresql://user:password@localhost:5432/trading_assistant"
# NextAuth
NEXTAUTH_SECRET="your-random-string"
NEXTAUTH_URL="http://localhost:3000"
# OAuth (optional)
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# API Keys (stored per user in database)
# These are examples of what users will need to provide
OPENAI_API_KEY=""
TRADINGVIEW_API_KEY=""
TELEGRAM_BOT_TOKEN=""
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
http://localhost:3000/chat
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.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
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.