WalkerValidationService

Service for managing and validating walker (parameter sweep) configurations.

Maintains a registry of all configured walkers and validates their existence before operations. Uses memoization for performance.

Walkers define parameter ranges for optimization and hyperparameter tuning.

Key features:

  • Registry management: addWalker() to register new walker configurations
  • Validation: validate() ensures walker exists before use
  • Memoization: validation results are cached for performance
  • Listing: list() returns all registered walkers
constructor();
loggerService: any
walkerSchemaService: any
strategyValidationService: any
strategySchemaService: any
riskValidationService: any
actionValidationService: any
_walkerMap: any
addWalker: (walkerName: string, walkerSchema: IWalkerSchema) => void

Adds a walker schema to the validation service

validate: (walkerName: string, source: string) => void

Validates the existence of a walker and its associated strategy configurations. Each strategy referenced by the walker is validated via StrategyValidationService, which in turn validates the strategy's risk profiles and actions.

list: () => Promise<IWalkerSchema[]>

Returns a list of all registered walker schemas