- The goal is to provide a backtesting and live trading tool, which can run multiple strategies on up to 10 currency pairs.
- Strategies can monitor up to three timeframes (e.g. H1, H2 and D1) and calculate buy/sell actions based on them.
Besides building your own, you can also use a wide range of indicators via TA-Lib or numpy.
* OANDA supports most commonly used timeframes. You can find all supported values here. .. _here: http://developer.oanda.com/rest-live/rates/#retrieveInstrumentHistory.
* Add Matplot/Plot.ly support. See also following tutorial. .. _tutorial: http://www.randalolson.com/2014/06/28/how-to-make-beautiful-data-visualizations-in-python-with-matplotlib/. * Implement proxy class for backtesting, which will first check if data is available locally and only then fetch/save via API. * Implement usage of ETags to reduce traffic/latency. * Prepare Makefile.
git clone [email protected]:jmelett/pyFxTrader.git
cd pyFxTrader
virtualenv env
source env/bin/activate
pip install -e .
./cmd.py -h