hayatoy / ml-forex-prediction

Predicting Forex Future Price with Machine Learning
MIT License
272 stars 113 forks source link
forex-prediction machine-learning ml python scikit-learn

Predicting Financial Time Series Data with Machine Learning

This is an example that predicts future prices from past price movements. Here we implement it with EUR/USD rate as an example, and you can also predict stock prices by changing symbol.

Backtest example for EUR/USD

Using daily close prices from 2008 to 2016, first 95% for training and last 5% for testing. Green and red vertical lines represent winning trade and losing trade respectively. Equity

Installation

To run this demo, you need following environment and libraries.

Note: You may need extra libraries to install above.

License

MIT License, Copyright (c) 2017