Closed decoye closed 7 years ago
Hey Decoye,
Merry christmas to you too!
A few tiny things:
Gekko aggregates data into candles, if your candleSize is 60 these are hourly (60 minute candles). However they do not go from 10:00 to 11:00, they are calculated based no the minute you start Gekko, if you start Gekko now (11:11) it would calculate hourly candles that start at the 11th minute of the hour. Your backtests can differ a little bit because of these tiny offsets (different candles -> different MACD results -> different advices).
Did you keep the advisor running? And if so, did it quickly change it's advice to long?
Finally, could you give the develop branch a go? A number of fixes/changes have gone into that backtest (including some strange race conditions).
Hey Mike,
im currently running the candlesize in 20. History size is still 22 as default as i am not sure what it actually really is the value for.
I kept it running for the last night to overview what the tradeadvisor is doing.
This night as well it happend, the trade advisor was giving an advice to go short almost 40 minute later than the backtester advised.
Even the backtester claims that with my setting he would have made 5 trades last night while the trade advisor was giving 2 advises to make trades.
It feels like it is not considering my strategy at all that i have setup for it.
I did try 2 min ago to give develop branch a go, but the develop throws me an error that module.js is missing.
Could you double check that you are running the exact same configuration (candleSize, histerySize, trading method parameters) in both scenarios?
but the develop throws me an error that module.js is missing.
Would you mind posting this exact error?
On Mon, Dec 26, 2016 at 8:27 AM, decoye notifications@github.com wrote:
Hey Mike,
im currently running the candlesize in 20. History size is still 22 as default as i am not sure what it actually really is the value for.
I kept it running for the last night to overview what the tradeadvisor is doing.
This night as well it happend, the trade advisor was giving an advice to go short almost 40 minute later than the backtester advised.
Even the backtester claims that with my setting he would have made 5 trades last night while the trade advisor was giving 2 advises to make trades.
It feels like it is not considering my strategy at all that i have setup for it.
I did try 2 min ago to give develop branch a go, but the develop throws me an error that module.js is missing.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/askmike/gekko/issues/530#issuecomment-269183084, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7MD9ew3rfaG3-LvgjtxROHnyZeEsQ9ks5rL3pXgaJpZM4LVanz .
-- PGP key at keybase.io/mikevanrossum https://keybase.io/mikevanrossum/key.asc
The error that i get:
Error: Cannot find module 'moment'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.
and if you run npm install
?
On Mon, Dec 26, 2016 at 12:19 PM, decoye notifications@github.com wrote:
The error that i get:
Error: Cannot find module 'moment' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/Users/decoye/gekko-develop/core/util.js:1:76) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/askmike/gekko/issues/530#issuecomment-269206414, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7MD_HEFg0rc4fktC4Jlirvh8LoF3kjks5rL7DegaJpZM4LVanz .
-- PGP key at keybase.io/mikevanrossum https://keybase.io/mikevanrossum/key.asc
npm install worked.
i let you know my updates. i have put my config file into the develope branch now. lets see how that turns out.
Great! Let me know your results :)
Hello and merry christmas to everyone!
today i noticed that my trade advisor was acting up on me, and did not at all work in the way that i had setup in my strategy.
so i stopped gekko. and did a backtest.
the backtest says this:
While the trade advisor at the same time did nothing. Instead the trade advisor thought its a good idea to go long here:
And at 6:08 when the backtest thought its a good idea to go long
the advisor does think this:
Im not too familiar with gekko yet, but this seems to be wrong to me, isnt it? So whats the cause, is it me, or Gekko?
Thanks and all the best.
Decoye.