feat(collector): FRED 심볼 3개 추가 (DGS30, DFII10, MORTGAGE30US) #82

Merged
xhh merged 1 commit from feature/fred-add-dgs30-dfii10-mortgage30us into main 2026-05-26 02:34:30 +09:00
Owner

변경

indicators.yaml 에 FRED 시리즈 3개 추가. 모두 무료, 기존 fetch_fred_series 경로 그대로 사용.

symbol name freq priority data_gap
DGS30 30년물 국채 수익률 daily high #10
DFII10 10년 TIPS 실질수익률 daily high #9
MORTGAGE30US 30년 고정 모기지 금리 (Freddie Mac) weekly medium #13

배경

2026-05-25 macro-report:liquidity 스킬이 자동 등록한 data_gap 7건 중 3건은 "기존 수집기로 잡을 수 있지만 indicators.yaml 에 심볼이 안 잡혀 있어서 누락" 패턴. 그 3건이 이 PR.

영향 / 검증

  • 새 컨테이너 빌드 후 다음 자동 수집 cycle (KST 09:00) 부터 자동 잡힘.

  • 즉시 백필은 머지+배포 후 다음 명령:

    . ~/.config/financial-data-platform/api.env
    curl -X POST 'http://localhost:8000/api/collect/single?symbols=DGS30,DFII10,MORTGAGE30US' \
      -H "X-API-Key: $FDP_REPORTER_API_KEY"
    
  • 머지 후 data_gap PATCH 로 해당 갭 종결:

    for ID in 9 10 13; do
      curl -X PATCH "http://localhost:8000/api/meta/data-gaps/$ID" \
        -H "X-API-Key: $FDP_REPORTER_API_KEY" -H 'Content-Type: application/json' \
        -d '{"resolved": true, "resolved_note": "PR via indicators.yaml 추가"}'
    done
    

위험

  • 신규 심볼이라 historical 전구간 백필 시 첫 호출에 시간이 약간 더 걸림 (각 심볼 ~수십초). collect_daily 자동 실행 timeout (1800s) 안에서 안전.
## 변경 `indicators.yaml` 에 FRED 시리즈 3개 추가. 모두 무료, 기존 `fetch_fred_series` 경로 그대로 사용. | symbol | name | freq | priority | data_gap | |---|---|---|---|---| | `DGS30` | 30년물 국채 수익률 | daily | high | #10 | | `DFII10` | 10년 TIPS 실질수익률 | daily | high | #9 | | `MORTGAGE30US` | 30년 고정 모기지 금리 (Freddie Mac) | weekly | medium | #13 | ## 배경 2026-05-25 `macro-report:liquidity` 스킬이 자동 등록한 data_gap 7건 중 3건은 "기존 수집기로 잡을 수 있지만 indicators.yaml 에 심볼이 안 잡혀 있어서 누락" 패턴. 그 3건이 이 PR. ## 영향 / 검증 - 새 컨테이너 빌드 후 다음 자동 수집 cycle (KST 09:00) 부터 자동 잡힘. - 즉시 백필은 머지+배포 후 다음 명령: ```bash . ~/.config/financial-data-platform/api.env curl -X POST 'http://localhost:8000/api/collect/single?symbols=DGS30,DFII10,MORTGAGE30US' \ -H "X-API-Key: $FDP_REPORTER_API_KEY" ``` - 머지 후 data_gap PATCH 로 해당 갭 종결: ```bash for ID in 9 10 13; do curl -X PATCH "http://localhost:8000/api/meta/data-gaps/$ID" \ -H "X-API-Key: $FDP_REPORTER_API_KEY" -H 'Content-Type: application/json' \ -d '{"resolved": true, "resolved_note": "PR via indicators.yaml 추가"}' done ``` ## 위험 - 신규 심볼이라 historical 전구간 백필 시 첫 호출에 시간이 약간 더 걸림 (각 심볼 ~수십초). collect_daily 자동 실행 timeout (1800s) 안에서 안전.
feat(collector): FRED 심볼 3개 추가 (DGS30, DFII10, MORTGAGE30US)
All checks were successful
Tests (PR) / pytest (pull_request) Successful in 32s
f64de9b3c0
매크로 유동성 리포트 스킬이 5/25 자동 등록한 data_gap 3건과 1:1 매칭:

- data_gap #10 → DGS30 (30년물 국채 수익률, 30Y 5.2% 19년 최고치 등 임계점 추적)
- data_gap #9  → DFII10 (10년 TIPS 실질수익률)
- data_gap #13 → MORTGAGE30US (30년 고정 모기지 금리, Freddie Mac, 주택시장 섹션)

모두 FRED 무료 시리즈라 기존 fetch_fred_series 경로로 즉시 수집 가능.
배포 후 다음 자동 수집 cycle (KST 09:00) 부터 자동 수집되며, 백필은
indicators.yaml 항목 추가만으로 충분 (collect_single 트리거 시 OpenBB
기본 range 가 historical 전구간을 가져옴).
xhh merged commit 92fd3a0ff4 into main 2026-05-26 02:34:30 +09:00
xhh deleted branch feature/fred-add-dgs30-dfii10-mortgage30us 2026-05-26 02:34:30 +09:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xhh/financial-data-platform!82
No description provided.