How to use StellarBot, a free making market robot?

in #utopian-io6 years ago (edited)

StellarBot is a free and open source making market robot.

This tutorial will guide you through using this robot.

Tutorial Start

1.Open your stellar wallet and get your privatey key.

2.Copy your private key and add it into your StellarBot config page (ATTENTION:: the robot won't send your private key to anywhere and anybody but save it in your browser.)

1.gif

When you see the public key and XLM balance, it means your configuration is successful.

3.Add trustlines and assets which you 'll use to trade.

2.gif

4.Edit assets' amount you can hold

3.gif

5.Remove the trustline.(Please empty the asset on the trustline and then remove the it)**

4.gif

6.Add exchange pair. The robot will only work if the exchange pair is added.

5.gif

7.Config the exchange pair. This step is the most central step and the least understandable.

6.gif

When the robot is running, buying/selling orders will be made according to the parameters which configured in this step.

123.png

For example, in this snapshot I will explain how the robot works on the BTC/CNY pair.

At this moment, BTC/XLM ask price is 41700 and CNY/XLM bid price is 0.823.

First the robot will get the BTC/CNY price 40000, buying BTC rate 2% and buying order value 20 XLM.

buying BTC order price = the highest buying BTC order price 40000 * ( 1 - buying BTC rate 2%) = 39200

buying BTC order amount = buying order value 20 XLM / (BTC/XLM ask price 41700)= 20 / 41700 = 0.0004796

selling CNY amount = buying BTC order price * buying BTC amount = 39200 * 0.0004796 = 18.8000000

Since selling CNY amount 18.8 is less than CNY balance 1736.79, and BTC balance value 1.5894309 is less than BTC MAX value 500, the robot will place buying BTC order based on the calculation just made.

When the price grows than 40000, the robot will cancel current order and make a new buying order.

The calculation of making a selling order is similar to the process of making a buy order.

selling BTC order price = the lowest buying CNY order price 200000 * ( 1 + buying CNY rate 2%) = 204000

selling BTC order amount = buying CNY value 20 XLM / (CNY/XLM ask price 0.823) / (selling BTC order price 204000)= 20 / 0.823 / 204000 = 0.0001191

buying CNY amount = selling BTC order price * selling BTC amount = 204000 * 0.0001191 = 24.2964000

Since BTC balance 0.0000391 is less than selling BTC order amount 0.0001191, the robot will not place selling BTC order.

8.Remove the pair

7.gif

9.Start the robot.

  • When the robot starts working, please keep browser opening and don't power off your computer.
  • ATTENTION: Make sure that your computer will not be used by other people, because the private key stores in your brower!!!!

9.gif

10.You can check the orderbooks of some pairs at the bottom of the page.

8.gif

Question

If you have any question, please feel free to add an issue on Github or email me work#domyself.me(change # to @).

You can also get in the Telegram Group for help.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • Submissions presenting content creation and simple on-screen instruction will be rejected.

You can contact us on Discord.
[utopian-moderator]

强大的机器人!

Coin Marketplace

STEEM 0.15
TRX 0.12
JST 0.025
BTC 55693.62
ETH 2494.94
USDT 1.00
SBD 2.31