Skip to content

topcubaba/binance-tradebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BINANCE TRADEBOT

This tradebot works on Binance.

It's a simple python bot that works with RSI Indicator (Relative Strength Index)

It doesn't guarantee any profit. And I am not responsible for your trades.

If you do your settings well, you can make profit but I don't guarantee anything.

If you combine it with another algorithm, you can be sure it will work better.

I'm always improving the algorithm. I'm not using this version. The version I am using is more advanced version.

Installation

Install TA-Lib library.

Install python-binance library.

Install numpy library.

Install websocket library.

And if you want to get messages from tradebot, you can set telegram-send library. And check here

Usage

#THESE ARE JUST SAMPLE SETTINGS. PLEASE BE SURE YOUR OWN SETTINGS!
#set the SOCKET. You can change your pair and time period. 5m means 5 minutes, 1h means 1 hour.
#For example:
#SOCKET = "wss://stream.binance.com:9443/ws/btcbusd@kline_1h"
SOCKET = "wss://stream.binance.com:9443/ws/sxpusdt@kline_5m"
#set your pair. For example:
#TRADE_SYMBOL = 'BTCBUSD'
TRADE_SYMBOL = 'SXPUSDT'
#set how many you want to buy.
TRADE_QUANTITY = 80
#set your rsi period.
RSI_PERIOD = 4
#set your rsi overbought limit.
RSI_OVERBOUGHT = 85
#set your rsi oversold limit.
RSI_OVERSOLD = 18

You should put your Binance API settings into apisettings.py

You can get these from Binance.

API_KEY = 'PUT YOUR BINANCE API KEY HERE'
API_SECRET = 'PUT YOUR BINANCE API SECRET HERE'

If you want to get messages from tradebot, set the telegram-send library first. Check here. And then delete the quotes on code.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Simple tradebot that works with RSI Indicator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages