TradeHunter AI is an intelligent companion for TradeWise Pro. It helps you "hunt" for the best investment opportunities by analyzing market data and using AI to suggest a diversified allocation based on your budget.
- Market Data: It connects to your running
TradeWise ProAPI to get real-time Last Traded Prices (LTP) from NSE India. - AI Strategy: It sends the budget and market prices to OpenRouter (using free models like Gemini or Mistral) to generate a customized investment plan.
- Intelligent Allocation: Suggests exactly how many units of specific ETFs and Blue-chip stocks you should buy.
- TradeWise Pro must be running on
http://localhost:5000. - Python 3.8+ installed.
Create a .env file in the root directory (or edit the existing one):
OPENROUTER_API_KEY=your_openrouter_key_here
TRADEWISE_PRO_API=http://localhost:5000pip install -r requirements.txtpython app.pyAccess the dashboard at: http://localhost:5001
- Backend: Flask
- AI: OpenRouter (Gemini 2.0 Flash Lite Free)
- Frontend: Vanilla JS, CSS (Glassmorphism)
- Integration: REST API connection to TradeWise Pro