OptionalonCalled after strategy code is generated. Useful for logging or validating the generated code.
Trading pair symbol
Generated strategy code
OptionalonCalled after strategy data is generated for all train ranges. Useful for logging or validating the generated strategies.
Trading pair symbol
Array of generated strategies with their messages
OptionalonCalled after strategy code is dumped to file. Useful for logging or performing additional actions after file write.
Trading pair symbol
Path where the file was saved
OptionalonCalled after data is fetched from a source. Useful for logging or validating the fetched data.
Trading pair symbol
Name of the data source
Array of fetched data
Start date of the data range
End date of the data range
Lifecycle callbacks for optimizer events. Provides hooks for monitoring and validating optimizer operations.