jo-cho / trading-rules-using-machine-learning

A financial trading method using machine learning.
57 stars 37 forks source link
algorithmic-trading finance machine-learning quantitative-finance trading

Trading rules using machine learning

This is my financial trading using ML.

Momentum prediction and enhancing the strategy with machine learning

  1. Financial Data and Bars

    • Form time/dollar bars with tick data
  2. Get Buy/Sell Signals

    • Momentum strategy (RSI..)
    • Additional ML regime detector
  3. Trading Rules

    • Set enter rules with trading signals from classifiers
    • Set exit rules with profit-taking, stop-loss rate, and maximum holding period
    • (For enhancing the strategy) Label the binary outcome (Profit or Loss)
  4. Strategy-Enhancing ML Model

  1. Trading Decision

    • Decide to bet or pass for each trading signal from the momentum strategy. The ML model above will help you.
    • Bet sizing with some advanced models (in progress)
  2. Backtesting

    • Cumulative returns, Sharpe ratio, max drawdown, win ratio

References:

Flowchart

ML Trade Networks