Strategy - GA
#1
Sad 
Hello, fist , I am sorry for my bad English and second Gekko is the best!!!


I am working in a strategy, who use HMA and it use Tulip. Its run in backtest OK, with this config


Strategy
Code:
this.addTulipIndicator('hull1', 'hma', this.settings.hull1);
this.addTulipIndicator('hull2', 'hma', this.settings.hull2);

In gekko\config\strategies
Code:
[hull1]
optInTimePeriod = 7
[hull2]
optInTimePeriod = 14

And in sample-config
Code:
 hull1 : {      optInTimePeriod: 7      },
 hull2 : {      optInTimePeriod: 14      },


Now i Am traing to use this excelente idea (http://gekkowarez.com/gekko-genetic-algorithm/)

But it dosent work!! I have this error in command
Quote:Gekko was unable to configure Tulip Indicators:
        hma requires optInTimePeriod.
  xxx POST /api/backtest 500 909ms -

My Porblem (i Think) is in the file your.new.js 

Code:
getProperties: ()


i tried with everythings, but I don't how I need to put the variables, I  try whit this for example
Code:
hull1.optInTimePeriod: randomExt.integer(15,5),


it is not working.

can you help me?????

Smile Smile Smile Smile Smile
  Reply


Messages In This Thread
Strategy - GA - by aleep - 01-18-2018, 03:26 AM
RE: Strategy - GA - by aleep - 01-18-2018, 09:09 PM

Forum Jump:


Users browsing this thread: