https://github.com/nicolasbonnici/cryptobot
Crypto trading bot wrote using Python 3.9.
https://github.com/nicolasbonnici/cryptobot
crypto-bot exchanges python3 symbol-pair trade
Last synced: 4 months ago
JSON representation
Crypto trading bot wrote using Python 3.9.
- Host: GitHub
- URL: https://github.com/nicolasbonnici/cryptobot
- Owner: nicolasbonnici
- License: mit
- Created: 2021-02-05T11:38:45.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-08-10T18:00:42.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T20:47:59.807Z (almost 2 years ago)
- Topics: crypto-bot, exchanges, python3, symbol-pair, trade
- Language: Python
- Homepage: https://nbonnici.info/
- Size: 81.1 KB
- Stars: 208
- Watchers: 18
- Forks: 90
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crypto bot
Crypto trading bot wrote using Python 3.9.
- Run your own strategies
- Trade, backtest and live test modes available
- Easily integrate exchanges
More details here on [full project article](https://dev.to/nicolasbonnici/how-to-build-a-crypto-bot-with-python-3-and-the-binance-api-part-1-1864).
## Install and configure project
### Install dependencies
```bash
pip install --no-cache-dir -r requirements.txt
```
### Usage
Configure by creating a .env file from the .env.dist
```bash
./main.py
```
You can set particular symbol pair by using an argument
```bash
./main.py BTC_EUR
```
You can override any env parameter like so
```bash
MODE=live ./main.py BTC_EUR
```
### Available modes
- "trade" to trade on candlesticks
- "live" to live trade through WebSocket
- "backtest" to test a strategy for a given symbol pair and a period
- "import" to import dataset from exchanges for a given symbol pair and a period