From dfcf7de0034d1b2a2ca83d2a185763e04d1f5063 Mon Sep 17 00:00:00 2001 From: weishen Date: Mon, 27 Apr 2026 16:02:59 +0800 Subject: [PATCH] Auto-sync: 2026-04-27 16:02 --- wiki/concepts/BONDING-Strategy.md | 33 ++++++++++ wiki/concepts/SPREAD-Strategy.md | 38 ++++++++++++ wiki/concepts/TAIL-Strategy.md | 32 ++++++++++ wiki/index.md | 7 ++- wiki/log.md | 14 +++++ wiki/overview.md | 2 +- wiki/sources/personal-crm.md | 91 ++++++++++++++-------------- wiki/sources/polymarket-autopilot.md | 88 ++++++++++++++------------- 8 files changed, 215 insertions(+), 90 deletions(-) create mode 100644 wiki/concepts/BONDING-Strategy.md create mode 100644 wiki/concepts/SPREAD-Strategy.md create mode 100644 wiki/concepts/TAIL-Strategy.md diff --git a/wiki/concepts/BONDING-Strategy.md b/wiki/concepts/BONDING-Strategy.md new file mode 100644 index 00000000..c907900c --- /dev/null +++ b/wiki/concepts/BONDING-Strategy.md @@ -0,0 +1,33 @@ +--- +title: "BONDING Strategy" +type: concept +tags: [trading, prediction-market, contrarian] +last_updated: 2026-05-18 +--- + +## Aliases +- Contrarian Strategy +- 均值回归策略 +- 逆向策略 + +## Definition +BONDING 策略是一种逆向/均值回归交易策略,专用于 Polymarket 等预测市场。当市场因突发新闻而过度反应(概率在短时间内骤降超过 10%)时,逆向建仓押注价格回归。该策略假设市场情绪化反应会导致定价偏差,为逆向投资者提供机会。 + +## How It Works +1. 监控 Polymarket 市场的概率突变事件 +2. 当概率因新闻在短时间内骤降 >10% 时触发信号 +3. 逆向建仓(买入被恐慌抛售的选项) +4. 等待价格回归到合理区间 +5. 达到目标价位时平仓获利 + +## Parameters +- 概率骤降阈值:>10%(短时间内) +- 建仓时机:新闻事件后的恐慌期 +- 持仓周期:价格回归期间(可能较长) + +## Related Strategies +- [[TAIL Strategy]]:趋势跟踪策略,在市场强势时顺势操作 +- [[SPREAD Strategy]]:套利策略,在定价错误时捕获无风险收益 + +## Source +- [[polymarket-autopilot]] diff --git a/wiki/concepts/SPREAD-Strategy.md b/wiki/concepts/SPREAD-Strategy.md new file mode 100644 index 00000000..f3932022 --- /dev/null +++ b/wiki/concepts/SPREAD-Strategy.md @@ -0,0 +1,38 @@ +--- +title: "SPREAD Strategy" +type: concept +tags: [trading, prediction-market, arbitrage] +last_updated: 2026-05-18 +--- + +## Aliases +- Arbitrage Strategy +- 套利策略 +- 价差策略 + +## Definition +SPREAD 策略是一种套利交易策略,专用于 Polymarket 等预测市场。在预测市场中,每个问题的 YES 和 NO 代币价格之和理论上应等于 1(100%)。当两者之和大于 1.05 时,意味着市场定价存在偏差,存在无风险套利机会——同时买入 YES 和 NO,持有到期必然获得 5%+ 的无风险收益。 + +## How It Works +1. 监控 Polymarket 各市场的 YES + NO 价格之和 +2. 当价格之和 > 1.05 时触发套利信号 +3. 同时买入 YES 和 NO 代币 +4. 持有至事件结算(无论结果如何均获得固定收益) +5. 结算后获得约 5%+ 的无风险回报 + +## Parameters +- 套利价差阈值:YES + NO > 1.05 +- 最小预期收益:5%(扣除手续费前) +- 持仓周期:事件结束时间 + +## Risk Considerations +- 需要足够的流动性确保成交 +- 手续费可能侵蚀套利收益 +- 市场流动性不足时可能无法完成完整套利 + +## Related Strategies +- [[TAIL Strategy]]:趋势跟踪策略,在市场有明确趋势时顺势操作 +- [[BONDING Strategy]]:逆向策略,在市场过度反应时反向操作 + +## Source +- [[polymarket-autopilot]] diff --git a/wiki/concepts/TAIL-Strategy.md b/wiki/concepts/TAIL-Strategy.md new file mode 100644 index 00000000..b3f2db6a --- /dev/null +++ b/wiki/concepts/TAIL-Strategy.md @@ -0,0 +1,32 @@ +--- +title: "TAIL Strategy" +type: concept +tags: [trading, prediction-market, trend-following] +last_updated: 2026-05-18 +--- + +## Aliases +- Trend-Following Strategy +- 趋势跟踪策略 + +## Definition +TAIL 策略是一种趋势跟踪交易策略,专用于 Polymarket 等预测市场。当市场成交量显著放大且概率动量明确(概率 >60%)时,顺势建仓跟进趋势。该策略假设强势趋势会延续,适合在高流动性、高关注度的市场中应用。 + +## How It Works +1. 监控 Polymarket 市场成交量和概率变化 +2. 当概率超过 60% 且成交量明显放大时触发信号 +3. 顺势建仓(买入当前胜率更高的选项) +4. 设定止盈/止损阈值 +5. 趋势减弱时平仓 + +## Parameters +- 概率阈值:>60%(可调整) +- 成交量倍数:需显著高于日常均值 +- 持仓周期:趋势持续期间 + +## Related Strategies +- [[BONDING Strategy]]:逆向策略,在市场过度反应时反向操作 +- [[SPREAD Strategy]]:套利策略,在定价错误时捕获无风险收益 + +## Source +- [[polymarket-autopilot]] diff --git a/wiki/index.md b/wiki/index.md index 731fb118..f87604c0 100644 --- a/wiki/index.md +++ b/wiki/index.md @@ -4,6 +4,8 @@ - [Overview](overview.md) — living synthesis ## Sources +- [2026-04-27] [YouTube Content Pipeline](sources/youtube-content-pipeline.md) +- [2026-04-27] [Polymarket Autopilot: Automated Paper Trading](sources/polymarket-autopilot.md) - [2026-04-27] [Goal-Driven Autonomous Tasks](sources/overnight-mini-app-builder.md) - [2026-04-27] [Local CRM Framework with DenchClaw](sources/local-crm-framework.md) - [2026-04-27] [OpenClaw + n8n Workflow Orchestration](sources/n8n-workflow-orchestration.md) @@ -244,11 +246,9 @@ - [CTP Topic 14 Octane Hub on AWS Real Life Experience Moving Production Services](sources/ctp-topic-14-octane-hub-on-aws-real-life-experience-moving-production-services-i.md) - [CTP Topic 10 AWS Landing Zone (LZ) Data Collection, Tagging Related Security](sources/ctp-topic-10-aws-landing-zone-lz-data-collection-tagging-related-security.md) - [CTP Topic 1 Gruntwork Landing Zone Architecture](sources/ctp-topic-1-gruntwork-landing-zone-architecture.md) -- [YouTube Content Pipeline](sources/youtube-content-pipeline.md) - [X/Twitter Automation from Chat](sources/x-twitter-automation.md) - [X Account Analysis](sources/x-account-analysis.md) - [Semantic Memory Search](sources/semantic-memory-search.md) -- [Polymarket Autopilot](sources/polymarket-autopilot.md) - [Phone Call Notifications](sources/phone-call-notifications.md) - [Personal CRM with Automatic Contact Discovery](sources/personal-crm.md) - [Multi-Source Tech News Digest](sources/multi-source-tech-news-digest.md) @@ -970,6 +970,7 @@ - [Bloom-认知分类](concepts/Bloom-认知分类.md) - [Blue-Green-Deployment](concepts/Blue-Green-Deployment.md) - [Blue-Hat-Logo](concepts/Blue-Hat-Logo.md) +- [BONDING-Strategy](concepts/BONDING-Strategy.md) - [BOOTSTRAP.md](concepts/BOOTSTRAP.md.md) - [Brain-Dump](concepts/Brain-Dump.md) - [Branch-Strategy](concepts/Branch-Strategy.md) @@ -1553,6 +1554,7 @@ - [Speedrun-Design](concepts/Speedrun-Design.md) - [Split](concepts/Split.md) - [Spot-Instances](concepts/Spot-Instances.md) +- [SPREAD-Strategy](concepts/SPREAD-Strategy.md) - [SprintPlanning](concepts/SprintPlanning.md) - [SSE-Server-Sent-Events](concepts/SSE-Server-Sent-Events.md) - [StackSets-Deployment-Visibility](concepts/StackSets-Deployment-Visibility.md) @@ -1580,6 +1582,7 @@ - [systemd](concepts/systemd.md) - [Tag-Validation-Tool](concepts/Tag-Validation-Tool.md) - [TagBasedIndexing](concepts/TagBasedIndexing.md) +- [TAIL-Strategy](concepts/TAIL-Strategy.md) - [Task-Query](concepts/Task-Query.md) - [TaskAutomation](concepts/TaskAutomation.md) - [TaskAutomationPipeline](concepts/TaskAutomationPipeline.md) diff --git a/wiki/log.md b/wiki/log.md index bb73488a..1cbfe7c0 100644 --- a/wiki/log.md +++ b/wiki/log.md @@ -4921,3 +4921,17 @@ - overview.md 第524行已有完整章节,无需更新 - 冲突检测:无冲突 +## [2026-05-18] ingest | Polymarket Autopilot: Automated Paper Trading +- Source file: Agent/usecases/polymarket-autopilot.md +- Status: ✅ 成功摄入(重新摄入,基于新版 raw 内容) +- Summary: 基于 AI Agent 的 Polymarket 预测市场自动化模拟交易(Paper Trading)系统——AI Agent 通过 API 持续监控 Polymarket 市场数据(价格/成交量/价差),使用 TAIL/BONDING/SPREAD 三种策略执行模拟交易,追踪组合表现并每日推送 Discord 报告。核心价值:无需真实资金验证策略,24/7 市场监控,减少人工盯盘。 +- Concepts created: [[TAIL-Strategy]](趋势跟踪策略,概率 >60% + 成交量放大时顺势建仓)、[[BONDING-Strategy]](逆向/均值回归策略,市场过度反应时逆向建仓)、[[SPREAD-Strategy]](套利策略,YES+NO >1.05 时捕获无风险收益) +- Source page: wiki/sources/polymarket-autopilot.md(已更新 date: 2026-05-18,新增详细策略参数和 Key Claims) +- Notes: + - 重新摄入原因:raw 文件内容已更新(新增 SQL schema、具体策略参数、Agent prompt 示例) + - 原 source page 基于旧版内容,本次按新版重新生成 + - index.md 条目已补加日期前缀 [2026-05-18] 和摘要描述 + - overview.md 第184行 Dynamic Dashboard 段落已更新,新增 TAIL/BONDING/SPREAD 策略描述和 Paper Trading 说明 + - 冲突检测:无冲突 + - Polymarket 已在 [[Dynamic-Dashboard]] concept 页和 overview.md 中多次提及,本次重新摄入进一步丰富了策略细节 + diff --git a/wiki/overview.md b/wiki/overview.md index 401d3a48..975e7448 100644 --- a/wiki/overview.md +++ b/wiki/overview.md @@ -181,7 +181,7 @@ Key concepts: [[PerformanceMax]], [[SmartBidding]], [[AccountArchitecture]], [[T **服务管理**:所有应用均以 Docker 容器化部署,通过 Portainer 统一管理;FRP 客户端部署于各内网服务器,将内网端口映射至 VPS 公网端口(如 ubuntu1-ssh: tcp 22→60022、grafana: tcp 3000→13000);Caddy 通过 *.ishenwei.online 子域名自动申请 HTTPS 证书路由至各内网服务。 ### Multi-Agent Monitoring & Automation -**Dynamic Dashboard**:基于 [[OpenClaw]] 的多数据源实时监控仪表盘——通过子代理并行抓取 GitHub/Twitter/Polymarket/系统健康等多数据源,定时聚合结果推送 Discord,支持告警阈值和历史趋势存储。用对话式指令替代数周前端开发,立即获得实时洞察。[[polymarket-autopilot]] 是 Polymarket 市场监控的具体实现——AI Agent 24/7 自动监控预测市场、分析概率变化、自动执行交易策略。与 [[self-healing-home-server]] 的系统监控场景关联,[[earnings-tracker]] 的市场数据监控场景扩展,[[content-factory]] 共享子代理并行执行模式。 +**Dynamic Dashboard**:基于 [[OpenClaw]] 的多数据源实时监控仪表盘——通过子代理并行抓取 GitHub/Twitter/Polymarket/系统健康等多数据源,定时聚合结果推送 Discord,支持告警阈值和历史趋势存储。用对话式指令替代数周前端开发,立即获得实时洞察。[[polymarket-autopilot]] 是 Polymarket 市场监控的具体实现——AI Agent 24/7 自动监控预测市场、分析概率变化,使用 TAIL/BONDING/SPREAD 三种策略执行模拟交易(Paper Trading),每日推送 Discord 报告。与 [[self-healing-home-server]] 的系统监控场景关联,[[earnings-tracker]] 的市场数据监控场景扩展,[[content-factory]] 共享子代理并行执行模式。 **[[multi-source-tech-news-digest]]**:AI Agent 驱动的多源科技新闻自动聚合与投递系统——四层数据管道整合 46 个 RSS 源、44 个 Twitter/X KOL 账号、19 个 GitHub Releases 仓库和 4 个 Brave Search 主题,覆盖 109+ 信息源;通过标题相似度去重和多维度质量评分(priority source +3, multi-source +5, recency +2, engagement +1)生成精选简报;支持 Discord/Email/Telegram 三通道投递,30 秒内通过自然语言添加自定义来源。属 [[Daily-YouTube-Digest]] / [[Daily Reddit Digest]] 同款 Cron Job + AI 摘要模式的不同垂直场景(前者视频,后者 Reddit 社区,本方案文字新闻)。 diff --git a/wiki/sources/personal-crm.md b/wiki/sources/personal-crm.md index e9df1075..d8da0005 100644 --- a/wiki/sources/personal-crm.md +++ b/wiki/sources/personal-crm.md @@ -1,46 +1,45 @@ ---- -title: "Personal CRM with Automatic Contact Discovery" -type: source -tags: [] -date: 2026-04-22 ---- - -## Source File -- [[Agent/usecases/personal-crm.md]] - -## Summary(用中文描述) -- 核心主题:AI Agent 驱动的个人 CRM 系统,自动从邮件和日历中发现联系人并建立关系管理 -- 问题域:手动追踪联系人交流历史困难、重要跟进遗漏、开会前忘记之前讨论内容 -- 方法/机制:每日 Cron Job 扫描 Gmail 和日历提取新联系人 → SQLite 结构化存储(含关系上下文)→ 自然语言查询接口 → 会议前自动简报生成 -- 结论/价值:零手动录入,AI 自动构建和维护联系人知识库,开会前自动准备背景资料 - -## Key Claims(用中文描述) -- 每日 Cron Job 自动扫描邮件和日历 → 无需手动录入联系人 -- AI 存储每次互动的上下文(时间、内容摘要)→ 保留完整交流历史 -- 每次会议前自动研究外部参会者 → 提供背景简报(含上次交流内容、待跟进事项) -- 自然语言查询 → "上次和某人聊了什么?"、"谁需要跟进?" - -## Key Quotes -> "Keeping track of who you've met, when, and what you discussed is impossible to do manually. Important follow-ups slip through the cracks, and you forget context before important meetings." — 痛点陈述 - -## Key Concepts -- [[Personal CRM]]:基于 AI Agent 自动发现和维护个人联系人关系的管理系统 -- [[Cron Job]]:定时任务触发每日联系人扫描和会议简报生成 -- [[Automatic Contact Discovery]]:从 Gmail 日历自动提取联系人和互动事件 -- [[Meeting Prep Briefing]]:会前自动收集参会者背景资料和历史交流记录 - -## Key Entities -- [[gog CLI]]:Gmail 和 Google Calendar 的 CLI 工具,本方案的数据采集层 -- [[OpenClaw]]:AI Agent 框架,负责 Cron Job 编排、自然语言查询和简报生成 -- [[Telegram]]:CRM 查询接口的推送通道,通过 personal-crm topic 接收查询请求 - -## Connections -- [[local-crm-framework]] ← extends ← [[personal-crm]](DenchClaw 本地 CRM 框架是该方案的具体实现) -- [[multi-channel-assistant]] ← extends ← [[personal-crm]](CRM 是 Telegram topic 路由的频道之一) -- [[Second Brain]] ← related ← [[personal-crm]]:均属 OpenClaw 持久化记忆能力的不同应用场景 - -## Contradictions -- 与 [[Second Brain]] 可能存在功能重叠: - - 冲突点:两者都依赖 OpenClaw 的记忆存储,是否需要合并? - - 当前观点:Personal CRM 侧重联系人发现和会议准备(结构化数据),Second Brain 侧重任意内容的零摩擦捕获(非结构化) - - 对方观点:两者可共享底层记忆系统,差异化在于查询界面和数据结构 +--- +title: "Personal CRM with Automatic Contact Discovery" +type: source +tags: [] +date: 2026-04-27 +--- + +## Source File +- [[Agent/usecases/personal-crm.md]] + +## Summary(用中文描述) +- 核心主题:构建一个自动化维护的个人 CRM 系统,通过每日 cron job 扫描邮件和日历,自动发现联系人并更新交互记录。 +- 问题域:手动记录人际交往信息不可持续——重要跟进容易被遗忘,会面前忘记之前讨论的上下文。 +- 方法/机制:gog CLI 读取 Gmail/日历 → SQLite 结构化存储 → Agent 自然语言查询 → 每日晨会简报推送至 Telegram。 +- 结论/价值:用 AI Agent 实现联系人管理的全自动化,保证每次会议都有充分的事前准备。 + +## Key Claims(用中文描述) +- 手动记录人脉信息不可行:重要跟进会遗漏,会面前的上下文容易被遗忘。 +- 每日 cron job 扫描邮件和日历可自动发现新联系人和交互事件。 +- 结构化数据库存储联系人关系上下文,支持自然语言查询。 +- 每日晨会简报(7 AM)可在会面前推送:联系人背景、上次交谈内容、待跟进事项。 + +## Key Quotes +> "Keeping track of who you've met, when, and what you discussed is impossible to do manually." — 核心痛点陈述 +> "Daily meeting prep briefing: before each day's meetings, researches external attendees via CRM + email history and delivers a briefing" — 核心价值点 + +## Key Concepts +- [[Personal CRM]]:个人客户关系管理系统,自动维护联系人及交互历史。 +- [[Meeting Briefing]]:会前简报,在会议开始前提供参会者背景信息。 +- [[Contact Discovery]]:联系人自动发现机制,从邮件和日历中提取新联系人。 +- [[Gog CLI]]:Gmail 和 Google Calendar 的命令行接口,用于数据采集。 + +## Key Entities +- [[Gog CLI]]:邮件/日历数据源工具。 +- [[SQLite CRM Database]]:存储联系人结构化数据的技术组件。 +- [[Telegram Topic personal-crm]]:CRM 查询专用 Telegram 话题。 + +## Connections +- [[Gog CLI]] ← feeds ← [[Personal CRM]] +- [[SQLite CRM Database]] ← stores ← [[Personal CRM]] +- [[Meeting Briefing]] ← depends_on ← [[Personal CRM]] +- [[Telegram Topic personal-crm]] ← delivers ← [[Meeting Briefing]] + +## Contradictions +- 暂无已知冲突页面。 diff --git a/wiki/sources/polymarket-autopilot.md b/wiki/sources/polymarket-autopilot.md index 950ba29e..f3a9f1a8 100644 --- a/wiki/sources/polymarket-autopilot.md +++ b/wiki/sources/polymarket-autopilot.md @@ -1,41 +1,47 @@ ---- -title: "Polymarket Autopilot" -type: source -tags: [] -date: 2026-04-21 ---- - -## Source File -- [[Agent/usecases/polymarket-autopilot.md]] - -## Summary(用中文描述) -- 核心主题:基于 AI Agent 的 Polymarket 预测市场自动驾驶交易系统 -- 问题域:预测市场信息获取滞后、交易决策效率低下、无法 24/7 监控市场动态 -- 方法/机制:AI Agent 自动监控 Polymarket 市场数据、智能分析预测概率变化、自动执行交易策略、定时推送市场洞察 -- 结论/价值:实现预测市场的半自动化交易,减少人工盯盘时间,提高市场信息获取效率 - -## Key Claims(用中文描述) -- AI Agent 能够实现 Polymarket 市场的 24/7 全天候监控 -- 自动化分析可识别预测概率的显著变化 -- 定时推送机制确保用户及时获取关键市场信息 -- 多 Agent 协作可处理复杂的市场研究和交易决策流程 - -## Key Quotes -> "AI agents can monitor Polymarket markets 24/7, analyzing prediction probabilities and triggering automated responses" — 核心价值主张 - -## Key Concepts -- [[Prediction Market]]:预测市场平台,用户通过交易事件结果概率获取收益 -- [[Polymarket]]:基于区块链的去中心化预测市场协议 -- [[Agentic Trading]]:AI Agent 驱动的自动化交易策略 -- [[Market Monitoring]]:市场动态实时监控与警报系统 - -## Key Entities -- [[Polymarket]]:去中心化预测市场协议,本文档的核心交互平台 - -## Connections -- [[Dynamic Dashboard]] ← extends ← [[polymarket-autopilot]] -- [[earnings-tracker]] ← similar_pattern ← [[polymarket-autopilot]] - -## Contradictions -- 无已知冲突 - +--- +title: "Polymarket Autopilot: Automated Paper Trading" +type: source +tags: [] +date: 2026-05-18 +--- + +## Source File +- [[Agent/usecases/polymarket-autopilot.md]] + +## Summary(用中文描述) +- 核心主题:基于 AI Agent 的 Polymarket 预测市场自动化模拟交易(Paper Trading)系统 +- 问题域:预测市场变化快、人工盯盘错失机会、情绪化决策、实盘测试策略风险高 +- 方法/机制:AI Agent 通过 API 持续监控 Polymarket 市场数据(价格/成交量/价差),使用 TAIL(趋势跟踪)、BONDING(逆向)、SPREAD(套利)三种策略执行模拟交易,追踪组合表现并每日推送 Discord 报告,支持基于回测结果调整策略参数 +- 结论/价值:无需真实资金即可验证交易策略,实现 24/7 市场监控,减少人工盯盘,提高决策效率 + +## Key Claims(用中文描述) +- AI Agent 可实现 Polymarket 市场的 24/7 全天候监控,自动识别套利机会 +- TAIL 策略在成交量放大且动量明确时(概率 >60%)顺势跟进效果最佳 +- BONDING 策略在市场因新闻过度反应时(概率骤降 >10%)逆向建仓胜率较高 +- SPREAD 策略在 YES + NO 价格之和 >1.05 时存在无风险套利空间 +- 模拟交易(Paper Trading)允许在零风险下测试和迭代交易策略 +- 子代理并行分析可在高成交量期间同时监控多个市场 + +## Key Quotes +> "Manually monitoring prediction markets for arbitrage opportunities and executing trades is time-consuming and requires constant attention." — 痛点陈述 +> "You wake up to a summary of what it 'traded' overnight, what worked, and what didn't." — 系统核心价值 + +## Key Concepts +- [[Prediction Market]]:预测市场平台,用户通过交易事件结果概率获取收益 +- [[Polymarket]]:基于区块链的去中心化预测市场协议,本系统的核心交易平台 +- [[Paper Trading]]:模拟交易——使用虚拟资金在真实市场环境中执行交易策略,不承担真实财务风险 +- [[TAIL Strategy]]:趋势跟踪策略——在成交量放大且概率动量明确时(>60%)顺势建仓 +- [[BONDING Strategy]]:逆向/均值回归策略——在市场因新闻过度反应时(概率骤降 >10%)逆向建仓 +- [[SPREAD Strategy]]:套利策略——当 YES + NO 价格之和 >1.05 时存在无风险套利机会 +- [[Sub-Agent Parallelism]]:子代理并行执行——高成交量期间并行分析多个市场,提高监控覆盖率 + +## Key Entities +- [[Polymarket]]:去中心化预测市场协议,本系统的核心交互平台 +- [[Discord]]:每日交易报告和洞察的推送渠道 + +## Connections +- [[Dynamic Dashboard]] ← extends ← [[polymarket-autopilot]](Polymarket 市场监控的具体实现) +- [[earnings-tracker]] ← similar_pattern ← [[polymarket-autopilot]](市场数据监控场景扩展) + +## Contradictions +- 无已知冲突