{"id":24880683,"url":"https://github.com/ishutak/stock_prediction_project","last_synced_at":"2026-02-15T02:01:39.571Z","repository":{"id":275194530,"uuid":"925373809","full_name":"IshuTak/stock_prediction_project","owner":"IshuTak","description":"A stock price prediction model using Long Short-Term Memory (LSTM) neural networks combined with sentiment analysis of financial news articles. Developed using Python, Used TensorFlow, NLTK, and various data science libraries.","archived":false,"fork":false,"pushed_at":"2025-02-21T15:30:27.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T15:40:51.480Z","etag":null,"topics":["deep-learning","lstm","machine-learning","nltk","python","sentiment-analysis","stock-price-prediction","tensorflow","time-series"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IshuTak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-31T18:54:07.000Z","updated_at":"2025-02-21T15:30:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b9618ff-9fe8-42c7-8510-fe75b3ed0714","html_url":"https://github.com/IshuTak/stock_prediction_project","commit_stats":null,"previous_names":["ishutak/stock_prediction_project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IshuTak/stock_prediction_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuTak%2Fstock_prediction_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuTak%2Fstock_prediction_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuTak%2Fstock_prediction_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuTak%2Fstock_prediction_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IshuTak","download_url":"https://codeload.github.com/IshuTak/stock_prediction_project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuTak%2Fstock_prediction_project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29465397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T01:01:38.065Z","status":"online","status_checked_at":"2026-02-15T02:00:07.449Z","response_time":118,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","lstm","machine-learning","nltk","python","sentiment-analysis","stock-price-prediction","tensorflow","time-series"],"created_at":"2025-02-01T11:19:10.723Z","updated_at":"2026-02-15T02:01:39.532Z","avatar_url":"https://github.com/IshuTak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock Price Prediction with LSTM and Sentiment Analysis\n\n## Overview\n\nThis project predicts stock prices using an LSTM neural network combined with sentiment analysis from financial news articles. It incorporates technical indicators and sentiment scores to improve prediction accuracy.\n\n## Features\n\n-  **Data Collection**: Fetches historical stock data using `yfinance` and performs daily sentiment analysis using NewsAPI and NLTK's VADER.\n- **Technical Indicators**: Calculates various technical indicators such as Moving Averages (MA), Moving Average Convergence Divergence (MACD), Relative Strength Index (RSI), and more.\n- **Data Preparation**: Preprocesses and scales data, and prepares it for model training.\n- **Modeling**: Builds and trains an LSTM neural network with optimized architecture and hyperparameters.\n- **Prediction and Evaluation**: Makes future stock price predictions and evaluates model performance using metrics like MSE, RMSE, MAE, and MAPE.\n- **Visualization**: Provides visualizations of actual vs. predicted stock prices and training loss graphs.\n- **Monte Carlo Simulation**: Uses Monte Carlo simulations to estimate prediction confidence intervals.\n\n  ## Dataset\n\n- **Stock Data**: Historical stock prices for NVIDIA Corporation (NVDA) over the past three years.\n- **News Data**: Financial news articles related to NVDA fetched using NewsAPI.\n- **Technical Indicators**: Calculated from stock data.\n- **Sentiment Scores**: Derived from news articles using NLTK's VADER sentiment analyzer.\n\n## Installation\n\n- pandas==1.4.2\n- numpy==1.21.5\n- yfinance==0.1.70\n- nltk==3.6.7\n- scikit-learn==1.0.2\n- requests==2.27.1\n- tensorflow==2.8.0\n- matplotlib==3.5.1\n\n### Prerequisites\n\n- Python 3.6 or higher\n- Git\n- pip\n\n### Steps\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/IshuTak/stock_prediction_project.git\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishutak%2Fstock_prediction_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishutak%2Fstock_prediction_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishutak%2Fstock_prediction_project/lists"}