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
    Bayesian optimization based on Gaussian processes (BO-GP) for CFD simulations.

    BO-GP Bayesian optimization based on Gaussian processes (BO-GP) for CFD simulations. The BO-GP codes are developed using GPy and GPyOpt. The optimizer

    KTH Mechanics 8 Mar 31, 2022
    Nevergrad - A gradient-free optimization platform

    Nevergrad - A gradient-free optimization platform nevergrad is a Python 3.6+ library. It can be installed with: pip install nevergrad More installati

    Meta Research 3.4k Jan 08, 2023
    Basic Docker Compose for Machine Learning Purposes

    Docker-compose for Machine Learning How to use: cd docker-ml-jupyterlab

    Chris Chen 1 Oct 29, 2021
    50% faster, 50% less RAM Machine Learning. Numba rewritten Sklearn. SVD, NNMF, PCA, LinearReg, RidgeReg, Randomized, Truncated SVD/PCA, CSR Matrices all 50+% faster

    [Due to the time taken @ uni, work + hell breaking loose in my life, since things have calmed down a bit, will continue commiting!!!] [By the way, I'm

    Daniel Han-Chen 1.4k Jan 01, 2023
    Simulate & classify transient absorption spectroscopy (TAS) spectral features for bulk semiconducting materials (Post-DFT)

    PyTASER PyTASER is a Python (3.9+) library and set of command-line tools for classifying spectral features in bulk materials, post-DFT. The goal of th

    Materials Design Group 4 Dec 27, 2022
    Skoot is a lightweight python library of machine learning transformer classes that interact with scikit-learn and pandas.

    Skoot is a lightweight python library of machine learning transformer classes that interact with scikit-learn and pandas. Its objective is to ex

    Taylor G Smith 54 Aug 20, 2022
    MCML is a toolkit for semi-supervised dimensionality reduction and quantitative analysis of Multi-Class, Multi-Label data

    MCML is a toolkit for semi-supervised dimensionality reduction and quantitative analysis of Multi-Class, Multi-Label data. We demonstrate its use

    Pachter Lab 26 Nov 29, 2022
    (3D): LeGO-LOAM, LIO-SAM, and LVI-SAM installation and application

    SLAM-application: installation and test (3D): LeGO-LOAM, LIO-SAM, and LVI-SAM Tested on Quadruped robot in Gazebo ● Results: video, video2 Requirement

    EungChang-Mason-Lee 203 Dec 26, 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
    Price Prediction model is used to develop an LSTM model to predict the future market price of Bitcoin and Ethereum.

    Price Prediction model is used to develop an LSTM model to predict the future market price of Bitcoin and Ethereum.

    2 Jun 14, 2022
    DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.

    DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective. 10x Larger Models 10x Faster Trainin

    Microsoft 8.4k Dec 30, 2022
    Management of exclusive GPU access for distributed machine learning workloads

    TensorHive is an open source tool for managing computing resources used by multiple users across distributed hosts. It focuses on granting

    Paweł Rościszewski 131 Dec 12, 2022
    We have a dataset of user performances. The project is to develop a machine learning model that will predict the salaries of baseball players.

    Salary-Prediction-with-Machine-Learning 1. Business Problem Can a machine learning project be implemented to estimate the salaries of baseball players

    Ayşe Nur Türkaslan 9 Oct 14, 2022
    Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters

    Somoclu Somoclu is a massively parallel implementation of self-organizing maps. It exploits multicore CPUs, it is able to rely on MPI for distributing

    Peter Wittek 239 Nov 10, 2022
    GroundSeg Clustering Optimized Kdtree

    ground seg and clustering based on kitti velodyne data, and a additional optimized kdtree for knn and radius nn search

    2 Dec 02, 2021
    A game theoretic approach to explain the output of any machine learning model.

    SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any machine learning model. It connects optimal credit allo

    Scott Lundberg 18.2k Jan 02, 2023
    A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function.

    pmdarima Pmdarima (originally pyramid-arima, for the anagram of 'py' + 'arima') is a statistical library designed to fill the void in Python's time se

    alkaline-ml 1.3k Dec 22, 2022
    AutoTabular automates machine learning tasks enabling you to easily achieve strong predictive performance in your applications.

    AutoTabular automates machine learning tasks enabling you to easily achieve strong predictive performance in your applications. With just a few lines of code, you can train and deploy high-accuracy m

    Robin 55 Dec 27, 2022
    Uplift modeling and causal inference with machine learning algorithms

    Disclaimer This project is stable and being incubated for long-term support. It may contain new experimental code, for which APIs are subject to chang

    Uber Open Source 3.7k Jan 07, 2023
    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