{"id":15195492,"url":"https://github.com/basith-ahmed/mtrp-butcher","last_synced_at":"2026-03-04T20:03:16.904Z","repository":{"id":233496658,"uuid":"787292366","full_name":"basith-ahmed/mtrp-butcher","owner":"basith-ahmed","description":"A Machine Learning model, utilizing a range of technical indicators to accurately forecast forthcoming trend reversals with a high degree of confidence. This model is also complemented by an interactive web interface.","archived":false,"fork":false,"pushed_at":"2024-04-19T17:22:25.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T04:27:49.705Z","etag":null,"topics":["exponential-moving-average","ipynb","logistic-regression","macd","machine-learning","matplotlib","numpy","pandas","python","rsi","stochastic-rsi","streamlit","technical-analysis","yfinance"],"latest_commit_sha":null,"homepage":"https://mtrp-butcher.streamlit.app/","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/basith-ahmed.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}},"created_at":"2024-04-16T08:49:17.000Z","updated_at":"2024-09-09T08:39:45.000Z","dependencies_parsed_at":"2024-04-19T11:34:55.268Z","dependency_job_id":"7da99e15-1efb-4977-a068-3df80f603b96","html_url":"https://github.com/basith-ahmed/mtrp-butcher","commit_stats":null,"previous_names":["basith-ahmed/mtrp-butcher","basithdotdev/mtrp-butcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basith-ahmed/mtrp-butcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basith-ahmed%2Fmtrp-butcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basith-ahmed%2Fmtrp-butcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basith-ahmed%2Fmtrp-butcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basith-ahmed%2Fmtrp-butcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basith-ahmed","download_url":"https://codeload.github.com/basith-ahmed/mtrp-butcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basith-ahmed%2Fmtrp-butcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"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":["exponential-moving-average","ipynb","logistic-regression","macd","machine-learning","matplotlib","numpy","pandas","python","rsi","stochastic-rsi","streamlit","technical-analysis","yfinance"],"created_at":"2024-09-27T23:40:18.855Z","updated_at":"2026-03-04T20:03:16.868Z","avatar_url":"https://github.com/basith-ahmed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Market Trend Prediction Model\n\n## Overview\nThis project develops a logistic regression model to predict market trend reversals, specifically identifying potential \"buy\" or \"sell\" opportunities in financial markets. The model analyzes technical indicators and price data to make predictions.\n\n## Features\n- Utilizes Logistic Regression for binary classification of market trends.\n- Processes and analyzes data using technical indicators like EMAs, RSI, MACD, and StochRSI.\n- Uses data from Yahoo Finance for the period from January 2020 to January 2024.\n\n## Prerequisites\nBefore running this project, ensure you have the following installed:\n- Python 3.8+\n- pandas\n- numpy\n- scikit-learn\n- matplotlib\n- seaborn\n\n## Installation\nClone this repository to your local machine:\n```bash\ngit clone https://github.com/Basith-Ahmed/MTRP-Butcher.git\ncd mtrp-butcher\n```\n\n## Usage\nTo run the model training and prediction script, navigate to the project directory and run:\n```bash\npython Butcher_UI.py\n```\n\n## Directory Structure\n```bash\nmtrp-butcher/\n│\n├── Butcher_Model.sav\n├── Butcher_UI.py\n├── requirements.txt\n└── README.md\n```\n\n## Data\nThe data used in this project is sourced from Yahoo Finance, covering daily price movements of Bitcoin (BTC-USD) from January 1, 2020, to January 1, 2024 by default which you can change as required.\n\n## Configurations\nEdit the config.py file to modify the parameters of the logistic regression model, including the choice of technical indicators and the thresholds for \"buy\" and \"sell\" predictions.\n\n## Contributing\nContributions to this project are welcome. To contribute: \u003cbr/\u003e\n\n- Fork the repository. \u003cbr/\u003e\n- Create a new branch (git checkout -b feature-branch).\u003cbr/\u003e\n- Make your changes.\u003cbr/\u003e\n- Commit your changes (git commit -am 'Add some feature').\u003cbr/\u003e\n- Push to the branch (git push origin feature-branch).\u003cbr/\u003e\n- Submit a new Pull Request.\u003cbr/\u003e\n\n## License\nDistributed under the MIT License. See LICENSE for more information.\n\n## Contact\nBasith Ahmed - [Link](https://www.linkedin.com/in/basith-ahmed/) \u003cbr/\u003e\nProject - [Link](https://github.com/Basith-Ahmed/MTRP-Butcher)\n\n## Acknowledgements\nYahoo Finance for providing the data.\u003cbr/\u003e\nContributors who have participated in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasith-ahmed%2Fmtrp-butcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasith-ahmed%2Fmtrp-butcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasith-ahmed%2Fmtrp-butcher/lists"}