Skip to content

This full-stack AI system collects real-world stock data and analyzes historical stock performance to forecast stock prices. The system leverages the Gemini LLM to generate professional investment recommendations based on its analysis. Users can access the results and recommendations through a Streamlit web application and download analysis reports

License

Notifications You must be signed in to change notification settings

Islam29632/WSP_Grad_Project

Repository files navigation

WSP Grad Project

Team Members:

  • 1. [Islam Ali]
  • 2. [Peter Magdy Gamil]
  • 3. [Mostafa Saad]
  • 4. [Esraa Kamel]
  • 5. [Mohamed Khaled]
  • [no contribute] 6. [Mahmoud Mohamed Elebiare]
  • [no contribute] 7. [Mohamed Alaa Eldin Fouad Ahmed Mansour]

Demonstration video

Demonstration.Video2.mp4

Streamlit flowchart

graph TD
    A[Start] --> B{User Interface};
    B --> C[Login Page];
    C --> D{Authentication};
    D -- Success --> E[Main Dashboard];
    D -- Failure --> C;
    C --> F[Sign Up Page];
    F --> C;

    G[Start Application] --> H[Start API Server];
    H --> I[Start Streamlit App];
    I --> E;
    J[API Server];
    E --> J;
    J --> E;
Loading

Agents flowchart

graph TD
    A[Start] --> B[Automated Dataset Pipeline];
    B --> C[Data Processing & Analysis];
    C --> D[Time Series Forecasting];
    D --> E[Recommendation Generation];
    E --> E1[Utilize RAG for Context];
    E --> E2[Fetch Real-time Data yfinance];
    E1 --> E;
    E2 --> E;
    G[API/Frontend];
    E --> G;
Loading

User Interface

Login Page

title

The login page provides a secure entry point to the application. Users can enter their credentials which are verified against the hashed passwords in the database.

Sign Up Page

title

New users can create an account through the sign-up page. The system validates the input and securely stores the credentials.

Main Dashboard

title

After successful authentication, users are presented with the main dashboard where they can access the application's features.

Setup the Application

pip install -r requirements.txt

Running the Application

  1. Start the API server first from the project root directory
uvicorn main:app

The API server will start on http://localhost:8000

  1. Start the Streamlit app from the frontend directory
streamlit run app.py

The Streamlit app will be available at http://localhost:8501

Note: Make sure to start the API server before running the Streamlit app, as the frontend depends on the API being available.

  1. Use this test user or sign up for a new user
username: sprints.ai
password: f7sgnqrAbZwHezx

Technical Documentations

For detailed technical documentation about the authentication system, database structure, API endpoints, and security features, please refer to:

About

This full-stack AI system collects real-world stock data and analyzes historical stock performance to forecast stock prices. The system leverages the Gemini LLM to generate professional investment recommendations based on its analysis. Users can access the results and recommendations through a Streamlit web application and download analysis reports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages