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