Awesome Open Source
Awesome Open Source

This repo is not under development anymore. It is outdated and may not run as expected on paper/live trading, although the backtesting, paper implementations and strategies are probably good.

Cryptotrader - Cryptocurrency Trader Agent and Agent Development Environment

This repository contains infra-structure for agent backtesting and cryptocoin trading. Currently it supports backtesting and papertrading using poloniex's historical dada and also live trading at poloniex. We are, however, not associated or affiliated anyhow with poloniex or any services that it provides. It is under active development and is provided "AS-IS", without any warrants whatsoever.

Getting Started

Prerequisites

In order to get started, you will need python and some dependencies:

- Python 3.6
- numpy
- pandas
- bokeh
- chainer
- optunity
- ta-lib
- cvxopt
- empyrical
- jupyter

You also will need ta-lib binaries installed on your system.

Installing

Just clone this repository and install using pip:

git clone [email protected]:naripok/cryptotrader.git
cd cryptotrader/
pip3 install .

Running backtests

Inside notebooks directory you will find jupyter notebooks containing code to optimize and backtest some example agents. You just need to run it under an active internet connection, as the data will be downloaded on the go.

Running Paper Trading

In order to run paper trading, you will need to specify the initial balance. The api is similar to the backtest one. You can also specify some gmail addr and password in order to receive trade and debug logs. There is, as well, an example notebook inside notebooks dir.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Buy us a coffee

If this module or some of our strategies makes you some money, we gladly accept some coffee... or coins... =D

BTC: 1Q9xCNhqs5gWToovR8petSRYMreEvZEQyA

Thank you very much!



Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (808,235
Machine Learning (37,158
Cryptocurrency (7,577
Finance (6,991
Trading (5,784
Coffee (3,513
Gym (2,505
Backtesting (536
Backtest (371
Poloniex (313