{"id":26359228,"url":"https://github.com/rezagooner/cryptocurrency-price-prediction-model","last_synced_at":"2026-05-18T06:03:02.689Z","repository":{"id":282547208,"uuid":"948941910","full_name":"RezaGooner/Cryptocurrency-Price-Prediction-Model","owner":"RezaGooner","description":"A tool for predicting cryptocurrency prices using trained and test data. Includes historical price tracking and interactive line drawing for analysis","archived":false,"fork":false,"pushed_at":"2025-03-15T12:57:21.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T19:53:51.001Z","etag":null,"topics":["coingecko-api","crypto-analysis","cryptocurrency","data-visualization","gui","interactive-charts","linear-regression","matplotlib","pandas","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/RezaGooner.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":"2025-03-15T10:08:34.000Z","updated_at":"2025-08-22T14:17:14.000Z","dependencies_parsed_at":"2025-03-15T11:34:21.822Z","dependency_job_id":null,"html_url":"https://github.com/RezaGooner/Cryptocurrency-Price-Prediction-Model","commit_stats":null,"previous_names":["rezagooner/cryptocurrency-price-prediction-model"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RezaGooner/Cryptocurrency-Price-Prediction-Model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RezaGooner%2FCryptocurrency-Price-Prediction-Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RezaGooner%2FCryptocurrency-Price-Prediction-Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RezaGooner%2FCryptocurrency-Price-Prediction-Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RezaGooner%2FCryptocurrency-Price-Prediction-Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RezaGooner","download_url":"https://codeload.github.com/RezaGooner/Cryptocurrency-Price-Prediction-Model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RezaGooner%2FCryptocurrency-Price-Prediction-Model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["coingecko-api","crypto-analysis","cryptocurrency","data-visualization","gui","interactive-charts","linear-regression","matplotlib","pandas","price-prediction"],"created_at":"2025-03-16T15:59:03.572Z","updated_at":"2026-05-18T06:03:02.640Z","avatar_url":"https://github.com/RezaGooner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptocurrency Price Prediction Model\n\nThis project is a tool for predicting the price of **TON Coin** based on historical data. It uses the **CoinGecko API** to fetch data and employs a **Linear Regression** model to forecast future prices. The project can be easily extended to other cryptocurrencies by modifying the API.\n\n## Features\n- **Price Prediction**: Uses Linear Regression to predict future prices.\n- **Simple and Attractive UI**: Eye-catching color schemes and interactive charts.\n- **Threshold-Based Analysis**: By selecting a threshold value, the chart is drawn relative to it, and areas of profit and loss are color-coded.\n- **Display of Predicted Values**: Predicted prices for future days are displayed.\n- **Line Drawing Tool**: Allows drawing lines on the chart for further analysis and clearing them.\n- **Interactive Tooltips**: Hover over the chart to display precise price information.\n\n---\n\n## How to Run\n\n### Prerequisites\nTo run this project, you need to install the required libraries. These libraries are listed in the `requirements.txt` file.\n\n### Installing Dependencies\n1. Ensure **Python** and **pip** are installed on your system.\n2. Run the following command in your terminal to install the required libraries:\n   ```bash\n       pip install -r requirements.txt\n\n### Running the Project\nAfter installing the dependencies, simply run the main script (main.py):\n\n  ```bash\n    python code.py\n```\n\n![image](https://github.com/user-attachments/assets/dfb9266a-a4ce-4171-9409-d6dae97357b8)\n\n![image](https://github.com/user-attachments/assets/2695b576-7231-445d-88a0-4a0248848a83)\n\n---\n\n## How It Works\n\n- Data Fetching: Historical price data for TON Coin is fetched from the CoinGecko API.\n- Data Preprocessing: The data is prepared for use in the model.\n- Modeling: Linear Regression is used to predict future prices.\n- Displaying Results: The prediction results are displayed in an interactive chart.\n\n---\n\n## Chart Features\n\n- Threshold-Based Coloring: By selecting a threshold value, the chart is drawn relative to it, and areas of profit and loss are color-coded.\n- Interactive Tooltips: Hover over the chart to display precise price information.\n- Line Drawing Tool: Draw lines on the chart for further analysis and clear them if needed.\n\n---\n\n## Extending to Other Cryptocurrencies\nThis project can be easily extended to other cryptocurrencies. Simply replace the CoinGecko API with the API of the desired cryptocurrency and fetch the data.\n\n---\n\n## Reporting Issues or Bugs\nIf you encounter any issues or bugs while running the project, please let me know through the [**Issues**](https://github.com/RezaGooner/Cryptocurrency-Price-Prediction-Model/issues) section on GitHub. I will try to resolve the problem as soon as possible.\n\n---\n\n## Libraries Used\n- **`requests`**: For fetching data from the API.\n- **`pandas`**: For data processing and management.\n- **`matplotlib`**: For plotting charts.\n- **`scikit-learn`**: For implementing the Linear Regression model.\n- **`numpy`**: For numerical computations.\n- **`mplcursors`**: For adding tooltips to the charts.\n\n---\n\n## License\nThis project is licensed under the **MIT License**. For more information, see the [LICENSE](LICENSE) file.\n\n---\n\n## Contributing\nIf you are interested in contributing to this project, please submit your changes via a **Pull Request**. I would be happy to review your ideas and improvements.\n\n---\n[RezaGooner](https://github.com/RezaGooner/)\n\u003e Best regard!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezagooner%2Fcryptocurrency-price-prediction-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezagooner%2Fcryptocurrency-price-prediction-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezagooner%2Fcryptocurrency-price-prediction-model/lists"}