總覽
資料集以純靜態檔案透過 HTTPS 從 https://ahr999.aix4u.com 提供。每個端點都是唯讀、無需金鑰,並回傳 Access-Control-Allow-Origin: *,因此可直接從瀏覽器取得。該序列每天最多變化一次 —— 請快取回應,而非輪詢。
資料用於研究、教育與可觀測性,不構成投資建議,也不預測未來收益。
端點
| 方法 | 路徑 | 回傳 |
|---|---|---|
GET | /datasets/ahr999.json | 完整歷史,JSON 陣列,從舊到新。 |
GET | /datasets/ahr999.csv | 相同的列,CSV,UTF-8,帶標頭。 |
每個 JSON 元素遵循資料格式契約:date、close、ma200、ahr999、quantile5y、windowKind。
範例
最新數值
curl -s https://ahr999.aix4u.com/datasets/ahr999.json | jq '.[-1]'
某個日期範圍
curl -s https://ahr999.aix4u.com/datasets/ahr999.json \
| jq '[.[] | select(.date >= "2026-01-01" and .date <= "2026-01-31")]'
下載 CSV
curl -O https://ahr999.aix4u.com/datasets/ahr999.csv
從 JavaScript
const rows = await fetch(
"https://ahr999.aix4u.com/datasets/ahr999.json",
).then((r) => r.json());
const latest = rows.at(-1);
console.log(latest.ahr999, latest.windowKind);
機器可讀的發現入口
/openapi.json—— 兩個端點的 OpenAPI 3.1 描述。/api-catalog—— 指向 OpenAPI 文件的 API 目錄 linkset。/llms.txt與/llms-full.txt—— 面向 AI 代理與爬蟲的說明。
CORS 與快取
回應是靜態的、可跨來源讀取。由於序列只在每日 UTC 收盤後變化,你可以把任一回應視作在當日 UTC 剩餘時間內有效。轉發數值時,請按 CC BY 4.0 引用本資料集 —— 見常見問題。