Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Zane-/cryptobot
Tools for creating cryptocurrency trading bots using the unified CCXT library
https://github.com/Zane-/cryptobot
Last synced: 25 days ago
JSON representation
Tools for creating cryptocurrency trading bots using the unified CCXT library
- Host: GitHub
- URL: https://github.com/Zane-/cryptobot
- Owner: Zane-
- Created: 2017-06-14T18:27:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:45:42.000Z (about 2 years ago)
- Last Synced: 2024-08-03T18:12:26.448Z (4 months ago)
- Language: Python
- Homepage:
- Size: 104 KB
- Stars: 18
- Watchers: 9
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ccxt - cryptobot - lowhighbot, poolbot, releasebot (Trading bots)
README
# 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](https://github.com/ccxt/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:
```python
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.