Hey everyone,
A little while back, I shared a script I use to automatically sell HBD for HIVE on the internal market because, well, I'm lazy and prefer to automate things. I've now taken that concept a step further and expanded the tool!
auto-market
I've bundled the original HBD seller and this new Hive-Engine token seller functionality into a single project, now available in its own Git repository:
https://github.com/TheCrazyGM/auto-market
The big addition is a script/module that allows you to automatically sell specified Hive-Engine tokens for SWAP.HIVE. Just like the HBD seller, it's designed to:
Since the HBD seller and the new Hive-Engine token seller now share some underlying logic for account handling, configuration, and Hive blockchain interaction, it's no longer a simple standalone script that's easy to drop into a blog post. The full, functional code with its shared components lives in the auto-market
GitHub repository linked above.
To give you an idea, here's a screenshot of the Hive-Engine seller in action, automatically selling some BEE tokens for SWAP.HIVE from a couple of accounts:
The script checks the balance of the specified token (in this case, BEE), looks at the current market price on Hive-Engine, finds the best buy order to take, and places the sell order.
This is another tool built out of my own desire for automation and to avoid manual clicking through market UIs, especially when managing multiple accounts or wanting to consistently convert small amounts of various tokens.
If you're interested in automating your Hive or Hive-Engine market sells, feel free to check out the auto-market
repository. As always, remember that using your active keys in any script requires caution and understanding of what the script does.
Happy automating!
As always,
Michael Garcia a.k.a. TheCrazyGM
Great work, I appreciate your effort providing all these tools 💪
Would be cool to get the other way added as well. Buying tokens using SWAP.HIVE or HDB for HIVE if this would be easy to add...
!BBH
!PIZZA
!BEER
It would actually be incredibly easy to add, the logic is actually mostly already there.
Sounds great. Would be a real auto market tool then from my point of view.
You are supposed to say "Is it worth money?" 🤣
!PIMP
!PIZZA
These tools keep getting cooler and more useful every time I look! I love this stuff! Thank you coding maestro! 😁 🙏 💚 ✨ 🤙
$PIZZA slices delivered:
@ecoinstant(4/20) tipped @thecrazygm
herman-german tipped thecrazygm
Come get MOONed!
Congratulations @thecrazygm! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 500 comments.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP