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
    Kubeflow is a machine learning (ML) toolkit that is dedicated to making deployments of ML workflows on Kubernetes simple, portable, and scalable.

    SDK: Overview of the Kubeflow pipelines service Kubeflow is a machine learning (ML) toolkit that is dedicated to making deployments of ML workflows on

    Kubeflow 3.1k Jan 06, 2023
    YouTube Spam Detection with python

    YouTube Spam Detection This code deletes spam comment on youtube videos based on two characteristics (currently) If the author of the comment has a se

    MohamadReza Taalebi 5 Sep 27, 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
    Extended Isolation Forest for Anomaly Detection

    Table of contents Extended Isolation Forest Summary Motivation Isolation Forest Extension The Code Installation Requirements Use Citation Releases Ext

    Sahand Hariri 377 Dec 18, 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
    A project based example of Data pipelines, ML workflow management, API endpoints and Monitoring.

    MLOps template with examples for Data pipelines, ML workflow management, API development and Monitoring.

    Utsav 33 Dec 03, 2022
    Pandas-method-chaining is a plugin for flake8 that provides method chaining linting for pandas code

    pandas-method-chaining pandas-method-chaining is a plugin for flake8 that provides method chaining linting for pandas code. It is a fork from pandas-v

    Francis 5 May 14, 2022
    Adaptive: parallel active learning of mathematical functions

    adaptive Adaptive: parallel active learning of mathematical functions. adaptive is an open-source Python library designed to make adaptive parallel fu

    741 Dec 27, 2022
    AutoX是一个高效的自动化机器学习工具,它主要针对于表格类型的数据挖掘竞赛。 它的特点包括: 效果出色、简单易用、通用、自动化、灵活。

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

    4Paradigm 431 Dec 28, 2022
    High performance, easy-to-use, and scalable machine learning (ML) package, including linear model (LR), factorization machines (FM), and field-aware factorization machines (FFM) for Python and CLI interface.

    What is xLearn? xLearn is a high performance, easy-to-use, and scalable machine learning package that contains linear model (LR), factorization machin

    Chao Ma 3k Jan 08, 2023
    inding a method to objectively quantify skill versus chance in games, using reinforcement learning

    Skill-vs-chance-games-analysis - Finding a method to objectively quantify skill versus chance in games, using reinforcement learning

    Marcus Chiam 4 Nov 19, 2022
    A Python toolbox to churn out organic alkalinity calculations with minimal brain engagement.

    Organic Alkalinity Sausage Machine A Python toolbox to churn out organic alkalinity calculations with minimal brain engagement. Getting started To mak

    Charles Turner 1 Feb 01, 2022
    A python fast implementation of the famous SVD algorithm popularized by Simon Funk during Netflix Prize

    ⚡ funk-svd funk-svd is a Python 3 library implementing a fast version of the famous SVD algorithm popularized by Simon Funk during the Neflix Prize co

    Geoffrey Bolmier 171 Dec 19, 2022
    Greykite: A flexible, intuitive and fast forecasting library

    The Greykite library provides flexible, intuitive and fast forecasts through its flagship algorithm, Silverkite.

    LinkedIn 1.4k Jan 15, 2022
    This machine-learning algorithm takes in data from the last 60 days and tries to predict tomorrow's price of any crypto you ask it.

    Crypto-Currency-Predictor This machine-learning algorithm takes in data from the last 60 days and tries to predict tomorrow's price of any crypto you

    Hazim Arafa 6 Dec 04, 2022
    Retrieve annotated intron sequences and classify them as minor (U12-type) or major (U2-type)

    (intron I nterrogator and C lassifier) intronIC is a program that can be used to classify intron sequences as minor (U12-type) or major (U2-type), usi

    Graham Larue 4 Jul 26, 2022
    Temporal Alignment Prediction for Supervised Representation Learning and Few-Shot Sequence Classification

    Temporal Alignment Prediction for Supervised Representation Learning and Few-Shot Sequence Classification Introduction. This package includes the pyth

    5 Dec 06, 2022
    cleanlab is the data-centric ML ops package for machine learning with noisy labels.

    cleanlab is the data-centric ML ops package for machine learning with noisy labels. cleanlab cleans labels and supports finding, quantifying, and lear

    Cleanlab 51 Nov 28, 2022
    A repository to index and organize the latest machine learning courses found on YouTube.

    📺 ML YouTube Courses At DAIR.AI we ❤️ open education. We are excited to share some of the best and most recent machine learning courses available on

    DAIR.AI 9.6k Jan 01, 2023