Skip to content

Y2kz/Trade-Hunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TradeHunter AI

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.

How it Works

  1. Market Data: It connects to your running TradeWise Pro API to get real-time Last Traded Prices (LTP) from NSE India.
  2. AI Strategy: It sends the budget and market prices to OpenRouter (using free models like Gemini or Mistral) to generate a customized investment plan.
  3. Intelligent Allocation: Suggests exactly how many units of specific ETFs and Blue-chip stocks you should buy.

Setup Instructions

1. Prerequisites

  • TradeWise Pro must be running on http://localhost:5000.
  • Python 3.8+ installed.

2. Environment Setup

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:5000

3. Installation

pip install -r requirements.txt

4. Run the App

python app.py

Access the dashboard at: http://localhost:5001

Tech Stack

  • Backend: Flask
  • AI: OpenRouter (Gemini 2.0 Flash Lite Free)
  • Frontend: Vanilla JS, CSS (Glassmorphism)
  • Integration: REST API connection to TradeWise Pro

About

AI-powered stock market analyzer and simulation trading dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors