[SHARE] GAB - Gekko Automated Backtests
(04-13-2018, 05:13 PM)monty Wrote: Please help. GAB gives me this error:

Fatal error:  Uncaught Exception: Unknown primative for `'adadelta'` on line 4. in /var/www/html/gab/system/class.toml.php:176
Stack trace:
#0 /var/www/html/gab/system/class.toml.php(121): Toml\Parser->parseValue(''adadelta'')
#1 /var/www/html/gab/system/class.toml.php(78): Toml\Parser->processLine('method = 'adade...')
#2 /var/www/html/gab/system/class.toml.php(24): Toml\Parser->parse()
#3 /var/www/html/gab/system/class.gab.php(178): Toml\Parser::fromString('threshold_buy =...')
#4 /var/www/html/gab/system/class.gab.php(67): GAB\core->parse_toml('threshold_buy =...')
#5 /var/www/html/gab/system/runner.php(39): GAB\core->get_strategies()
#6 {main}
  thrown in /var/www/html/gab/system/class.toml.php on line 176


You have some value in some strategy that messes things up. It basically tries to evaluate integer or float values, if you got "thing = mystuff" it will not understand what you mean since 'mystuff' is not a valid integer or float (a number) and thus returns "unknown primative".

This is a current bug where GAB can fail, it basically has to do with issue #15:

So to solve this try to temporarily remove (or move) any strategy that uses exotic parameters which are not floats or integers (numbers).

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

Forum Jump:

Users browsing this thread: