trading_demo

Forex trading robot for illustration purposes

MIT License

Stars
8

Automated FOREX trading with Python

You can watch how do I built this code on Youtube

Youtube content:

This code is designed for demo only.

Development

Install python 3.7 and the requirements from requirements.txt

How to use

You have to set the following environment variables:

  • API_URL Base url for your broker
  • ACCESS_TOKEN Access token for your broker

Positional Arguments:

  • Instrument (e.g. EUR_USD)
  • Granularity (e.g. M15)
  • Data folder - collected data will be written there
python collect_candles.py 

This details are needed for my broker, but if you find an other broker, with a slight change of code I'm sure you can make it as well.

If you need any help for a different broker setup, reach me out, I'm happy to give some pointers.

Tools that I've mentioned in my video