This is the code for developing an automated Forex trading system using Oanda as a broker. I plan to implement many features into this, so if you have anything you want to see, fell free to leave comments under issues.
List of planned features:
DISCLAIMER! Forex trading carries a heavy amount of risk. Any and everything outlined in this code is for educational purposes only. I am not responsible for any of your losses or any hardships you may face as a result of using this code. Again, this is meant to be used ONLY for educational purposes.
You will need to install oandapyV20 and requests
This strategy is based on a 2 simple moving average cross. The TP/SL levels are set with support and resistance lines for the past candles.
user$: python app.py
Your system should now be running!