Free, open source crypto trading bot
Go to file
2017-05-24 21:52:41 +02:00
rpc fix division by zero in profit handler 2017-05-21 22:51:32 +02:00
.gitignore add README; minor refactoring 2017-05-18 02:13:02 +02:00
analyze.py implement StochRSI buy signal handler 2017-05-24 21:52:41 +02:00
config.json.example minor changes 2017-05-21 16:52:36 +02:00
exchange.py major refactoring 2017-05-18 02:13:02 +02:00
LICENSE Initial commit 2017-05-18 02:13:02 +02:00
main.py implement StochRSI buy signal handler 2017-05-24 21:52:41 +02:00
persistence.py use a different db handle for dry_run 2017-05-21 17:58:54 +02:00
README.md s/trade_thresholds/minimal_roi/ 2017-05-20 21:30:42 +02:00
requirements.txt implement StochRSI buy signal handler 2017-05-24 21:52:41 +02:00
utils.py make conf validation more robust 2017-05-22 22:15:33 +02:00

freqtrade

Simple High frequency trading bot for crypto currencies. Currently supported exchanges: bittrex, poloniex (partly implemented)

This software is for educational purposes only. Don't risk money which you are afraid to lose.

The command interface is accessible via Telegram (not required). Just register a new bot on https://telegram.me/BotFather and enter the telegram token and your chat_id in config.json

Persistence is achieved through sqlite.

Telegram RPC commands:
  • /start: Starts the trader
  • /stop: Stops the trader
  • /status: Lists all open trades
  • /profit: Lists cumulative profit from all finished trades
  • /cancel: cancels open order for given trade (currently disabled)
Config

minimal_roi is a JSON object where the key is a duration in minutes and the value is the minimum ROI in percent. See the example below:

"minimal_roi": {
    "2880": 0.005, # Sell after 48 hours if there is at least 0.5% profit
    "1440": 0.01,  # Sell after 24 hours if there is at least 1% profit
    "720":  0.02,  # Sell after 12 hours if there is at least 2% profit
    "360":  0.02,  # Sell after 6 hours if there is at least 2% profit
    "0":    0.025  # Sell immediatly if there is at least 2.5% profit
},

The other values should be self-explanatory, if not feel free to raise a github issue.

Prerequisites
  • python3
  • sqlite
Install
$ cd freqtrade/
# copy example config. Dont forget to insert your api keys
$ cp config.json.example config.json
$ python -m venv .env
$ source .env/bin/activate
$ pip install -r requirements.txt
$ ./main.py