AlphaEar Signal Tracker Skill
Overview
This skill provides logic to track and update investment signals. It assesses how new market information impacts existing signals (Strengthened, Weakened, Falsified, or Unchanged).
Capabilities
1. Track Signal Evolution
1. Track Signal Evolution (Agentic Workflow)
YOU (the Agent) are the Tracker. Use the prompts in references/PROMPTS.md.
Workflow:
- 1. Research: Use FinResearcher Prompt to gather facts/price for a signal.
- Analyze: Use FinAnalyst Prompt to generate the initial
InvestmentSignal. - Track: For existing signals, use Signal Tracking Prompt to assess evolution (Strengthened/Weakened/Falsified) based on new info.
Tools:
- - Use
alphaear-search and alphaear-stock skills to gather the necessary data. - Use
scripts/fin_agent.py helper _sanitize_signal_output if needing to clean JSON.
Key Logic:
- - Input: Existing Signal State + New Information (News/Price).
- Process:
1. Compare new info with signal thesis.
2. Determine impact direction (Positive/Negative/Neutral).
3. Update confidence and intensity.
- - Output: Updated Signal.
Example Usage (Conceptual):
CODEBLOCK0
Dependencies
- -
agno (Agent framework) - INLINECODE7 (built-in)
Ensure DatabaseManager is initialized correctly.
AlphaEar 信号追踪技能
概述
本技能提供追踪和更新投资信号的逻辑。它评估新的市场信息如何影响现有信号(增强、减弱、证伪或不变)。
能力
1. 追踪信号演变
1. 追踪信号演变(智能体工作流)
你(智能体) 是追踪者。使用 references/PROMPTS.md 中的提示词。
工作流:
- 1. 研究:使用 FinResearcher 提示词 收集信号的事实/价格数据。
- 分析:使用 FinAnalyst 提示词 生成初始的 InvestmentSignal。
- 追踪:对于现有信号,使用 信号追踪提示词 基于新信息评估其演变(增强/减弱/证伪)。
工具:
- - 使用 alphaear-search 和 alphaear-stock 技能收集必要数据。
- 如需清理 JSON,使用 scripts/finagent.py 辅助函数 sanitizesignaloutput。
关键逻辑:
- - 输入:现有信号状态 + 新信息(新闻/价格)。
- 过程:
1. 将新信息与信号论点进行比较。
2. 确定影响方向(正面/负面/中性)。
3. 更新置信度和强度。
使用示例(概念性):
python
本技能目前是从 FinAgent 中提取的模式。
在未来的重构中,应将其作为独立的工具类。
目前,请参考 scripts/finagent.py 中的 tracksignal 方法实现。
依赖项
确保 DatabaseManager 正确初始化。