[TUT] Backtesting with gekkoga - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Guides (https://forum.gekko.wizb.it/forum-22.html) +--- Thread: [TUT] Backtesting with gekkoga (/thread-1535.html) |
RE: [TUT] Backtesting with gekkoga - dray01 - 11-10-2018 (11-10-2018, 04:16 PM)Gryphon Wrote: You're welcome - and coding is a great skill to have. Thanks for the tip. That is similar to what I was thinking. Aiming for a strat that is not in for a long time and essentially scalps on shorter time frames 4-8 times a day. I started out like many around March thinking there was a dip. Boy was I wrong! My capital is not what is once was. RE: [TUT] Backtesting with gekkoga - Remo - 11-11-2018 (11-10-2018, 10:15 AM)dray01 Wrote: HI guys, Im using it like this: threshold_buy: randomExt.float(1.20,0.40).toFixed(2), threshold_sell: randomExt.float(-0.50,-1.00).toFixed(2), RE: [TUT] Backtesting with gekkoga - Gryphon - 11-11-2018 With that approach, the random library sees millions of steps between your limits as it generates values to a very high resolution. I.e. it might generate 0.00000001, 0.0000002, 0.0000003 etc, all of which .toFixed will evaluate to 0, which means lots of passes will be run with exactly the same settings. Generating an integer and dividing has the effect of defining the resolution. RE: [TUT] Backtesting with gekkoga - Paolo1961 - 12-21-2018 Sorry j'm trying to run Gekkoga but j have the follow error after a few seconds from the start: xxx POST /api/backtest 500 855ms - Error: non-error thrown: [object Object] at Object.onerror (/home/paolo/gekko/node_modules/koa/lib/context.js:105:40) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7) Someone can help me ?? Thanks RE: [TUT] Backtesting with gekkoga - wilbertvdl - 01-11-2019 Thanks for the tut, I found it easy to follow and works great! I was wondering how gekkoga goes about when adding multiple candle times. Combined with the history, wouldn't that result in different warmup-times and therefore different periods over which profits are calculated? E.g. I have two different strats running at this moment with gekkoga, each has the same endPrice, but different startPrices since the candles differ. How does that work within testing one strategy? I also like the csv's that come as a result from e.g. gekko-batcher, showing all the results (or top 20 or so) of each parameter set for the strategy. Is something like this also possible? Lastly, for now ( ;-) ) is there way to see the %winning trades, biggest win, biggest lost, etc. for a parameter set for a strategy? Thanks for all the info so far! RE: [TUT] Backtesting with gekkoga - Shrike998 - 02-11-2019 Is there a way to optimise for percentage of won trades over amount of trades? RE: [TUT] Backtesting with gekkoga - Gryphon - 02-12-2019 There isn't unfortunately. There is a fork of gekko that's added percentage won/lost into the performance report. If you used that you could then adapt gekkoga to use that as a metric. RE: [TUT] Backtesting with gekkoga - Stixx - 10-16-2019 Hi, Thanks for this, I have a question, is it possible to run this live and have it update the values in your config as it finds better parameters? Thanks |