-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Need a better algorithm for CEX trading. #86
Comments
Here is a basic idea which I would like to implement ...
This is the basic idea ... more fine tuning for money management can be done once we are able to achieve the grid orders. There is no question of loss ... because at any point we will either have more GHS or More BTC and we have never closed any order in loss. I will also try to make a rough / raw logic flow chart if you think the project will be interesting. Parag |
There's now a #gekkobot IRC chat on freenode if anyone is interested in chatting it up there. @askmike - we should think about adding the irc channel to the read me. |
Hello, |
@paraghardas sorry for not responding earlier, this looks very interesting thanks! It looks great but before I can go into it really Gekko needs some updates before it is able to store CEX.io since there latest API update. Read more about that here. So before we can even think about trading methods on CEX.io we need to have Gekko working on CEX.io, which is a lot of work due to their API restrictions. |
I can understand ... but this method does not require to fetch historical data (which seems to be the problem right now) ... as its a simple buy and sell the CEX.IO bot can be up and running in few days ... besides I am successful in trading this method manually even in this recent blood bath on CEX ... only problem is that we have to sit all the time on terminal which is very inconvenient hence a bot. |
@paraghardas can you please share more details on this method, and possibly the code? I would like to do some backtesting and validation. Thanks, and happy new year for you as well. |
I am working on a MACD algo - I need to validate the logic and buy/sell decision making. |
@djmuk if you want to incorporate the new method into Gekko (I was planning on writing MACD as well, just haven't started yet), please make sure you are basing it on the latest version of localDB: The raw EMA calculation is now an At everyone else: I don't really understand why we are looking at trends for CEX.io, as the value of 1 GHS depends not only on the value for which you can sell it, but also on how much BTC it will mine for you. I propose a new method that doesn't look at trends but uses an online mining profit calculator to determine how much BTC 1 GHS is going to bring you, if the price is < profit, buy all the GHS and if the profit is < price sell all the GHS. I will write this when my todo list is a bit smaller, so I'm putting a bounty out if someone can do it before me: If someone can implement it (in the localDB branch) I will pay that person 0.01 BTC (Remember I am poor because I opensourced Gekko)! Expectations:
EDIT: lowered the price to around 10 bucks, was confused by price. This edit was in < 1 min after post. |
Mike - am running current localdb branch. Method is entirely self contained and needs no changes to other files. It is basically a hack of the EMA file as of last night ('Glued cm to EMA method'). |
Now rewritten to match new structure. If I do a commit will that put it into the codebase or do you have to then accept the commit? |
@djmuk yes, you probably forked or cloned it. You probably need to do a commit & push to djmuk/gekko and than create a pull request for your updated branch into askmike/gekko's localDB branch.
Yes you can rewrite it so it passes a value to the raw EMA method instead of a whole candle, just make sure it uses the close for my existing method instead of the vwp. |
Read up https://help.github.com/articles/using-pull-requests Might be useful to have a short walk trough the process... First make sure regards On Tue, Dec 31, 2013 at 11:19 PM, djmuk notifications@github.com wrote:
|
@yin thanks just what I needed! |
the default 10/21 algorithm doesn't work well with CEX. Have heard talks of trying to get support around this and wanted to put in an official "ticket" for this specifically.
The text was updated successfully, but these errors were encountered: