2021-01-26 22:25:35 +08:00
# Trading ML Experiment
This is a study on how different Neural Networks would be able to find the right way of modelling and finding a pattern through limited past or backtests before attempting to place a trade.
2021-09-18 21:17:41 +08:00
Develop in Python 🐍 with all of the packages mentioned in the `requirements.txt` . Primarily using Pytorch to model a Neural Network.
2021-09-22 23:27:08 +08:00
Actually, Pytorch is a bit advanced for a noob like me. So I used sci-kit learn and just get a working model with the defaults first.
## Usage
2021-09-24 20:50:55 +08:00
Other than the required pip to install, the Metatrader client must have "Autotrading" mode enabled.
2021-09-22 23:27:08 +08:00
2021-09-24 20:50:55 +08:00
Copy and paste the `config.sample.py` file to `config.py` and change the contents to fit for your account and pairs that you want to trade.
Then run,
`python3 app.py`
## Development and Contribution
This repo utilises [pre-commit ](https://pre-commit.com/ ) and manages package management with `pipenv` .
To set up the dev environment, `pipenv install -d` and `pre-commit install` .
2021-09-25 11:43:06 +08:00
## TODO
- [] Get a working docker container of MT5 running
- [] Have the local `app.py` file point to the running MT5 docker container instance
- [] Containerize `app.py` while pointing to the running MT5 docker container instance
- [] Add cron job to execute `app.py` container while pointing to the running MT5 docker container instance