Skip to content

sharpe: null - global maximums can't get filled #55

@iscotzan

Description

@iscotzan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions