Am I missing something?
gekkoGA works great with the MACD example,
I'm having some issue where the backtest is returning sharpe: null
and also, max globals are an empty object since they don't pass the sharpe condition,
down the rabbit hole I see the performanceAnalyzer uses stdev on this.roundTrips.map(r=> r.profit), which in the MACD case is an array of multiple values, and in this other strat its mostly an empty array and sometimes an array with a single number in it.. tried to fix and dig for an answer but getting lost and thought maybe someone here faced this before? thanks
Am I missing something?
gekkoGA works great with the MACD example,
I'm having some issue where the backtest is returning sharpe: null
and also, max globals are an empty object since they don't pass the sharpe condition,
down the rabbit hole I see the performanceAnalyzer uses stdev on this.roundTrips.map(r=> r.profit), which in the MACD case is an array of multiple values, and in this other strat its mostly an empty array and sometimes an array with a single number in it.. tried to fix and dig for an answer but getting lost and thought maybe someone here faced this before? thanks