Steem engine trading bot


Hey y'all, haven't blogged in a while, been busy with coding, working and whatnot. I've learnt to code in the meantime and have published several scripts that many of you may find useful. In this post we'll be taking a look at my latest release, which is steem-engine trading bot.
You can find the bot at:
https://github.com/uspikk/longshort
You can also go to my github and use whatever you see or find useful.
Now this robot will:
trade your coins for you
provide market liquidity
*if the market moves, provide you with a set return

This bot will not:
predict the market
guarantee you returns

this bot has two inbuilt trading features and two side features that are useful.
The first feature is long:
the long feature will buy a steem-engine coin from the market and resell said coin for a higher price.
long.png(sorry for potato)s you can see in the picture, the robot buys 0.53393986 WEED token for 0.06298999 STEEMP then resells the same ammount of WEED for 5% higher price. If someone comes along and buys the token for the higher price, then the bot makes profit.

The second feature is short:
the short feature will sell a steem-engine coin to the highest bidder, then buys back the same coin for a cheaper price, thus getting more tokens
short.png(sorry for potato)
Tthird feature is bundling orders:
If the bot creates a order that has the matching price of an old order, it will bundle those orders togheter. Meaning it will cancel old orders and generate a new bigger order.
bundle.png

The fourth feature is renewing all orders after x cycles:
If you publish a order on steem engine it doesn't stay there forever and will expire a month after creating the order. So to mitigate that I have coded a feature to renew all orders on the coins that the bot is trading on. This is a configurable feature that the user can configure in the config.js file.
config.png

Now this was a quick overview of my trading bot, you can find all the installion notes on github and if you have any more questions, you can ask them in the comments below. I hope to create many more useful bots for the steem ecosystem in the times to come. Have a good day!


Comments 15


Was just checking on SE to see who is suppressing the price of ENG (probs the guys who mine it) and saw your trading bot in full action. Noice work!

How does your bot handle loss? In a scenario, where you have bought X for Y, but before you manage to sell it for Y+1, the price drops rapidly much lower. Will it sell the tokens for loss or hold the higher selling price?

11.02.2020 13:07
0

The orders will stay up indefinitely, since the bot renews all orders. if the price falls the bot will create orders all the way down. It'll stay at a loss until the orders get filled.

11.02.2020 13:38
0

I'm not a trader but i will check this out!

11.02.2020 13:18
0

Leave some feedback when you do.

11.02.2020 13:42
0

Noice! Might need something like that in near future :) @tipu curate

11.02.2020 16:19
0
11.02.2020 16:20
0

@ubg progemas
12.02.2020 11:48
0

Shame that I didn't see your post yesterday. That's fucking awesome my man. You've advanced fast in coding, continue in the same pace!

^_^

12.02.2020 17:30
0

This is pretty interesting. Steem-engine suffers greatly from low liquidity. I think it's worth trying it in practice.

12.02.2020 19:28
0

Happy to see you making sick things mate, cant wait for your future bots/scripts or why not even more advanced one on this.

14.02.2020 13:46
0

Is that..... The labyrinth wurm?!?!?

06.03.2020 04:37
0

I have created a standalone renew script on my github and also a bundler(not yet on my github) Im already planning to update this script to have short to long and long to short features with database(basically rewriting the entire script).

06.03.2020 11:03
0