Skip to content

epociask/Volatrader

Repository files navigation

<<<<<<< HEAD

The Volatrader

--- author/creator = @epociask --- --- author/creator = @a-drain ---

Installation

  1. Clone the repo
  2. 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)
  3. Run pip install -r requirements.txt to get all the deps ya need
  4. Run something! Examples commands down below :)

Components

  1. Backtester
  2. PaperTrader
  3. LiveTrader
  4. DataBase

Backtester

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>

PaperTrader

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>   

LiveTrader

Yet to be implemented; Let's figure out a working strat before we blow all of our cash ;)

DataBase

To Access

Ensure postgresql is installed

Digital Ocean Database login info

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

HELPFUL LINKS

About

Trading Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages