Styfanor / Binance-Trading-Bot

πŸ€‘ This is my first try of a Trading Bot for Binance. We will use the RSI for our sell and buy decisions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Binance-Trading-Bot

This is my first try of a Trading Bot for Binance. We will use the RSI for our sell and buy decisions for Ethereum.

Table of Contents

DISCLAIMER

This project is for educational purpose! I am not responsible for the trades you make with the script, this script has not been exstensivly tested on live trades.

General Info

I always wanted to code my own Trading Bot. I found a lot of information for the Binance API on the web, so I thought I would give it a shot. Also, I wanted to learn to use websockets with Phython.

The trading strategy I used for this project is based on the RSI (Relative Strength Index). Basically, we will calculate the RSI with the 14 recent close values. If the RSI is over 70 we will sell our Assets, because the market is overbought. And when the RSI is lower than 30 we will buy ETH, because the market is oversold. For more information visit: Wikipedia-RSI

Technologies

The Project is created with:

  • Python 3.7
  • TA-Lib 0.4.19
  • Numpy 1.19.4
  • Python-binance 0.7.5
  • Websocket-client 0.57.0

Setup

  1. Signup for Binance
  2. Go to the API Center and create a new API key
[βœ“] Read Info [βœ“] Enable Trading [X] Enable Withdrawals
  1. Insert your key and secret into config.py

To install all libs run following command:

pip install requirements

Docs

Author

Stefan Helm

About

πŸ€‘ This is my first try of a Trading Bot for Binance. We will use the RSI for our sell and buy decisions.


Languages

Language:Python 100.0%