IOptimizerStrategy

Generated strategy data with LLM conversation history. Contains the full context used to generate a trading strategy.

symbol: string

Trading pair symbol this strategy was generated for.

name: string

Unique name taken from data source. Used in callbacks and logging.

messages: MessageModel[]

LLM conversation history used to generate the strategy. Contains user prompts and assistant responses for each data source.

strategy: string

Generated strategy prompt/description. Output from getPrompt() function, used as strategy logic.