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
    This repo implements a Topological SLAM: Deep Visual Odometry with Long Term Place Recognition (Loop Closure Detection)

    This repo implements a topological SLAM system. Deep Visual Odometry (DF-VO) and Visual Place Recognition are combined to form the topological SLAM system.

    Best of Australian Centre for Robotic Vision (ACRV) 32 Jun 23, 2022
    Provide an input CSV and a target field to predict, generate a model + code to run it.

    automl-gs Give an input CSV file and a target field you want to predict to automl-gs, and get a trained high-performing machine learning or deep learn

    Max Woolf 1.8k Jan 04, 2023
    The code from the Machine Learning Bookcamp book and a free course based on the book

    The code from the Machine Learning Bookcamp book and a free course based on the book

    Alexey Grigorev 5.5k Jan 09, 2023
    Tools for mathematical optimization region

    Tools for mathematical optimization region

    林景 15 Nov 30, 2022
    Customers Segmentation with RFM Scores and K-means

    Customer Segmentation with RFM Scores and K-means RFM Segmentation table: K-Means Clustering: Business Problem Rule-based customer segmentation machin

    5 Aug 10, 2022
    customer churn prediction prevention in telecom industry using machine learning and survival analysis

    Telco Customer Churn Prediction - Plotly Dash Application Description This dash application allows you to predict telco customer churn using machine l

    Benaissa Mohamed Fayçal 3 Nov 20, 2021
    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 with scikit-learn

    auto-sklearn auto-sklearn is an automated machine learning toolkit and a drop-in replacement for a scikit-learn estimator. Find the documentation here

    AutoML-Freiburg-Hannover 6.7k Jan 07, 2023
    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
    Combines MLflow with a database (PostgreSQL) and a reverse proxy (NGINX) into a multi-container Docker application

    Combines MLflow with a database (PostgreSQL) and a reverse proxy (NGINX) into a multi-container Docker application (with docker-compose).

    Philip May 2 Dec 03, 2021
    Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Now updated with Dask to handle millions of rows.

    Auto_TS: Auto_TimeSeries Automatically build multiple Time Series models using a Single Line of Code. Now updated with Dask. Auto_timeseries is a comp

    AutoViz and Auto_ViML 519 Jan 03, 2023
    MLR - Machine Learning Research

    Machine Learning Research 1. Project Topic 1.1. Exsiting research Benmark: https://paperswithcode.com/sota ACL anthology for NLP papers: http://www.ac

    Charles 69 Oct 20, 2022
    Case studies with Bayesian methods

    Case studies with Bayesian methods

    Baze Petrushev 8 Nov 26, 2022
    ThunderGBM: Fast GBDTs and Random Forests on GPUs

    Documentations | Installation | Parameters | Python (scikit-learn) interface What's new? ThunderGBM won 2019 Best Paper Award from IEEE Transactions o

    Xtra Computing Group 648 Dec 16, 2022
    Formulae is a Python library that implements Wilkinson's formulas for mixed-effects models.

    formulae formulae is a Python library that implements Wilkinson's formulas for mixed-effects models. The main difference with other implementations li

    34 Dec 21, 2022
    LibTraffic is a unified, flexible and comprehensive traffic prediction library based on PyTorch

    LibTraffic is a unified, flexible and comprehensive traffic prediction library, which provides researchers with a credibly experimental tool and a convenient development framework. Our library is imp

    432 Jan 05, 2023
    Machine learning model evaluation made easy: plots, tables, HTML reports, experiment tracking and Jupyter notebook analysis.

    sklearn-evaluation Machine learning model evaluation made easy: plots, tables, HTML reports, experiment tracking, and Jupyter notebook analysis. Suppo

    Eduardo Blancas 354 Dec 31, 2022
    a distributed deep learning platform

    Apache SINGA Distributed deep learning system http://singa.apache.org Quick Start Installation Examples Issues JIRA tickets Code Analysis: Mailing Lis

    The Apache Software Foundation 2.7k Jan 05, 2023
    AutoX是一个高效的自动化机器学习工具,它主要针对于表格类型的数据挖掘竞赛。 它的特点包括: 效果出色、简单易用、通用、自动化、灵活。

    English | 简体中文 AutoX是什么? AutoX一个高效的自动化机器学习工具,它主要针对于表格类型的数据挖掘竞赛。 它的特点包括: 效果出色: AutoX在多个kaggle数据集上,效果显著优于其他解决方案(见效果对比)。 简单易用: AutoX的接口和sklearn类似,方便上手使用。

    4Paradigm 431 Dec 28, 2022
    Machine Learning e Data Science com Python

    Machine Learning e Data Science com Python Arquivos do curso de Data Science e Machine Learning com Python na Udemy, cliqe aqui para acessá-lo. O prin

    Renan Barbosa 1 Jan 27, 2022