TradingAgents/tradingagents/custom_prompt.py

14 lines
602 B
Python

"""Shared constants for optional run-specific custom prompt handling."""
CUSTOM_PROMPT_SECTION_TITLE = "Custom Prompt"
CUSTOM_PROMPT_STATUS_LABEL = "Custom prompt"
CUSTOM_PROMPT_INPUT_PROMPT = (
"Optional custom prompt for this run (examples: short-term swing trade, "
"long-term holding, only new positions, focus on earnings and capex):"
)
CUSTOM_PROMPT_CONTEXT_HEADER = "Additional user instructions for this run:"
CUSTOM_PROMPT_CONTEXT_FOOTER = (
"Treat these as explicit strategy constraints and address them directly in "
"your analysis, trade plan, and final recommendation."
)