Validates the existence of all provided entity names across validation services.
This function accepts enum objects for various entity types (exchanges, frames,
strategies, risks, sizings, optimizers, walkers) and validates that each entity
name exists in its respective registry. Validation results are memoized for performance.
If no arguments are provided (or specific entity types are omitted), the function
automatically fetches and validates ALL registered entities from their respective
validation services. This is useful for comprehensive validation of the entire setup.
Use this before running backtests or optimizations to ensure all referenced
entities are properly registered and configured.
Parameters
Optionalargs: Partial<Args>
Partial validation arguments containing entity name enums to validate.
If empty or omitted, validates all registered entities.
Returns Promise<void>
Throws
If any entity name is not found in its validation service
Example
// Validate ALL registered entities (exchanges, frames, strategies, etc.) awaitvalidate({});
Example
// Define your entity name enums enumExchangeName { BINANCE = "binance", BYBIT = "bybit" }
Validates the existence of all provided entity names across validation services.
This function accepts enum objects for various entity types (exchanges, frames, strategies, risks, sizings, optimizers, walkers) and validates that each entity name exists in its respective registry. Validation results are memoized for performance.
If no arguments are provided (or specific entity types are omitted), the function automatically fetches and validates ALL registered entities from their respective validation services. This is useful for comprehensive validation of the entire setup.
Use this before running backtests or optimizations to ensure all referenced entities are properly registered and configured.