BitShares Forum

Main => General Discussion => Topic started by: mauritso on May 05, 2016, 12:22:01 pm

Title: [RELEASE] LiqBot 0.1 (alpha)
Post by: mauritso on May 05, 2016, 12:22:01 pm
This is the first (alpha) release of the bot I have been working on with @linouxis9, the goal was to make a bot that could provide liquidity in the markets that are going to be used by the Smartcoins Point Of Sale (POS) systems of bitshares-munich. I am hoping to get some bug reports/feedback from people that are interested and want to try it.

https://github.com/linouxis9/bitshares2-liquiditybots (https://github.com/linouxis9/bitshares2-liquiditybots)

Features:

This account is running the bot currently: http://cryptofresh.com/u/liquidity-bot-mauritso (http://cryptofresh.com/u/liquidity-bot-mauritso)

How it looks on an almost empty market:
(http://i.imgur.com/mAqkgzT.png)
(The bot has almost no CAD in this graph)

Output:
(http://i.imgur.com/al3q5qL.png)

Requirements:

How to setup:

cli-wallet startup options in: ./cli-wallet-start.sh
bot config in: ./docker-exchangebot/exchangebot/config.py
What does the bot do?

The default config will create an account, tell you to send bts/funds to it and after a restart it start operating. It lends bit assets with the bts (this can be turned of in the config) and started placing/watching/replacing orders, as well as keeping the collateral ratio of the debt positions the bot made between certain bounds.

Strategy:

Currently the bot places a buy and sell order on each configured markets if it has enough funds to place an order. The orders are placed at a specified spread percentage. After placing the orders the bot continuously watches the orders and replaces them if they drift more than allowed_spread_percentage.

Example:
spread_percentage = 4
allowed_spread_percentage = 2

The bot will place orders at -2% (bids) and +2% (asks) and will replace those orders if they get outside the allowed_spread_percentage of 2. That means that the orders will be replaced at -3%/-1% (bids) and 1%/3% (asks).

Profitable?

The bot costs less than 3 bts a day to run.
Currently I have no real data about bot performance, because there isn’t much happening on the markets.

Thanks to:
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: Chris4210 on May 05, 2016, 12:29:15 pm
Wow cool. I always wanted my personal trading bot. This one looks very good. I will try it  +5% +5%
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: Valentin | Lin9uxis on May 05, 2016, 01:05:01 pm
 +5%
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: . on May 05, 2016, 01:15:17 pm
Interesting and potentially very useful to populate emerging markets,
could you please tell if LiqBot could work also @ Bitsquare ? http://bitsquare.io
It's a p2p decentralised Exchange offering Fiat Currency , BTC and ALT trading:
BTS is supported but has still no market offers; we should gain some exposure
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: mauritso on May 05, 2016, 01:21:37 pm
Interesting and potentially very useful to populate emerging markets,
could you please tell if LiqBot could work also @ Bitsquare ? http://bitsquare.io
It's a p2p decentralised Exchange offering Fiat Currency , BTC and ALT trading:
BTS is supported but has still no market offers; we should gain some exposure

It currently supports every market with BTS on the bitshares exchange. (So USD:BTS, CNY:BTS, other assets:BTS), it could be adapted to work with any pair on the bitshares exchange. So if you have an asset on bitshares this could be used.

EDIT:
Looked into Bitsquare a bit, this code won't work for that as it is a completely different platform.
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: hcf27 on May 05, 2016, 01:22:45 pm
 +5%

I have used this bot and I love it, its really simple to use....this is the kind of bot people pay for! the fact that you are offering it to the community as an open source project speaks really good about you guys.

We would be using this bot for BitARS for sure.

Thanks a lot!
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: ebit on May 05, 2016, 01:53:46 pm
Wow cool. +5%
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: ripplexiaoshan on May 05, 2016, 03:44:08 pm
amazing! but what happens if a lot of people are using the same bot strategy? are they competing or conflicting? 
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: xeroc on May 05, 2016, 05:27:25 pm
wow .. impressive work!!!
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: Akado on May 05, 2016, 06:51:25 pm
amazing! but what happens if a lot of people are using the same bot strategy? are they competing or conflicting?

Users can change parameters like "allowed_spread_percentage" so as long as they're different they should compete instead of conflict.

Would be nice to collect data on the performance of the bot.

 +5% for sharing it. Usually people have to pay for this kind of stuff. This is the kind of news that should go to bitshares.org so everyone could see. Assuming it's safe and profitable (even if by a little), service providers like OpenLedger, theDex, Maker, etc, could use it as incentive for their own markets.
Title: Re: [RELEASE] LiqBot 0.1 (alpha)
Post by: Valentin | Lin9uxis on May 06, 2016, 03:46:42 pm
We have released a post on Steem about the LiqBot configuration https://steemit.com/bitshares/@linouxis9/liqbot-0 (https://steemit.com/bitshares/@linouxis9/liqbot-0). Please check it out if you do have any questions about the LiqBot's Configuration.

Enjoy!