{"id":25264327,"url":"https://github.com/samadpls/stockseer-api","last_synced_at":"2025-07-10T20:34:17.121Z","repository":{"id":239825327,"uuid":"800658584","full_name":"samadpls/stockseer-api","owner":"samadpls","description":"Fast-API base StockSeer-API uses  different machine learning alogs to forecast closing stock prices.","archived":false,"fork":false,"pushed_at":"2024-11-02T14:33:27.000Z","size":243,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T20:45:09.336Z","etag":null,"topics":["extratreesregressor","fastapi","kneighborsclassifier","linear-regression","lstm","machine-learning-algorithms","open-source","random-forest","stock-price-prediction"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samadpls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-05-14T18:45:10.000Z","updated_at":"2025-01-31T19:05:10.000Z","dependencies_parsed_at":"2024-11-02T15:33:41.337Z","dependency_job_id":null,"html_url":"https://github.com/samadpls/stockseer-api","commit_stats":null,"previous_names":["samadpls/stockseer-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samadpls/stockseer-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2Fstockseer-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2Fstockseer-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2Fstockseer-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2Fstockseer-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samadpls","download_url":"https://codeload.github.com/samadpls/stockseer-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2Fstockseer-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264652777,"owners_count":23644330,"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":["extratreesregressor","fastapi","kneighborsclassifier","linear-regression","lstm","machine-learning-algorithms","open-source","random-forest","stock-price-prediction"],"created_at":"2025-02-12T07:36:31.148Z","updated_at":"2025-07-10T20:34:17.073Z","avatar_url":"https://github.com/samadpls.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## StockSeer-API  `(Stock Price Prediction API)`\n\u003cimg src='https://github.com/samadpls/stockseer-api/assets/94792103/dc4f0585-3eaa-4837-a50f-c64375674f41' width=250px align='right'\u003e\n\n![Supported python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) \n[![License](https://img.shields.io/badge/License-MIT%202.0-blue.svg)](LICENSE)\n\nThis project is a FastAPI application that predicts the closing stock price for a given company based on user-specified parameters. It utilizes various machine learning models for prediction, including:\n\n* RandomForestRegressor 🌳\n* ExtraTreesRegressor 🌲\n* LinearRegression ➖\n* KNeighborsRegressor 🤝\n* LSTM implementation 🔄\n\n## Data Source:\n\nThis application utilizes the Yahoo Finance API to retrieve historical stock data for training and prediction purposes.\n\n## Features✨\n\n* Download and preprocess historical stock data\n* Train a stock price prediction model of your choice\n* Make predictions on future closing stock prices\n\n\n## Working Prototype \n**Example: Predicting \u003cimg src='https://github.com/samadpls/stockseer-api/assets/94792103/be02a515-e6d3-402e-a6bd-2f7f21065fa6' width=15px\u003eoogle\n Stock Price**\n\n| Input | Response| \u003cimg src='https://github.com/samadpls/stockseer-api/assets/94792103/be02a515-e6d3-402e-a6bd-2f7f21065fa6' width=20px\u003e raph |\n|------|---------|---------|\n|![image](https://github.com/samadpls/stockseer-api/assets/94792103/b6860128-41fb-463d-908d-433b11f3d826)|![image](https://github.com/samadpls/stockseer-api/assets/94792103/5ef2c728-22e3-4e9c-9049-b8b8ceddc276)| \u003cimg src='prediction_plot.png' width=650px\u003e|\n\n## Installation\n\n1. Ensure you have Python installed.\n2. Create a new virtual environment (recommended).\n3. Activate the virtual environment.\n4. Install required dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n1. Run the application:\n\n```bash\nuvicorn app:app --reload\n```\n\n2. Access the API documentation in your web browser: http://127.0.0.1:8000/docs\n\nThe documentation provides instructions on interacting with the API to make predictions.\n\n\n## Credits\n\n* **Maira Usman:**  Developed the GUI for this project. You can find the code here: Link to [StockSeer-Frontend](https://github.com/Myrausman/StockSeer-Frontend).\n\n## Disclaimer\n\n**Important:** Stock price prediction is inherently uncertain. This application should not be used for making financial decisions. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamadpls%2Fstockseer-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamadpls%2Fstockseer-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamadpls%2Fstockseer-api/lists"}