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
    Machine Learning for RC Cars

    Suiron Machine Learning for RC Cars Prediction visualization (green = actual, blue = prediction) Click the video below to see it in action! Dependenci

    Kendrick Tan 706 Jan 02, 2023
    OptaPy is an AI constraint solver for Python to optimize planning and scheduling problems.

    OptaPy is an AI constraint solver for Python to optimize the Vehicle Routing Problem, Employee Rostering, Maintenance Scheduling, Task Assignment, School Timetabling, Cloud Optimization, Conference S

    OptaPy 208 Dec 27, 2022
    Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs (CIKM 2020)

    Karate Club is an unsupervised machine learning extension library for NetworkX. Please look at the Documentation, relevant Paper, Promo Video, and Ext

    Benedek Rozemberczki 1.8k Jan 03, 2023
    A machine learning project that predicts the price of used cars in the UK

    Car Price Prediction Image Credit: AA Cars Project Overview Scraped 3000 used cars data from AA Cars website using Python and BeautifulSoup. Cleaned t

    Victor Umunna 7 Oct 13, 2022
    Simple, fast, and parallelized symbolic regression in Python/Julia via regularized evolution and simulated annealing

    Parallelized symbolic regression built on Julia, and interfaced by Python. Uses regularized evolution, simulated annealing, and gradient-free optimization.

    Miles Cranmer 924 Jan 03, 2023
    This handbook accompanies the course: Machine Learning with Hung-Yi Lee

    This handbook accompanies the course: Machine Learning with Hung-Yi Lee

    RenChu Wang 472 Dec 31, 2022
    A Collection of Conference & School Notes in Machine Learning 🦄📝🎉

    Machine Learning Conference & Summer School Notes. 🦄📝🎉

    558 Dec 28, 2022
    Automated Machine Learning Pipeline with Feature Engineering and Hyper-Parameters Tuning

    The mljar-supervised is an Automated Machine Learning Python package that works with tabular data. I

    MLJAR 2.4k Jan 02, 2023
    slim-python is a package to learn customized scoring systems for decision-making problems.

    slim-python is a package to learn customized scoring systems for decision-making problems. These are simple decision aids that let users make yes-no p

    Berk Ustun 37 Nov 02, 2022
    Programming assignments and quizzes from all courses within the Machine Learning Engineering for Production (MLOps) specialization offered by deeplearning.ai

    Machine Learning Engineering for Production (MLOps) Specialization on Coursera (offered by deeplearning.ai) Programming assignments from all courses i

    Aman Chadha 173 Jan 05, 2023
    A Lucid Framework for Transparent and Interpretable Machine Learning Models.

    Currently a Beta-Version lucidmode is an open-source, low-code and lightweight Python framework for transparent and interpretable machine learning mod

    lucidmode 15 Aug 12, 2022
    This repository has datasets containing information of Uber pickups in NYC from April 2014 to September 2014 and January to June 2015. data Analysis , virtualization and some insights are gathered here

    uber-pickups-analysis Data Source: https://www.kaggle.com/fivethirtyeight/uber-pickups-in-new-york-city Information about data set The dataset contain

    B DEVA DEEKSHITH 1 Nov 03, 2021
    Model Agnostic Confidence Estimator (MACEST) - A Python library for calibrating Machine Learning models' confidence scores

    Model Agnostic Confidence Estimator (MACEST) - A Python library for calibrating Machine Learning models' confidence scores

    Oracle 95 Dec 28, 2022
    Decentralized deep learning in PyTorch. Built to train models on thousands of volunteers across the world.

    Hivemind: decentralized deep learning in PyTorch Hivemind is a PyTorch library to train large neural networks across the Internet. Its intended usage

    1.3k Jan 08, 2023
    Xeasy-ml is a packaged machine learning framework.

    xeasy-ml 1. What is xeasy-ml Xeasy-ml is a packaged machine learning framework. It allows a beginner to quickly build a machine learning model and use

    9 Mar 14, 2022
    Anytime Learning At Macroscale

    On Anytime Learning At Macroscale Learning from sequential data dumps (key) Requirements Python 3.7 Pytorch 1.9.0 Hydra 1.1.0 (pip install hydra-core

    Meta Research 8 Mar 29, 2022
    Model search (MS) is a framework that implements AutoML algorithms for model architecture search at scale.

    Model Search Model search (MS) is a framework that implements AutoML algorithms for model architecture search at scale. It aims to help researchers sp

    AriesTriputranto 1 Dec 13, 2021
    MaD GUI is a basis for graphical annotation and computational analysis of time series data.

    MaD GUI Machine Learning and Data Analytics Graphical User Interface MaD GUI is a basis for graphical annotation and computational analysis of time se

    Machine Learning and Data Analytics Lab FAU 10 Dec 19, 2022
    Machine learning that just works, for effortless production applications

    Machine learning that just works, for effortless production applications

    Elisha Yadgaran 16 Sep 02, 2022
    A Python toolkit for rule-based/unsupervised anomaly detection in time series

    Anomaly Detection Toolkit (ADTK) Anomaly Detection Toolkit (ADTK) is a Python package for unsupervised / rule-based time series anomaly detection. As

    Arundo Analytics 888 Dec 30, 2022