Coding a simple buy/sell bot on Hive using AI

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 :)

9.01025440 BEE
5 comments

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 ?

0.00001817 BEE

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.

0.00012900 BEE

As a dunno in IT, I can't say it is easy, but as a user, I definitely can say it is cool! :)

0.00001407 BEE

Yeah, I guess you have to have some sort of comfort with opening up the bonnet and fiddling around.

0E-8 BEE

Cool!

Hope it become a hive project

0E-8 BEE

I'd never thought of that. Maybe I can call it project bot lol

0E-8 BEE

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!

0E-8 BEE

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.

0E-8 BEE

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?

0E-8 BEE

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.

0E-8 BEE

I watched this with 1 hand

0E-8 BEE

I made it with none

0E-8 BEE