Coder Social home page Coder Social logo

basith-ahmed / mtrp-butcher Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 46 KB

A sophisticated 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.

Home Page: https://mtrp-butcher.streamlit.app/

Python 100.00%
exponential-moving-average ipynb logistic-regression macd machine-learning matplotlib numpy pandas python rsi streamlit technical-analysis yfinance stochastic-rsi

mtrp-butcher's Introduction

Market Trend Prediction Model

Overview

This 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.

Features

  • Utilizes Logistic Regression for binary classification of market trends.
  • Processes and analyzes data using technical indicators like EMAs, RSI, MACD, and StochRSI.
  • Uses data from Yahoo Finance for the period from January 2020 to January 2024.

Prerequisites

Before running this project, ensure you have the following installed:

  • Python 3.8+
  • pandas
  • numpy
  • scikit-learn
  • matplotlib
  • seaborn

Installation

Clone this repository to your local machine:

git clone https://github.com/Basith-Ahmed/MTRP-Butcher.git
cd mtrp-butcher

Usage

To run the model training and prediction script, navigate to the project directory and run:

python Butcher_UI.py

Directory Structure

mtrp-butcher/
│
├── Butcher_Model.sav
├── Butcher_UI.py
├── requirements.txt
└── README.md

Data

The 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.

Configurations

Edit 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.

Contributing

Contributions to this project are welcome. To contribute:

  • Fork the repository.
  • Create a new branch (git checkout -b feature-branch).
  • Make your changes.
  • Commit your changes (git commit -am 'Add some feature').
  • Push to the branch (git push origin feature-branch).
  • Submit a new Pull Request.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Basith Ahmed - Link
Project - Link

Acknowledgements

Yahoo Finance for providing the data.
Contributors who have participated in this project.

mtrp-butcher's People

Contributors

basith-ahmed avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.