You are viewing a single comment's thread from:

RE: The Internal Market- Now Automated

I had a bot that would sell/convert SBD if it was under/over a certain threshold and put the order with a short expiration based at market price. That way when the next time it came around to check the price and decide if it was going to sell the previous order would be cancelled and the SBD available. It worked really well when SBD skyrocketed and I was able to sell/convert at ideal times. I haven't run it in a while though.

As for easy to read, yeah it looks nice.

I usually use three tilde's to start and end code block which formats it really well.

let x = 1
let y = 2
z = x + y
Sort:  

I thought of doing that too but to keep the order for the maximum time in the market to have a chance of it selling I decided to keep them for the same length as when the next time the process starts. I hope some more order get in the internal market because the volume there is quite low and I see so many people moving hive to other exchanges to convert it to HBD(or the other way around).

As for format, I meant more of having the code all up in one spot and code comments used to describe whats going on(as I did on some older posts) or splitting it up. I went back to read a post to get info on how to do something(I write these hoping someone else uses them for their benefit and knowing that I will need them too in the future) and that ended up having me realize that while that format is easy to write in and read in the moment, its terrible for reading in the future.