I’ve been expanding my automation beyond Spotify. I’ve recently worked on a couple of new bots… one is silly, the other actually useful.
Taking the Spotify monitoring and posting a step further, I thought it would be fun to post Steam activity. I’ve limited it to only post if I’m currently playing a Steam game, and it only checks every 30 minutes. However, similar to the Spotify posting, I generate a Bluesky post with the name of the game along with the title art for the game. Surprisingly this was fairly easy to setup as the Steam API is pretty straight forward, and the data is only present in the return payload if you’re playing a game. While there’s opportunity to expand this, I haven’t decided if I want to.
In 2021, I decided to dip my toe into the crypto world, and bought some dogecoin. Not knowing anything about crypto, or how it worked, I bought into the hype and the fun… knowing that doge was a memcoin. I had also tried my hand a mining bitcoin as well, although that wasn’t really going anywhere. Over the past couple weeks, I saw doge gain some momentum and then fall back down, and it hit me that there has to be a way to monitor the price and then take action if certain conditions were met. My goal was to get my money back out of it, but I also didn’t necessarily want to sell all of it at one time.
Then, the price began to build momentum again… it reached up to $0.25 and then hovered in the $0.24 range. I decided to sell half of my holdings, as I think that had basically doubled my money. Then I began on a bot to track the price on a routine basis. At first, I thought about selling at certain price points, but then talking with ChatGPT I learned about a trailing approach. Basically, you watch for a certain price to be reached. You track the price, recording a high water mark. Then if the price falls x% from the highest price, you sell. So with that logic in mind, we went to work building the scripts to watch and take action.
I split my remaining doge into 4 ‘chunks’ with different trigger prices. Wouldn’t you know that shortly after scheduling this to run, the first chunk activated? It was active for a couple of days, and then early this morning (while I was soundly asleep), the bot sold the chunk. While I wish the momentum would have continued, I’m still very proud of my sell. At this point, it’s profit, so I don’t really care what happens. If by the end of the year the other chunks haven’t sold, I’ll probably just sell the rest off and be done with it.
These have been some fun projects and one is actually quite useful! I wish I had thought of this years ago, but such is life… at least I’m learning and doing it now.
Til next time…
Leave a Reply