earnings-setup
Skill2 starsChanged 4 months agoMITView on GitHub
設定財報追蹤自動化。從 CSV 清單出發,查詢財報日期,建行事曆事件,建立 cron 輪詢排程。觸發詞:「設定財報追蹤」「earnings setup」「加股票到追蹤清單」「追蹤財報」
- Installs packages
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- apple-notesSkill
- automlSkill
- earnings-processSkill
- earnings-statusSkill
- forensic-transcript-translatorSkill
- futu-indicator-coderSkill
- ical-cliSkill
- notebooklmSkill
- release-skillsSkill
- remSkill
- taiwan-earnings-translatorSkill
The file
Files
Earnings Setup — 財報追蹤自動化設定
檔案路徑
- 腳本目錄:
/Users/fredchu/Documents/For_Claude/scripts/earnings-autopilot/ - Ticker 清單:
/Users/fredchu/Documents/For_Claude/inbox/earnings/tickers.csv - 狀態目錄:
/Users/fredchu/Documents/For_Claude/scripts/earnings-autopilot/state/ - ical CLI:
/Users/fredchu/bin/ical
流程
Step 1: 讀取 Ticker 清單
cat /Users/fredchu/Documents/For_Claude/inbox/earnings/tickers.csv解析 CSV(逗號分隔),取得所有 ticker symbols。 如果用戶指定特定 ticker,只處理那些。
Step 2: 查詢財報日期
對每支 ticker 執行:
python3 /Users/fredchu/Documents/For_Claude/scripts/earnings-autopilot/fetch_earnings_date.py TICKER收集結果,分類:
- 可排程(60 天內)
- 太遠(> 60 天)— 列出但不自動排程
- 查詢失敗 — 列出供用戶處理
向用戶報告結果表格,確認要排程哪些。
Step 3: 建行事曆事件
對確認的 ticker,用 ical CLI 建事件:
/Users/fredchu/bin/ical add --title "NVDA 盤後財報" --date "2026-05-28" --calendar "個人" --allday- 標題格式:
{TICKER} {盤前/盤後/未知} 財報 - 時間:如果知道 AMC/BMO 就標註,否則標「未知」
- 全天事件
Step 4: 建立 Cron 輪詢排程
/Users/fredchu/Documents/For_Claude/scripts/earnings-autopilot/cron_manager.sh add TICKER Q{N}_{YEAR} YYYY-MM-DDStep 5: 建立狀態檔
確認 state/{TICKER}_{QUARTER}.json 已建立(poll_transcript.sh 會自動建立)。
Step 6: 報告
向用戶彙整報告:
- 已排程的 ticker + 財報日期 + cron 排程
- 太遠的 ticker(建議下次再設定)
- 失敗的 ticker
注意事項
- 距離 > 60 天的 ticker 列出並詢問用戶,不自動排程
- yfinance 需要安裝:
pip install yfinance - 每次只處理下一次財報,不排程更遠的未來
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

