Interface IOptimizerStrategy

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

interface IOptimizerStrategy {
    messages: MessageModel[];
    name: string;
    strategy: string;
    symbol: string;
}

Properties

messages: MessageModel[]

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

name: string

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

strategy: string

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

symbol: string

Trading pair symbol this strategy was generated for.