CryptoBuyBot is a simple bot that creates a market order on a selected crypto exchange with a selected amount.
Functionality is intentionally limited to the minimum necessary. This should make it easier to understand and verify the behavior of CryptoBuyBot.
usage: bot.py [-h] (--coinbase | --kraken | --binance) --amount AMOUNT
--ticker TICKER --api-key API_KEY --api-secret API_SECRET
--api-passphrase API_PASSPHRASE [--verbose]
optional arguments:
-h, --help show this help message and exit
--coinbase Trade on Coinbase Pro exchange.
--kraken Trade on Kraken exchange (NOT SUPPORTED yet).
--binance Trade on Binance exchange (NOT SUPPORTED yet).
--amount AMOUNT
--ticker TICKER Selected traiding pair (e.g. BTC-EUR)
--api-key API_KEY
--api-secret API_SECRET
--api-passphrase API_PASSPHRASE
--verbose
Please install the necessary packages before running bot.
pip install -r requirements.txt
- View
- Trade
- Add an API key
- Check permitions View and Trade (do not give Transfer permission!)
- Set a good and long passphrase is you want to. Fill the passphrase in the config.json
- Set your IP in the white list (security increase)
- Verify the new API key
- Fill generated API-SECRET in the config.json as SECRET-KEY
- Click done (you will not see the API-SECRET anymore)
- Fill the generated API key (hash like string in the API list) as API-KEY
- Kraken support
- Binance support
Please check the functionality of this robot. Even if the robot is under your control, never give it an API with the ability to move your fund. Check regularly that it works as you expect. I make no guarantees that the robot is error-free and will work as you expect.