Sample programs trading with the OANDA API through Python2.7
This repo contains a trading program that could (almost) make money by trading when WMA and SMA cross. There is also a file containing a few extremely simple functions which will open a trade or an order respectively.
- Clone this repo to the location of your choice
- Modify api-order.py to do whatever you wish, or simply run api-trade-averages.py using Python2.7