Post
Topic
Board Trading Discussion
Re: Chrome Browser extension: MtGox trading bot
by
spazcoin
on 28/05/2013, 09:34:12 UTC

Just a quick note on your bot, not sure if this is intentional or not, but whether you check or uncheck "disabled on start," when you close out of the browser and boot it up the bot is always disabled. Basically it's always disabled on start whether you check or uncheck that box.

You're right! There was some weirdness about this setting!
I've just uploaded a fixed version (v0.2.2.3)

I installed GoxTradingBotTobli v0.2.2.3 this morning (downloaded using Git Clone instead of downloading this time, to make it easier to update in the future) and I still see the same behavior still.  Enable the bot, save changes, close the browser, open the browser, and it's disabled again.  I'm using Chrome 27.0.1453.94. This week or weekend I'll try taking a look at the code.  ‘whydifficult’, maybe I’ll take a look at your gekko project as well.

I would also suggest that we try to put some unit testing around the components of this bot since there are several days between each buy/sell decision, which is a long time to wait to see whether everything's working correctly (and miss the market swings!).  I did a quick search for Javascript frameworks (http://stackoverflow.com/questions/300855/looking-for-a-better-javascript-unit-test-tool) it looks like Buster.js might be one to start with.