Skip to content

This is a bash script to wrap around the trading bot Zenbot, The script is easy to understand, to modify and acts faster as the zenbot

Notifications You must be signed in to change notification settings

lolren/Zenbot-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenbot-Wrapper

This is a bash script to wrap around the trading bot Zenbot, The script is easy to understand, to modify and acts faster as the zenbot The requirements are: 1.The coinmarketcap python api - https://github.com/barnumbirr/coinmarketcap . This is used just for getting some prices, to determine the value of our coin, to know if the bot begin with a sale or a buy action! can make it optional in the future! 2. The Binance python api, from - https://github.com/toshima/binance since they are both under GPL licence, i`ve included them in my repo. 3. Of course Zenbot. The role of this is to execute the buy and sale commands! it can be downloaded and istalled from : https://github.com/DeviaVir/zenbot

How to install?

The first thing is to install zenbot! The author has a simple tutorial on his page. I reccomend ubuntu or ubuntu server and Virtualbox! you need to put api and secret for binance in the file binance/binancebridge.py. at the moment, binance is the only one suported! after, download my bot, point the path to the zenbot folder zenbotpath="/home/x/zenbot" and, set the paramethers you want and you are good to go! This script does not require any instalation, just download, extract, add your API (or not, in test mode you dont need them) and you are good to launch it!

requirements : bc python-requests-cache python-requests

How to run? like any other bash script: chmod +X bot.sh sudo ./bot.sh why run as sudo ( unfortunately, sudo is a requirement for coinmarketcap apy. Also, the bot creates a ramdisk to put some files, required, in /mnt/lpmbot. These are text files with prices.

Why i created the script? I have played a lot with Zenbot. For some unknown reason, you set the parameters, and it is laggy, meaning that it waits until it makes the transaction with the parameters you give!

strategy: at the moment, the only strategy is : buy low, sale high! which mean you can put the x%+lowest session price to buy, and x%-higgest price to sale. Translated, that means that the script will buy after a price fall, when the coin reach the lowest price plus buy % and will sale when the coin will decline, meaning peak price minus sale percent! I wait your suggestions to implement future strategys! Alt text

About

This is a bash script to wrap around the trading bot Zenbot, The script is easy to understand, to modify and acts faster as the zenbot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published