70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"tool_info": {
|
|
"introduce": "한국투자증권의 ETF/ETN OPEN API를 활용합니다.",
|
|
"introduce_append": "",
|
|
"examples": [
|
|
{
|
|
"api_type": "inquire_price",
|
|
"params": {
|
|
"fid_cond_mrkt_div_code": "J",
|
|
"fid_input_iscd": "123456"
|
|
}
|
|
},
|
|
{
|
|
"api_type": "nav_comparison_trend",
|
|
"params": {
|
|
"fid_cond_mrkt_div_code": "J",
|
|
"fid_input_iscd": "069500"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"apis": {
|
|
"inquire_price": {
|
|
"category": "[국내주식] 기본시세",
|
|
"name": "ETF/ETN 현재가",
|
|
"github_url": "https://github.com/koreainvestment/open-trading-api/tree/main/examples_llm/etfetn/inquire_price",
|
|
"method": "inquire_price",
|
|
"api_path": "/uapi/etfetn/v1/quotations/inquire-price",
|
|
"params": {
|
|
"fid_cond_mrkt_div_code": {
|
|
"name": "fid_cond_mrkt_div_code",
|
|
"type": "str",
|
|
"required": true,
|
|
"default_value": null,
|
|
"description": "[필수] 조건 시장 분류 코드 (ex. J:KRX, NX:NXT, UN:통합)"
|
|
},
|
|
"fid_input_iscd": {
|
|
"name": "fid_input_iscd",
|
|
"type": "str",
|
|
"required": true,
|
|
"default_value": null,
|
|
"description": "[필수] 입력 종목코드 (ex. 123456)"
|
|
}
|
|
}
|
|
},
|
|
"nav_comparison_trend": {
|
|
"category": "[국내주식] 기본시세",
|
|
"name": "NAV 비교추이(종목)",
|
|
"github_url": "https://github.com/koreainvestment/open-trading-api/tree/main/examples_llm/etfetn/nav_comparison_trend",
|
|
"method": "nav_comparison_trend",
|
|
"api_path": "/uapi/etfetn/v1/quotations/nav-comparison-trend",
|
|
"params": {
|
|
"fid_cond_mrkt_div_code": {
|
|
"name": "fid_cond_mrkt_div_code",
|
|
"type": "str",
|
|
"required": true,
|
|
"default_value": null,
|
|
"description": "[필수] 조건 시장 분류 코드 (ex. J)"
|
|
},
|
|
"fid_input_iscd": {
|
|
"name": "fid_input_iscd",
|
|
"type": "str",
|
|
"required": true,
|
|
"default_value": null,
|
|
"description": "[필수] 입력 종목코드"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |