Nano
Discover Nano: digital money for everyday payments, businesses and the software we build. Explore wallets, the ecosystem and AI-agent integrations.
DART Open API로 상장사 재무제표를 불러와 재무비율, ROE 분해, 손익 브리지, 현금흐름을 비교합니다.
Translation pending
FinanceJavaScript · HTMLGitHub @soong-soongOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗금융감독원 DART Open API로 상장사 사업보고서 재무제표를 불러와, 최대 4개 기업의 재무비율·추이를 비교하는 웹앱입니다.
?c=00126380,00164779&t=bridge 형태의 공유 링크index.html, style.css, js/ 정적 프런트엔드 (빌드 없음, 바닐라 JS + Chart.js)
js/ratios.js 재무비율 (강의 3장)
js/analysis.js 손익 브리지·FCF·ROE 분해·듀퐁·경보 (강의 4~6장)
api/company.js 기업 개황 프록시 → DART company.json
api/financials.js 재무제표 프록시 → DART fnlttSinglAcntAll.json (사업보고서 2건 동시 호출로 6개년)
api/governance.js 지배구조 프록시 → DART 정기보고서 주요정보 6종 (최대주주·소액주주·임원·배당·감사·직원)
vercel.json 서버 함수를 서울(icn1) 리전에서 실행 → DART 응답 지연 감소
data/corps.json 상장사 목록 + 업종코드 (GitHub Actions가 매월 갱신)
scripts/update_corps.py corps.json 생성 스크립트 (파이썬 표준 라이브러리만 사용)
왜 서버 함수가 필요한가? DART API는 브라우저에서 직접 호출할 수 없고(CORS), API 키가 노출되면 안 됩니다. 그래서 Vercel 서버리스 함수가 키를 숨긴 채 대신 호출하고, 응답을 CDN에 하루 캐시해 DART 호출 수(일 20,000회 한도)를 아낍니다.
DART_API_KEY 추가DART_API_KEY 추가 → Deploy이후 main에 push할 때마다 자동 재배포됩니다.
Node.js 18+ 만 있으면 됩니다 (패키지 설치 없음). .env 파일에 DART_API_KEY=... 를 넣고:
node dev-server.js
→ http://localhost:3000 . .env는 .gitignore에 있어 GitHub에 올라가지 않습니다.
| 지표 | 식 |
|---|---|
| ROE | 지배주주 순이익 ÷ 평균 지배주주 자본 (별도는 순이익 ÷ 평균 자본) |
| ROA | 순이익 ÷ 평균 총자산 |
| 부채비율 | 부채총계 ÷ 자본총계 |
| 유동비율 | 유동자산 ÷ 유동부채 |
| 총자산회전율 | 매출액 ÷ 평균 총자산 |
| FCF | 영업활동현금흐름 − 유형자산 취득 |
평균은 전년도 값이 있을 때만 쓰고, 없으면 기말값을 씁니다.