So I managed to figure out how to code a simple buy and sell bot on hive. Obviously I'm going to build on this and you should do this too. It was more simple than I thought. I think it mostly needed the libraries and once it had the libraries it was away!
Hopefully I'll pick up things via this.
Peace :)
You asked CHAT GPT in a nice way with full details, never thought, we will have to instruct so much, but I guess, telling all details fetches more accurate code ? And is this CHAT GPT free version ?
Prompting is quite the science. I learned how to prompt through various free tutorials online. You definitely have to be specific, else the answers will be generic.
No it's the paid version.
As a dunno in IT, I can't say it is easy, but as a user, I definitely can say it is cool! :)
Yeah, I guess you have to have some sort of comfort with opening up the bonnet and fiddling around.
Cool!
Hope it become a hive project
I'd never thought of that. Maybe I can call it project bot lol
After a while programing you start thinking what more your bot can do... Then maybe starting a more complex project or just a simple buy/sell bot.
Anyway, great initiative!
I'm already wondering if I can automate it across all markets lol
Told ya! Lol
So you inspired me to attempt using Chat GPT for the same purpose but I've failed miserably so far. I tried to make mine ever slightly more complicated by making it buy when the price drops by x% and sell when it rises by x%. The problem, is whatever ChatGPT is doing to fetch the price isn't working either in javascript or in python.
I was using the paid version. It's significantly better than the free one. Also did you get it to use the sscjs and @hiveio/dhive libraries for javascript?
Yep, got the libraries. Using the free version though. It really seems like it is doing the right thing, it's just not returning any data. There's no errors. I'll figure it out...eventually.
Well, I recommend the paid one, it's far superior. I've significantly progressed with my bot - so much so that I'm not going to share it now ha!
But what I've found works well is if it's not returning the data you want - then go to the sidechain developer docs and paste it an example of the function you want it to execute - then it will do it. On the paid version that is.
I've got my bot doing all sorts of things. That $25 was worth it.
I watched this with 1 hand
I made it with none