StrategyCompletedEvent

data class StrategyCompletedEvent(val runId: String, val strategyName: String, val result: String?, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Event that represents the completion of an AI agent's strategy execution.

This event captures information about the strategy that was executed and the result of its execution. It is used to notify the system or consumers about the conclusion of a specific strategy.

Constructors

Link copied to clipboard
constructor(runId: String, strategyName: String, result: String?, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

The result of the strategy execution, providing details such as success, failure, or other status descriptions;

Link copied to clipboard
Link copied to clipboard

The name of the strategy that was executed;

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.