{"id":20339195,"url":"https://github.com/das-amlan/stock-price-forecasting","last_synced_at":"2026-06-08T10:32:04.759Z","repository":{"id":170583750,"uuid":"519524011","full_name":"das-amlan/Stock-Price-Forecasting","owner":"das-amlan","description":"Stock Price Forecasting using ARIMA model","archived":false,"fork":false,"pushed_at":"2023-02-04T01:12:48.000Z","size":395,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T18:05:32.542Z","etag":null,"topics":["arima-model","forecasting","python","time-series-analysis"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/das-amlan.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}},"created_at":"2022-07-30T13:29:02.000Z","updated_at":"2022-07-30T13:33:49.000Z","dependencies_parsed_at":"2023-09-22T07:03:29.753Z","dependency_job_id":null,"html_url":"https://github.com/das-amlan/Stock-Price-Forecasting","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"e0cb76ab884b09e8c35035b39f2d1c28ce40e202"},"previous_names":["das-amlan/stock-price-forecasting"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FStock-Price-Forecasting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FStock-Price-Forecasting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FStock-Price-Forecasting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das-amlan%2FStock-Price-Forecasting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/das-amlan","download_url":"https://codeload.github.com/das-amlan/Stock-Price-Forecasting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241864278,"owners_count":20033146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arima-model","forecasting","python","time-series-analysis"],"created_at":"2024-11-14T21:15:44.377Z","updated_at":"2026-06-08T10:32:04.728Z","avatar_url":"https://github.com/das-amlan.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock Price Forecasting\nThis repository contains the code for stock price forecasting using the ARIMA model. The model was tested on three stocks: EXX5, IQQE, and IUS4. Data for these stocks was collected from [Yahoo Finance](https://finance.yahoo.com/) for the time window of May 2021 to May 2022.\n\n## Steps in the code\n\n### Importing Required Libraries \nThe code starts by importing the required libraries such as pandas, numpy, matplotlib, and statsmodels.\n\n### Data Collection \nThe data for the stocks is collected from Yahoo Finance for the time window of May 2021 to May 2022. The data is loaded into a pandas dataframe.\n\n### Data Preprocessing \nThe data is preprocessed by checking for missing values, transforming the data into log-returns, and making the time series stationary.\n\n### Model Selection \nThe code uses the statsmodels library to fit the ARIMA model on the stationary time series data. The parameters of the ARIMA model are selected using the **`auto_arima`** function.\n\n### Model Fitting and Forecasting \nThe selected ARIMA model is fit on the data and used to make forecasts for future stock prices. The code also calculates the mean absolute error (MAE) to evaluate the performance of the model.\n\n### Visualizing Results \nFinally, the code plots the original stock prices and the forecasted stock prices for comparison.\n\n## Conclusion\nThis repository provides a basic implementation of forecasting stock prices using the ARIMA model. For further development and experimentation, the code can be used as a starting point.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas-amlan%2Fstock-price-forecasting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdas-amlan%2Fstock-price-forecasting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas-amlan%2Fstock-price-forecasting/lists"}