Function overrideWalkerSchema

  • Overrides an existing walker configuration for strategy comparison.

    This function partially updates a previously registered walker with new configuration. Only the provided fields will be updated, other fields remain unchanged.

    Parameters

    • walkerSchema: TWalkerSchema

      Partial walker configuration object

      • walkerName

        Unique walker identifier (must exist)

      • exchangeName

        Optional: Exchange to use for all strategies

      • frameName

        Optional: Timeframe to use for all strategies

      • strategies

        Optional: Array of strategy names to compare

      • metric

        Optional: Metric to optimize

      • callbacks

        Optional: Lifecycle callbacks

    Returns Promise<IWalkerSchema>

    overrideWalker({
    walkerName: "llm-prompt-optimizer",
    metric: "profitFactor", // Only change metric
    });