Exports historical bid/ask or mid candlestick data from Oanda to a csv file that may be useful for backtesting purposes.
Simply download the source code zip or clone the repository to your device.
Put in your OANDA API key into configs.py, change ACCOUNT_TYPE to 'practice' for paper trading accounts or 'trade' for live accounts, and edit other settings to your liking.