fix(ecos): correct all 6 ECOS API stat/item codes #task-292
- GDP: 111Y002/10111 -> 902Y015/KOR (international comparative stats) - Unemployment: 901Y027/3 -> 901Y027/I61BC (correct item for rate) - CD rate: 817Y002/010502000 -> 721Y001/2010000 (market interest rates) - CPI: now computes YoY growth from level index (pct_change) - Leading index: monthly (M) fetch + annual average (no annual data available) - Fix DataFrame merge: dedup index, dropna before concat - Fix NaN in scenario Z paths: fallback to z_scenario - Update config.yaml with verified stat codes
This commit is contained in:
15
config.yaml
15
config.yaml
@@ -6,15 +6,14 @@
|
||||
ecos:
|
||||
api_key: "C5220CGY8FYFDN43B7ON"
|
||||
base_url: "https://ecos.bok.or.kr/api"
|
||||
# 주요 통계코드
|
||||
# 주요 통계코드 (검증 완료 2026-03-10)
|
||||
stat_codes:
|
||||
gdp_growth: "111Y002" # 국내총생산(실질성장률)
|
||||
unemployment: "901Y027" # 실업률
|
||||
base_rate: "722Y001" # 한국은행 기준금리
|
||||
cd_rate: "817Y002" # CD(91일) 금리
|
||||
treasury_3y: "817Y002" # 국고채(3년) 수익률
|
||||
cpi: "901Y009" # 소비자물가지수
|
||||
composite_leading: "901Y067" # 경기선행지수
|
||||
gdp_growth: "902Y015" # 국제 주요국 경제성장률 / ITEM: KOR
|
||||
unemployment: "901Y027" # 경제활동인구 / ITEM: I61BC (실업률)
|
||||
base_rate: "722Y001" # 한국은행 기준금리 / ITEM: 0101000
|
||||
cd_rate: "721Y001" # 시장금리 / ITEM: 2010000 (CD 91일)
|
||||
cpi: "901Y009" # 소비자물가지수 / ITEM: 0 (총지수, level→YoY% 변환)
|
||||
composite_leading: "901Y067" # 경기종합지수 / ITEM: I16A (선행, 월별→연평균)
|
||||
|
||||
# 모형 파라미터
|
||||
model:
|
||||
|
||||
Reference in New Issue
Block a user