✍️LLM-assisted strategy builder

The LLM-assisted strategy builder helps users generate strategy code efficiently. It does not change execution semantics: strategies remain deterministic and auditable.

Add your openAI API key(find your API keyarrow-up-right) in the strategy "Config":

The API key is used only during strategy authoring to generate or refine code. It is not used during strategy execution or backtesting.

and allow ChatGPT to build the strategy for you inside the memejob strategy builder:

complete(prompt)

The complete() function is an authoring-time utility for generating text and code suggestions based on prompts. It uses a Spring AI ChatModel to assist with strategy construction, analysis, and experimentation.

Parameters:

Returns:

  1. stringarrow-up-right Generated completion text from the AI model

Usage:

or

Outputs generated via complete() are text responses and must be interpreted or translated into deterministic strategy logic before being used as signals.

Note: while feeding the memejob LUA documentation, you may use any external LLM to support you in your strategy building endeavours. HF!

circle-info

Once a strategy is generated or refined, it must conform to the supported syntax, execution model, and primitives described in the following reference section.

Last updated