Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

EMA *calculation* interval #6

Closed
siergiej opened this issue May 27, 2013 · 2 comments
Closed

EMA *calculation* interval #6

siergiej opened this issue May 27, 2013 · 2 comments

Comments

@siergiej
Copy link

A lot can happen in an hour. Just look at the drop on mtgox a few hours ago. I don't know much about EMAs, but wouldn't it help to do the calculations more often? I'm not talking about decreasing the timeframe of the candle, just redoing the calculations for the last 100 ticks every few minutes with every tick lasting 1h.

One other thing to consider - what is the safe interval to not get banned by mtgox for to many requests.

Or this could be pure nonsense ;)

@askmike
Copy link
Owner

askmike commented May 28, 2013

I can't find any documentation about rate limits on something other then the ticker in the Mt Gox V2 API (the one Gekko is using). I have an instance of Gekko running in advice mode with an interval of 1 minute on the same system as a Mt. Gox trading Gekko is running. They are requesting Mt. Gox for a couple of days non-stop now and I don't notice anything.

So you are suggesting to recalculate (or store) all EMAs for example every five minutes with all data from candles the interval before the 5 minute mark you are testing now? (so at 12:00 test against 11:00, 10:00 and at 12:05 test against 11:05 and 10:05...)

The current trading method is supposed to react slowly to new trends (EMA is always lagging behind the price) to make sure we aren't deciding on noise. The newer versions of the popular tradebots for chrome even have functions implemented so that the bot only sells after x thresholds all indicated the trend.

I think your proposal would cause more trades, but I don't see any way how this could improve the quality of the decisions made by Gekko?

This could be something for a new trading method, I don't think I should put this in the current one (the config is complicated enough as is).

@siergiej
Copy link
Author

Ok, thanks fot the explanation. Time to close the issue :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants