[SHARE] GAB - Gekko Automated Backtests
(04-07-2018, 07:48 AM)donkykong017 Wrote:
(04-06-2018, 03:20 AM)Ualas Wrote: The Average Strategy - Settings is just an average of the top 10 settings, right? If we backtest it does not correspond to the profit mentioned at Average Strategy - Meta (That probably is an average of the top 10 profits). So, whats is the method to not have an overfitted strategy?

Does this Profit calculation already contemplates the Market Performance? Profit = GrossProfit + MarketPerformance or Profit = GrossProfit?

as far as i understand no. the profit of the results is without market performance. this is Alpha. profit-market.
only in the runlog it shows profit-market.


thx for the new update. now everything works just perfect. there where just a few bugs though that came up for me.

1. the average parameters don't show 1000s characters when the number goes into the 1000s
2. the sorting in the Top runs is screwed up sometimes. that happened to me with all different columns sometimes. it also seems to be something with special characters or 1000s numbers.
(see pix)

No, the 'profit' in the box is the total profit, not alpha.

Ualas: Yes.
No, the average strategy settings is also just an average. It isn't like you can run 'average strategy' and get 'average profit' out of it.
These two basically live in two different universes but both are averages of something (in this case Top 10 most profitable runs since this is the default sorting).
I get the confusion though.

See 'Generated settings' more as a guide to what ranges usually works better. If it e.g. say 'SMA = 200' after 5000+ runs it stands to reason that using 'SMA = 1000' instead of 'SMA = 100', 'SMA = 200' or 'SMA = 300' will most likely be a lot worse since we now got a good statistical average that tells us this.

There's also a reason one can generate new settings out of the average settings (and a reason that it say one should modify those settings slighly since often it scews up some values).

The method not to overfit is in the hands of the user. Being able to see things such as averages could be useful though. Other values such as win% is also very useful. How you specifically use or abuse the tool is up to you though. Smile

There is some use of the word "best" in the 'Viewer' that needs to change though since the word 'Best' isn't really that suited since 'best profit' really does not mean that it will be the best strategy params to run with live since the 'best profit' could have some other values that simply suck such as a win% under 50% and stuff like that. That's also the reason you can globally sort the entire list by things such as Win% and Sharpe instead of % Profit.

Thank you for submitting bugs, it is very helpful and appreciated.

But -- if you don't mind, could you in the future add new issues at Github instead?
It makes it easier to track and it's a much more suited environment for discussing specific issues.
I added both these issues now though:

1. Yes, this is a bug
2. Yes, this is a known bug and the lib used will get thrown out.
There just haven been enough time to work on that part since most libraries used for this doesn't really fit (i could explain why, but time...)

Messages In This Thread
RE: [SHARE] GAB - Gekko Automated Backtests - by tommiehansen - 04-07-2018, 03:21 PM
YT - by mtom78632 - 07-17-2021, 06:02 AM
WW - by mtom78632 - 07-18-2021, 07:12 AM

Forum Jump:

Users browsing this thread: