I really appreciate that you put efford on this and still keep it AGPL
I`m not a technical guy when it comes down to Linux, servers or coding so I have some n00b questions.
Does your version
1- support only cex.io? Can I not use it for bitstamp?
2- have other trading methods like Dema, macd etc? I just didnt understand what is exactly buy and hold
3- Do I need a server to run your script? Right now I use a regular ubuntu and just installed the askmike version on it. It runs ok for now.
I'm gonna reply to this in reverse order:
#3 When I mentioned server administration, I meant for the purposes of reliable, uninterrupted operation. Technically you could run it on your laptop or home PC or whatever since it's based on node.js and doesn't actually need to be a server environment. The main issue is that the bot
REQUIRES uninterrupted historical price data, and if there are any gaps because you turn it off it has to start over and gather another N minutes or hours of non-corrupt gapless history before it can start trading or giving advice again (
50 hours for askmike's version, or 39.083 hours for mine --- both versions are configurable, but that's the default for the latest version)
#2 I left all of the original methods from askmike's version, but
I added a "zero lag" method which is functionally equivalent to work done by Patrick Malloy from at or around the year 1994 (
I changed to a default 1 minute intervals while developing this) Most of the trading methods on gekko are based around math which can be used at 1 minute intervals just as easily as 1 day intervals.
#1
-- I haven't tested any exchanges other than cexio. You can probably use Askmike's version. I think it still works, but there's just a bug or two which isn't in that version.. Another thing to consider is that askmike's version uses a default setting of 60 minute (1 hour) candles, and 50 hours worth of history before it starts trading (
the latest version of my fork uses less history, but it's been tested and is based around 1 minute candles and can react faster)
Warning: I decided to intentionally break the code related to SELLING assets. No matter what trading method you use, my version waits for a good price and then buys new GHS (or other assets / currency pairs)
... I made this decision because GHS will continue to mine new coins if you hold. This difference from askmike's version can be made configurable, but for now it's hardcoded. Basically, my version won't work as you expect if you need a bot which both can buy AND sell... At least not until the "sell" logic is fixed (
by making the behavior configurable, probably. A lot of the bugs in askmike's version were because each time a change was made, it only ended up tested with 1 or 2 trading methods or exchanges, and caused something to break for other usage cases than the one being tested.)