当前位置: 首页 > Skill >

Dawn Proactive Agent v1.5

Dawn Proactive Agent v1.5

Dawn Proactive Agent v1.5

Dawn Agent v1.5 self-evolution proactive architecture. P0-P4 framework for autonomous ETF trading agent with self-reflection, state machine, audit trail, mul...

1.5.0 2026.11.21 663
获取Skill文件查看使用说明
作 者:陈宁 许可证: 更新时间:2026.11.21
本文目录展开

Dawn Proactive Agent v1.5

An autonomous, self-evolving ETF trading agent architecture designed for the A-share market.

Architecture Overview

┌─────────────────────────────────────────────────────┐
│              Dawn Proactive Agent v1.5              │
├─────────────────────────────────────────────────────┤
│  P0: dawn_reflect.py    Hermes-inspired reflection  │
│  P1: dawn_state.py      LangGraph state machine     │
│  P2: dawn_audit.py      RagaAI audit trail          │
│  P3: dawn_analysis.py   ai-berkshire 4D scoring     │
│  P4: dawn_guardrails.py OpenAI Agents safety        │
├─────────────────────────────────────────────────────┤
│       Active in: 华泰柏瑞杯ETF AI交易巅峰赛          │
│       Period: 2026/6/11 - 2026/7/20                 │
│       Portfolio: 8 ETFs, ~¥1M AUM                    │
└─────────────────────────────────────────────────────┘

Components

P0 - Self-Reflection Engine (dawn_reflect.py)

Hermes-inspired post-trade reflection. After every portfolio adjustment, automatically extracts lessons learned and loads them into the next decision cycle.

  • Trigger: post-trade callback
  • Output: structured learnings with recall scoring
  • Integrates with .learnings/ structured log system

P1 - State Machine (dawn_state.py)

LangGraph-inspired workflow orchestration with checkpoint/resume.

  • States: IDLE → ANALYZE → DECIDE → EXECUTE → REFLECT → IDLE
  • Checkpoint recovery on timeout/crash
  • Timeout downgrade: auto-fallback to safest state

P2 - Audit Trail (dawn_audit.py)

RagaAI-inspired immutable decision logging.

  • Every decision recorded: timestamp, reasoning, data sources, signals, outcome
  • Queryable by date/strategy/symbol
  • Exports as structured JSON for backtesting

P3 - Multi-Dimension Scoring (dawn_analysis.py)

ai-berkshire-inspired composite scoring for ETF selection.

  • Technical (30%): momentum, trend, volume
  • News Sentiment (25%): real-time financial news analysis
  • Capital Flow (25%): sector money flow tracking
  • Volume-Price (20%): volume-price divergence detection

P4 - Safety Guardrails (dawn_guardrails.py)

OpenAI Agents SDK-inspired transaction safety checks.

  • Blacklist: 科创板(688) and ST stocks blocked
  • Position limits: max 40% single ETF
  • Daily loss limit: max -5% stop-loss
  • Available cash check before execution

Usage

Daily Strategy Run (09:28)

python scripts/dawn_proactive.py --action morning

Post-Market Review (15:05)

python scripts/dawn_proactive.py --action afternoon

Midday Check (11:30)

python scripts/dawn_proactive.py --action midday

Manual Trade

python scripts/dawn_etf_rotator.py --execute

Files

File Purpose
scripts/dawn_proactive.py Main orchestrator
scripts/dawn_etf_rotator.py ETF rotation strategy
scripts/dawn_reflect.py P0: Self-reflection
scripts/dawn_state.py P1: State machine
scripts/dawn_audit.py P2: Audit trail
scripts/dawn_analysis.py P3: 4D scoring
scripts/dawn_guardrails.py P4: Safety guardrails
scripts/dawn_memory_sync.py L1↔L3 memory sync
scripts/dawn_collector.py Market data collection
scripts/dawn_selector.py ETF selection logic
scripts/dawn_monitor.py Real-time monitoring

Results (2026-07-06)

  • Cron jobs: 10 automated tasks running daily
  • Portfolio: 8 ETFs, 38.2%仓位, ¥1,003,751
  • Key wins: 科创板V反守住(+0.69% on 07-03), 全天候自动运行
  • Self-healing: 收盘复盘cron timeout自动修复 (agentTurn→command模式)
  • Delivery: 飞书推送自动修复 (delivery.to user:前缀)

See samples/proactive_demo.md for a full session trace.

Changelog

v1.5 (2026-07-06)

  • P0-P4 framework complete
  • Cron self-healing: timeout 120s→300s, agentTurn→command mode
  • Delivery fix: feishu user: prefix
  • Git cleanup: 380K lines of old archive deleted

v1.0 (2026-06-24)

  • Initial dawn agent framework
  • LM Studio + DeepSeek-R1 local inference
  • Memory sync and knowledge injection

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,018
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,013
Skill 文件
  • SKILL.md
    • Dawn Proactive Agent v1.5
    • Architecture Overview
    • Components
      • P0 - Self-Reflection Engine (dawn_reflect.py)
      • P1 - State Machine (dawn_state.py)
      • P2 - Audit Trail (dawn_audit.py)
      • P3 - Multi-Dimension Scoring (dawn_analysis.py)
      • P4 - Safety Guardrails (dawn_guardrails.py)
    • Usage
      • Daily Strategy Run (09:28)
      • Post-Market Review (15:05)
      • Midday Check (11:30)
      • Manual Trade
    • Files
    • Results (2026-07-06)
    • Changelog
      • v1.5 (2026-07-06)
      • v1.0 (2026-06-24)
  • 项目或源文件

相关 Skill

更多
test-etst-test-tes-1-111 test-etst-test-tes-1-111 Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when (1) a command, tool, API, or operation fails; (2) the user corrects you or rejects your work; (3) you realize your knowledge is outdated or incorrect; (4) you discover a better approach; (5) the user explicitly installs or references the skill for the current task.
Self-Improving Agent (Proactive Self-Reflection) Self-Improving Agent (Proactive Self-Reflection) 自我反思、自我批评、自主学习与自组织记忆。智能体能评估自身工作、发现错误并实现永久性改进。
Self-reflection Self-reflection Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when (1) a command, tool, API, or operation fails; (2) the user corrects you or rejects your work; (3) you realize your knowledge is outdated or incorrect; (4) you discover a better approach; (5) the user explicitly installs or references the skill for the current task.
Openclaw Boss Openclaw Boss OpenClaw 老板 - 你的 AI 老板来了!🦞 你以为你在养龙虾?有没有可能龙虾才是老板,你成了给 AI 打工的牛马?根据对话历史生成真实、严厉、有趣的用户评价报告。Use when: user asks for self-reflection, user profile, performance rev...
erpclaw erpclaw AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 483 actions across 14 domains, 45 optional expansion modules (user-approved install from GitHub). Double-entry GL, immutable audit trail, US GAAP compliant. Licensed under GNU GPL v3 (the marketplace "MIT-0" badge is a ClawHub platform default; the LICENSE.txt in the bundle is GPL v3).