Skip to content

DevSakkaravarthi/MarketInsightAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Market Insight AI

Description

Market Insight AI is a comprehensive tool for stock market prediction, utilizing advanced machine learning techniques. It includes two main scripts:

Installation

  1. Clone the repository or download the scripts:

    git clone https://github.com/DevSakkaravarthi/MarketInsightAI.git
    

    or download the scripts directly.

  2. Install required Python packages: Navigate to the directory containing the requirements.txt file and run:

    pip install -r requirements.txt
  3. Obtain an polygon API key: Visit Polygon to get your API key. and add key to environment

    export POLIGON_API_KEY='your_api_key_here'
    

    On Windows:

    set POLIGON_API_KEY=your_api_key_here
    

How to Run

Streamlit Web Interface (app_streamlit.py)

  1. Start the Streamlit web interface:
    streamlit run app_streamlit.py
  2. Use the web interface: Open your web browser to interact with the Streamlit application.

Flask API Server (app_api.py)

  1. Execute the script: Start the Flask server

    python app_api.py
  2. Use the endpoint /predict with a POST request to get stock price predictions. The request should include JSON data with the stock symbol and number of days for prediction.

    Example POST request data:

    {
    "symbol": "AAPL",
    "days": 7
    }

Requirements

  • Python 3.x
  • Streamlit (for StockPredictProphet.py and app_streamlit.py)
  • Flask (for app_api.py)
  • PyTorch (for AI model)
  • Additional libraries: Pandas, NumPy, requests, yfinance, sklearn, prophet

Refer to requirements.txt for a complete list of dependencies.

Support

For queries or issues, please open an issue in the repository or contact the maintainer.

About

Welcome to MarketInsightAI, a repository at the forefront of blending financial acumen with advanced AI technologies for transformative stock market forecasting. This repository is a haven for financial enthusiasts and data scientists alike, offering innovative tools and models to unveil the future trends of the stock market.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages