Stablebot 💰📈 - Secure trading bot for stablecoins on Binance

in #utopian-io • 6 years ago (edited)

Repository

https://github.com/hazae41/stablebot

What is the project about?

This project is about a nodejs bot for trading stablecoins on Binance. 💰

How it works

Using a given anchor price and a given range, it automatically make buy and sell orders to make profit on USD stablecoin/stablecoin markets. At start, it automatically choose between buy and sell depending on your balance.

Use cases

For example, the most useful case is for the TUSD/USDT market. Using an anchor price of 1.0000 and a range of 0.0005, the bot will buy at 0.9995 and sell at 1.0005 to make profit.

Security

This bot is secure because it is open-source and hosted on codesandbox.
Everything done by the bot is transparent, and logged in the console.
The code is commented for you to understand every action.
Plus, Binance API keys are stored in the environment variables of the sandbox, which are private and secure.

Installation

https://codesandbox.io/s/github/hazae41/stablebot
Installation is very easy, you just have to fork it and put your API keys in the environment variables.
If you want, you can download the code and run it on your nodejs machine for trading all day long.

Technology Stack

It uses nodejs for running itself, binance-api-node module for interacting with Binance, and codesandbox for the security layer and an easy installation.

Roadmap

I plan on making a GUI using React and Next.js for modifying options and viewing the console.

How to contribute?

You can fork it on GitHub and on codesandbox 😎
You can become my patron https://www.patreon.com/hazae41

GitHub Account

https://github.com/hazae41

Sort:  
  • Good article, I would also include code samples, example of outputs and pull request links.
  • Could use some lint package for keeping the code in good shape.
  • Please make your commit messages more detailed.
  • I'm interested in knowing how much initial investment you have to put in to profit so that it's worth doing. I'm assuming there are fees to trade.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

For the code shape, I use the linter of codesandbox. Maybe it is not as good as another linter.
The initial investment must be of at least 5k USD to be worth it.
An example would be a profit of 40 USD in 6 hours of trading with 10k USD invested.

Thank you for your review, @helo! Keep up the good work!

Hi @hazae41!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @hazae41!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Congratulations @hazae41! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 100 as payout for your posts. Your next target is to reach a total payout of 250

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!