https://github.com/futuresharks/ml-finance
💰 A collection of finance related machine learning examples
https://github.com/futuresharks/ml-finance
Last synced: 3 months ago
JSON representation
💰 A collection of finance related machine learning examples
- Host: GitHub
- URL: https://github.com/futuresharks/ml-finance
- Owner: FutureSharks
- License: gpl-3.0
- Created: 2019-12-01T21:29:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T21:29:30.000Z (over 5 years ago)
- Last Synced: 2025-10-20T04:50:45.261Z (8 months ago)
- Homepage:
- Size: 13.3 MB
- Stars: 98
- Watchers: 6
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💰 Finance related machine learning examples

Because I've seen many examples on Github that are either incomplete, unreliable, poorly documented or have errors.
All examples use [Jupyter Notebook](https://jupyter.readthedocs.io/en/latest/install.html) so you can view the example on github with plots before cloning the repo. Jupyter Notebooks also make it easier to run and debug.
Pull requests and issues welcome.
## 📒 How to run
Open the the Jupyter Notebook from each example and follow the steps.
## 📈 Data
All data is included in the examples or is from [financial-data](https://github.com/FutureSharks/financial-data)
## 📖 Examples
### Example 0: Deep Q Learning with 3 stocks
Location: [0-deep-q-learning-3-stocks](examples/0-deep-q-learning-3-stocks)
### Example 1: Deep Q Learning simulated price data
Location: [1-deep-q-learning-simulated](examples/1-deep-q-learning-simulated)
### Example 2: LSTM model with FOREX data
Location: [2-lstm-forex](examples/2-lstm-forex)
### Example 3: LSTM model with simulated price data
Location: [3-lstm-simulated](examples/3-lstm-simulated)
### Example 4: Time Series Forecasting with LSTM
Location: [4-time-series-forcasting-lstm](examples/4-time-series-forcasting-lstm)
### Example 5: PPO2 and MLP trading AAPL stock
Location: [5-ppo2-ml-appl](examples/5-ppo2-ml-appl)
### Example 6: Random Forest Classifier to prediction direction of DAX 30
Location: [6-random-forest-dax30](examples/6-random-forest-dax30)
### Example 7: Random Forest Classifier with simulated price data
Location: [7-random-forest-simulated](examples/7-random-forest-simulated)
### Example 8: Deep Q Learning with FOREX data
Location: [8-deep-q-forex](examples/8-deep-q-forex)
### Example 9: Deep Q Learning with FOREX more data and technical indicators
Location: [9-deep-q-forex-more-data](examples/9-deep-q-forex-more-data)
### Example 10: Deep Q Learning with FOREX fewer technical indicators
Location: [10-deep-q-forex-variations](examples/10-deep-q-forex-variations)
### Example 11: Deep RL Trader (Duel DQN) Implemented using Keras-RL
Location: [11-deep-rl-trader](examples/11-deep-rl-trader)