oanda-backtest is a python library for backtest with oanda fx rest api on Python 3.6 and above.
pip install oanda-backtest