Skip to content

kaneelgit/Trading-strategy-

Repository files navigation

Trading-strategy-

Here I test a simple ML trading strategy

Please note

  • I have commented out the paths in the code. If you use code you'd have to correct them accordingly.
  • You will need to create a TDA developer account (https://developer.tdameritrade.com/apis) and get the API key in order to download the data. I have left this blank in the code where I used to download data.

The blog article with results --> (https://medium.com/analytics-vidhya/how-im-using-machine-learning-to-trade-in-the-stock-market-3ba981a2ffc2)

Some results -

Predicted buying opportunities

1_2rdETRDZHCg4NqnIaXDWDA

Model comparison with the S&P 500 gains in 2021

1_ZjoDR8c7fDGqMKXyRIbfpw

About

Here I test a simple ML trading strategy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published