[go: up one dir, main page]

Menu

Tree [9cd835] 0.0.10-alpha /
 History

HTTPS access


File Date Author Commit
 .github 2018-04-20 Paul Bouquet Paul Bouquet [ba16fb] #85 Issues & pull request
 backtesting 2018-05-01 Guillaume De Saint Martin Guillaume De Saint Martin [1c48e6] #117 added test_reactions_to_dump to all TA and...
 config 2018-05-05 Paul Bouquet Paul Bouquet [9cd835] Release alpha version 0.0.10
 docs 2018-05-05 Paul Bouquet Paul Bouquet [9cd835] Release alpha version 0.0.10
 evaluator 2018-05-05 Paul Bouquet Paul Bouquet [8d6735] Fix notifications : only concerned symbol
 interfaces 2018-05-05 Guillaume De Saint Martin Guillaume De Saint Martin [9a6d7d] #129 fixed error when selecting different symbo...
 logs 2018-04-10 Paul Bouquet Paul Bouquet [1c4dd1] Setup new logging with file
 services 2018-04-28 Guillaume De Saint Martin Guillaume De Saint Martin [335423] #20 improved twitter new evaluator
 tests 2018-05-04 Guillaume De Saint Martin Guillaume De Saint Martin [7d49b1] #124 added flat trend tests on all TA
 tools 2018-05-05 Paul Bouquet Paul Bouquet [8d6735] Fix notifications : only concerned symbol
 trading 2018-05-03 Paul Bouquet Paul Bouquet [800e5f] Fix trade profitability with new order method
 .coveralls.yml 2018-05-01 Paul Bouquet Paul Bouquet [c47976] #86 [CI] Implement third party
 .gitignore 2018-05-03 Paul Bouquet Paul Bouquet [c8df4b] Fix matrix history
 .travis.yml 2018-05-01 Paul Bouquet Paul Bouquet [0d7e65] Fix travis
 CONTRIBUTING.md 2018-04-20 Paul Bouquet Paul Bouquet [b5858d] #85 #83 Create CONTRIBUTING.md and issue templates
 Dockerfile 2018-04-22 Paul Bouquet Paul Bouquet [ad0984] Prepare dockerfile
 LICENSE 2018-02-23 Herklos Herklos [982b51] Initial commit
 README.md 2018-05-05 Paul Bouquet Paul Bouquet [9cd835] Release alpha version 0.0.10
 cryptobot.py 2018-05-04 Paul Bouquet Paul Bouquet [ed7185] Prepare new test version
 dev_requirements.txt 2018-05-03 Paul Bouquet Paul Bouquet [577cce] Update requirements
 requirements.txt 2018-05-03 Paul Bouquet Paul Bouquet [577cce] Update requirements
 setup.cfg 2018-05-01 Paul Bouquet Paul Bouquet [e4b778] Add developpers environment installer
 setup.py 2018-05-01 Paul Bouquet Paul Bouquet [4c15da] #86 Fix CI / postpone Coveralls
 start.py 2018-05-05 Paul Bouquet Paul Bouquet [fade75] FIx risk logic with market orders
 tox.ini 2018-05-01 Paul Bouquet Paul Bouquet [d90fb8] #86 change CI with tox

Read Me

CryptoBot Codacy Badge Build Status Coverage Status

Version 0.0.10-alpha (changelog)

Disclaimer

This software is for educational purposes only. Do not risk money which
you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS
AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.

Always start by running a trading bot in simulation mode and do not engage money
before you understand how it works and what profit/loss you should
expect.

We strongly recommend you to have coding and Python knowledge. Do not
hesitate to read the source code and understand the mechanism of this bot.

Moreover, we are in the alpha phase so you should not expect the bot to be stable.

Demo

See live demo here

Install

See installation wiki page

With python3 :

git clone https://github.com/Trading-Bot/CryptoBot
cd CryptoBot
pip install -r requirements.txt

Configuration

Create a config.json file in the config folder with the following example :

Rename config/default_config.json to config/config.json

More configuration

See Configuration Wiki

"crypto_currencies": {
    "Bitcoin": {
      "pairs" : ["BTC/USDT"]
    }
}

See Exchanges Wiki

"exchanges": {
    "binance": {
      "api-key": "",
      "api-secret": ""
    }
}

See Notifications Wiki

"notification":{
    "enabled": true,
    "type": [1, 2]
}

See Trader Wiki

"trader":{
    "enabled": false,
    "risk": 0.5
}

See Simulator Wiki

"simulator":{
    "enabled": true,
    "risk": 0.5,
    "starting_portfolio": {
      "BTC": 10,
      "USDT": 1000
    }
}

See Services Wiki

"services": {}

Usage

python start.py

Customize you CryptoBot !

Adding implementations of any evaluator

To add another implementation of an existing evaluator, 3 simple steps:
1. Create a class inheriting the evaluator to improve
2. Store it in the evaluator's Advanced folder (in CryptoBot/evaluator/evaluator_type/Advanced).
3. In this Advanced folder, create or update the __init__.py file to add the following line:

from .file_containing_new_implementation_name.py import *

Adding implementations of any analysis tool

To add another implementation of an existing analysis tool, 3 simple steps:
1. Create a class inheriting the analyser to improve
2. Store it in the Advanced folder (in CryptoBot/evaluator/Util/Advanced).
3. In this Advanced folder, create or update the __init__.py file to add the following line:

from .file_containing_new_implementation_name.py import *

More information and examples on the wiki

Testing

Use pytest command in the root folder :

pytest

Changelog

See changelog file

More

For more details see the project wiki.