Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabriciocovalesci/bottrading
BotTrading is a trading bot, which uses Exchange Binance to buy and sell altcoins
https://github.com/fabriciocovalesci/bottrading
binance binance-api bot bot-trading heroku postgresql psycopg2 python
Last synced: about 1 month ago
JSON representation
BotTrading is a trading bot, which uses Exchange Binance to buy and sell altcoins
- Host: GitHub
- URL: https://github.com/fabriciocovalesci/bottrading
- Owner: fabriciocovalesci
- License: mit
- Created: 2021-04-14T02:30:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-05T17:23:32.000Z (over 3 years ago)
- Last Synced: 2023-03-05T13:57:52.886Z (almost 2 years ago)
- Topics: binance, binance-api, bot, bot-trading, heroku, postgresql, psycopg2, python
- Language: Python
- Homepage:
- Size: 19.1 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
BotTrading :robot:![Python](https://img.shields.io/badge/Python-v3.9.3-blue)
## How to run this project local
- NOTE: Commands for installation on Linux, it is necessary to have the [virtualenv](https://docs.python.org/3/tutorial/venv.html) installed and configured.
| Description | COMMANDS |
|--------------------------------------|------------------------------------------------------------------------|
| Clone the repository | `git clone [email protected]:fabriciocovalesci/BotTrading.git` |
| Access the BotTrading folder | `cd BotTrading` |
| Create a python virtualenv | `python -m venv virtualenv` |
| Enable virtualenv | `source virtualenv/bin/activate` |
| Install project dependencies | `pip install -r requirements.txt` |### Create `.env` at the root of the project
```
API_KEY = 'YOUR_API_KEY_BINANCE'
API_SECRET = 'YOUR_API_SECRET_BINANCE'
GMAIL_EMAIL = 'YOUR_EMAIL'
GMAIL_PASSWORD = 'YOUR_PASSWORD'
GMAIL_RECEIVER_ADDRESS = 'YOUR_EMAIL_OR_OTHER_EMAIL'
POSTGRESQL_USER = 'USER_POSTGRESQL'
POSTGRESQL_PASSWORD = 'PASSWORD_POSTGRESQL'
POSTGRESQL_DATABASE = 'NAME_DATA_BASE'
POSTGRESQL_HOST = '127.0.0.1'
POSTGRESQL_PORT = '5432'
```### Now run **BotTrading**
```
>> python3 Bot.py
```
### Project Architecture
![BotTrading](https://user-images.githubusercontent.com/40548641/117583017-4791dc80-b0db-11eb-9742-08843ae936c0.png)