Skip to content

[FEAT] Collect macro data 2015-2025 #25

Description

@PRAHE

거시경제 데이터 수집

수집 변수 (6개):

  1. 신용스프레드 — ECOS 817Y002: 회사채AA-(010300000) - 국고채3년(010200000), 일별→분기평균
  2. 코스닥 분기 수익률 — ECOS 802Y001: KOSDAQ지수(0089000), 일별→분기말값→수익률
  3. GDP 성장률 yoy — ECOS 200Y102: GDP전년동기비(10211), 분기
  4. 환율 전기비 변화율 — ECOS 731Y001: 원/달러매매기준율(0000001), 일별→분기말값→전기비변화율(%)
  5. VIX 분기 평균 — yfinance: ^VIX, 일별→분기평균
  6. CPI 전년동기비 — ECOS 901Y009: 소비자물가지수총지수(0), 분기→전년동기비(%)

출력:

data/macro/macro_quarterly.csv
컬럼: year, quarter, credit_spread, kosdaq_return,
gdp_growth_yoy, usdkrw_chg, vix_avg, cpi_yoy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions