Skip to content

Tools for creating cryptocurrency trading bots using the unified CCXT library

Notifications You must be signed in to change notification settings

Zane-/cryptobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptocurrency Bot

Usage

  • Clone the repo and use exchange_utils.py and auth.py as normal modules.
  • API keys are required for each exchange you use.

Installing Requirements:

pip install -r requirements.txt

Getting API Keys:

  • Generate keys for binance: https://www.binance.com/userCenter/createApi.html
  • Add the keys to a file named api_keys.json in the same directory
    Format of api_keys.json:
    {
        "exchange_name": {
            "api_key": "public api key here",
            "api_secret": "secret key here"
        }
    }
    

Changing Exchanges

  • In auth.py, change ccxt.binance to ccxt.exchange_of_your_choice, see ccxt documentation for a list of supported exchanges. I've tried to make sure all the functions in exchange_utils work across any exchange, but they have only been thouroughly tested on Binance.
    Example:
exchange = ccxt.bittrex({
    'apiKey': keys['bittrex']['api_key'],
    'secret': keys['bittrex']['api_secret'],
})

Examples

Example bots are in the bots subfolder. I am not liable for anything that happens if you choose to use these bots.

About

Tools for creating cryptocurrency trading bots using the unified CCXT library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages