My personal Poloniex altcoin trader. Heavily inspired by quantopian.
To clone and run this application, you'll need Git and Python 3 installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/GooTZ/poloTrader.git
# Go into the repository
$ cd poloTrader
# Install dependencies
$ python setup.py install
In order to use the trading capabilities you first have to set up the script to use your Poloniex APIKey and Secret.
cp example-config.toml config.toml
Edit the config.toml
and enter your APIKey and Secret.
The script can be executed in the following manner:
python run.py -m <mode>
with the following modes available:
TESTING
: Fetches data from csv files. Used for backtesting your algorithm.
LIVE_TESTING
: Gets the live data from Poloniex, but does not perform actual trading actions.
TRADING
: Trades live on Poloniex according to your algorithm. Use on your own risk!
FETCH_DATA
: Fetches live data and saves it in csv files to use it for future backtesting.
This section is still work in progress.
This software uses several open source packages.
Also special thanks to:
- Poloniex for providing the trading platform and API.
- Quantopian for the great inspiration in the scripting environment.