Predict profitability of trades based on indicator buy / sell signals

Overview

Predict profitability of trades based on indicator buy / sell signals

Trade profitability analysis for trades based on various indicators signals:

  • MACD
  • Simple Moving Average
  • Exponential Moving Average

  • Trading assumptions:
    1. Trade is profitable if, profit >0
    2. Buy / sell happen the following day of the signal
    3. Buy / sell are taken 10% from the open price towards close price

    Machine learning assumptions:
    • Binary classification: 1 - profit, 0 - loss
    • A separate model for each company / ticker
    • Model is trained vs optimal precision

    Machine learning models used:
    1. Linear Support Vector Classifier
    2. Decision Tree Classifier
    3. Random Forest Classifier
    4. Gradient Boosting Classifier
    5. XGBoost Classifier
    6. Keras classifier

    Trade analysis intermediate results:
    30-40% of trades based on indicator signals are profitable
    In general trades on SMA signals are more often profitable than the ones based on EMA signals

    Trade profitability predictions intermediate results (based on test data)/
    The precision of the predictions is oscilating around 70%, which is pretty good, considering that the analysts estimate other signals accuracy as 30 to 50% (double top, shoulder & arms, etc). This means, there is ~70% chance that predicted trade will be profitable (Reminder: profitable -> profit > 0)
    However, the recall is only around 15%, which means that very the model pick-up very few of the actually profitable trades.

    #Detailed analysis tbc

    Owner
    Tomasz Porzycki
    Tomasz Porzycki
    Highly interpretable classifiers for scikit learn, producing easily understood decision rules instead of black box models

    Highly interpretable, sklearn-compatible classifier based on decision rules This is a scikit-learn compatible wrapper for the Bayesian Rule List class

    Tamas Madl 482 Nov 19, 2022
    A repository for collating all the resources such as articles, blogs, papers, and books related to Bayesian Statistics.

    A repository for collating all the resources such as articles, blogs, papers, and books related to Bayesian Statistics.

    Aayush Malik 80 Dec 12, 2022
    Penguins species predictor app is used to classify penguins species created using python's scikit-learn, fastapi, numpy and joblib packages.

    Penguins Classification App Penguins species predictor app is used to classify penguins species using their island, sex, bill length (mm), bill depth

    Siva Prakash 3 Apr 05, 2022
    AP1 Transcription Factor Binding Site Prediction

    A machine learning project that predicted binding sites of AP1 transcription factor, using ChIP-Seq data and local DNA shape information.

    1 Jan 21, 2022
    Distributed deep learning on Hadoop and Spark clusters.

    Note: we're lovingly marking this project as Archived since we're no longer supporting it. You are welcome to read the code and fork your own version

    Yahoo 1.3k Dec 28, 2022
    Automated machine learning: Review of the state-of-the-art and opportunities for healthcare

    Automated machine learning: Review of the state-of-the-art and opportunities for healthcare

    42 Dec 23, 2022
    Stock Price Prediction Bank Jago Using Facebook Prophet Machine Learning & Python

    Stock Price Prediction Bank Jago Using Facebook Prophet Machine Learning & Python Overview Bank Jago has attracted investors' attention since the end

    Najibulloh Asror 3 Feb 10, 2022
    CrayLabs and user contibuted examples of using SmartSim for various simulation and machine learning applications.

    SmartSim Example Zoo This repository contains CrayLabs and user contibuted examples of using SmartSim for various simulation and machine learning appl

    Cray Labs 14 Mar 30, 2022
    scikit-multimodallearn is a Python package implementing algorithms multimodal data.

    scikit-multimodallearn is a Python package implementing algorithms multimodal data. It is compatible with scikit-learn, a popul

    12 Jun 29, 2022
    Implemented four supervised learning Machine Learning algorithms

    Implemented four supervised learning Machine Learning algorithms from an algorithmic family called Classification and Regression Trees (CARTs), details see README_Report.

    Teng (Elijah) Xue 0 Jan 31, 2022
    Tutorials, examples, collections, and everything else that falls into the categories: pattern classification, machine learning, and data mining

    **Tutorials, examples, collections, and everything else that falls into the categories: pattern classification, machine learning, and data mining.** S

    Sebastian Raschka 4k Dec 30, 2022
    30 Days Of Machine Learning Using Pytorch

    Objective of the repository is to learn and build machine learning models using Pytorch. 30DaysofML Using Pytorch

    Mayur 119 Nov 24, 2022
    Combines Bayesian analyses from many datasets.

    PosteriorStacker Combines Bayesian analyses from many datasets. Introduction Method Tutorial Output plot and files Introduction Fitting a model to a d

    Johannes Buchner 19 Feb 13, 2022
    AutoTabular automates machine learning tasks enabling you to easily achieve strong predictive performance in your applications.

    AutoTabular AutoTabular automates machine learning tasks enabling you to easily achieve strong predictive performance in your applications. With just

    wenqi 2 Jun 26, 2022
    As we all know the BGMI Loot Crate comes with so many resources for the gamers, this ML Crate will be the hub of various ML projects which will be the resources for the ML enthusiasts! Open Source Program: SWOC 2021 and JWOC 2022.

    Machine Learning Loot Crate 💻 🧰 🔴 Welcome contributors! As we all know the BGMI Loot Crate comes with so many resources for the gamers, this ML Cra

    Abhishek Sharma 89 Dec 28, 2022
    Multiple Linear Regression using the LinearRegression class from sklearn.linear_model library

    Multiple-Linear-Regression-master - A python program to implement Multiple Linear Regression using the LinearRegression class from sklearn.linear model library

    Kushal Shingote 1 Feb 06, 2022
    Library for machine learning stacking generalization.

    stacked_generalization Implemented machine learning *stacking technic[1]* as handy library in Python. Feature weighted linear stacking is also availab

    114 Jul 19, 2022
    This project has Classification and Clustering done Via kNN and K-Means respectfully

    This project has Classification and Clustering done Via kNN and K-Means respectfully. It later tests its efficiency via F1/accuracy/recall/precision for kNN and Davies-Bouldin Index for Clustering. T

    Mohammad Ali Mustafa 0 Jan 20, 2022
    Probabilistic programming framework that facilitates objective model selection for time-varying parameter models.

    Time series analysis today is an important cornerstone of quantitative science in many disciplines, including natural and life sciences as well as eco

    Christoph Mark 129 Dec 24, 2022
    A mindmap summarising Machine Learning concepts, from Data Analysis to Deep Learning.

    A mindmap summarising Machine Learning concepts, from Data Analysis to Deep Learning.

    Daniel Formoso 5.7k Dec 30, 2022