<<<<<<< HEAD
--- author/creator = @epociask --- --- author/creator = @a-drain ---
- Clone the repo
- Create a python 3.7+ conda environment or a python virtualenv (do this so you dont have to worry about non-compatible dependencies/python versions and shit, can get annoying to deal with)
- Run
pip install -r requirements.txt
to get all the deps ya need - Run something! Examples commands down below :)
To run a backtest, make sure you're in src/BackTest
and run the following:
python Backtester.py -p <Pair> --candleSize <candlesize> --strategy <strategy> -sl <stoploss percentage> -tp <take profit percentage> --principle <principle> --readFromDatabase <optional; false> --outputGraph True -t <timet to backtest on>
To start a paper trading instance, run the following replacing <> with your own params
python PaperTraderDriver.py --pair <pair> --candlesize <candlesize> --strategy <strat> -sl <stoploss> -tp <takeprofit> -pr <principle>
Yet to be implemented; Let's figure out a working strat before we blow all of our cash ;)
Ensure postgresql is installed
TODO: Move this info somewhere a bit more secure
[postgresql]
user=doadmin
password=imt6kws2bm7ffay8
host=coin-do-user-7113675-0.db.ondigitalocean.com
port=25060
database=defaultdb