MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / BuildGridSystemPrompt

Function BuildGridSystemPrompt

kernel/grid_engine.go:97–102  ·  view source on GitHub ↗

============================================================================ Grid Prompt Building ============================================================================ BuildGridSystemPrompt builds the system prompt for grid trading AI

(config *store.GridStrategyConfig, lang string)

Source from the content-addressed store, hash-verified

95
96// BuildGridSystemPrompt builds the system prompt for grid trading AI
97func BuildGridSystemPrompt(config *store.GridStrategyConfig, lang string) string {
98 if lang == "zh" {
99 return buildGridSystemPromptZh(config)
100 }
101 return buildGridSystemPromptEn(config)
102}
103
104func buildGridSystemPromptZh(config *store.GridStrategyConfig) string {
105 return fmt.Sprintf(`# You are a Professional Grid Trading AI

Callers 1

GetGridDecisionsFunction · 0.85

Calls 2

buildGridSystemPromptZhFunction · 0.85
buildGridSystemPromptEnFunction · 0.85

Tested by

no test coverage detected