Yahoo Finance 업스트림에서 제공하는 공개 시장 시세 시계열, 메타데이터 및 선택적 기업 활동을 조회합니다. 데이터 출처는 Yahoo Finance(Manus API Hub 경유)이며 표시하거나 하위 사용 시 출처 표기를 유지하고 적용 약관을 준수하세요. 데이터 라이선스, 재배포 및 상업적 재판매 자격은 독립 검증되지 않았습니다.
입력 계약
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[A-Za-z0-9.^=-]+$",
"default": "AAPL",
"description": "Yahoo Finance 证券代码;允许如 AAPL、BRK-B、^GSPC、EURUSD=X 的字符形式。"
},
"region": {
"type": "string",
"enum": [
"US",
"BR",
"AU",
"CA",
"FR",
"DE",
"HK",
"IN",
"IT",
"ES",
"GB",
"SG"
],
"default": "US",
"description": "文档列出的市场区域代码。"
},
"interval": {
"type": "string",
"enum": [
"1m",
"2m",
"5m",
"15m",
"30m",
"60m",
"1d",
"1wk",
"1mo"
],
"default": "1mo",
"description": "K 线/时间序列间隔;文档默认值为 1mo。"
},
"range": {
"type": "string",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"default": "1mo",
"description": "时间范围;该受支持模式不与 period1/period2 混用。"
},
"comparisons": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9.^=-]+(,[A-Za-z0-9.^=-]+)*$",
"default": "^FCHI",
"description": "逗号分隔的对比证券代码;文档默认值为 ^FCHI。"
},
"events": {
"type": "string",
"minLength": 3,
"maxLength": 64,
"pattern": "^(capitalGain|div|split|earn|history)(,(capitalGain|div|split|earn|history))*$",
"default": "capitalGain,div,split",
"description": "逗号分隔的公司行动类型;文档默认值为 capitalGain,div,split。"
},
"includePrePost": {
"type": "boolean",
"default": false,
"description": "是否纳入盘前和盘后时段;文档默认 false。"
},
"includeAdjustedClose": {
"type": "boolean",
"default": true,
"description": "是否纳入复权收盘价;文档默认 true。"
}
},
"required": [
"symbol",
"interval",
"range"
],
"additionalProperties": false
}