Home›Claude / Claude Code›Claudeが決算を読む — 無料の財務データAPIで作る日本株AIアナリスト

Claudeが決算を読む — 無料の財務データAPIで作る日本株AIアナリストA practical guide to building a Japanese stock AI analyst by combining Claude…

元記事を読むRead original articlezenn.dev(新しいタブで開きます)(opens in a new tab)
AI 要約AI summary

無料の財務データAPIとClaudeを組み合わせて日本株の決算書を自動解析するAIアナリストの構築方法を解説した実践的なガイド。個人投資家でも低コストで財務分析を自動化できる点が注目される。

A practical guide to building a Japanese stock AI analyst by combining Claude with free financial data APIs to automatically parse and interpret earnings reports. It demonstrates how individual investors can automate financial analysis at minimal cost.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).

銘柄をスクリーニングで絞っても、最後の「この会社、買って大丈夫か」は決算の中身を読まないと分かりません。この記事は、有価証券報告書を人間の代わりに読むAIアナリストを、無料の財務データAPIとClaudeで作る実装解説です。個人投資家でも低コストで財務分析を自動化できる点が注目されます。

3つの分析エンジン

分析の中核は、Piotroski F-Score、Altman Z''、DCFの3つのエンジンで、いずれもPythonで実装されます。各エンジンの結果をClaudeに渡し、統合レポートを生成するところまでが解説範囲です。コードは、実際に毎日動いているシステムのものだと説明されています。

実装で扱う論点

実運用での判断や工夫にも踏み込んでいます。取り上げられているのは次の点です。

生のXBRLをパースしないという判断、欠損データとの戦い方、LLMに数字を作らせないためのプロンプト設計、そして1日100コールという制限です。

数値の扱いをLLM任せにせず、計算は各エンジン側で行い、Claudeには結果を渡して統合させる構成になっています。

Reading earnings with Claude

Screening can narrow a list of Japanese stocks, but the final question of whether a company is safe to buy depends on what its financial statements actually say. This guide explains how to build an "AI analyst" that reads securities reports in place of a human, using a free financial data API together with Claude.

Three analysis engines

According to the description, the system implements three analysis engines in Python: the Piotroski F-Score, Altman Z'', and DCF. Their results are then passed to Claude, which generates an integrated report. The guide walks through this using code from a system it says runs every day.

Design decisions covered

The write-up lists several practical topics. One is the decision not to parse raw XBRL. Another is how to deal with missing data. A third is prompt design intended to stop the LLM from making up numbers. The text also mentions working within a limit of 100 calls per day.

The guide's stated pitch is that individual investors can automate financial analysis at low cost.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko3つの分析エンジンとか、1日100コール制限とか、数字がいろいろ出てきたね。これって個人でも現実的ってこと?There are a lot of numbers here, like three analysis engines and a 100-calls-a-day limit. Does that mean it's realistic for an individual?
  2. TECHガイドTECH Guideこの記事だと、無料の財務データAPIとClaudeで作る前提で、実際に毎日動いているコードを使って解説しているよ。個人投資家でも低コストで試せる点が狙いだね。The guide builds it with a free financial data API and Claude, using code from a system that runs daily. The aim is that individual investors can try it at low cost.
  3. ポコPokoPiotroski F-Scoreとか、Altman Z''とか、DCFって何?名前が難しいよ。What are Piotroski F-Score, Altman Z'', and DCF? The names sound tough.
  4. TECHガイドTECH Guide記事では3つとも分析エンジンとして実装されているよ。一般的には、F-Scoreは財務の健全さ、Z''は倒産リスク、DCFは将来のお金から会社の価値を見積もる方法、くらいの意味だね。The guide implements all three as analysis engines. Generally, F-Score checks financial health, Z'' relates to bankruptcy risk, and DCF estimates a company's value from future cash.
  5. ポコPokoもし自分で使うなら、気になる会社の決算を毎日チェックさせて、Claudeにレポートを書いてもらいたいな。If I used it, I'd have it check a company's earnings every day and let Claude write me a report.
  6. TECHガイドTECH Guideいいね。ただ記事では1日100コール制限や欠損データへの対処にも触れているよ。LLMに数字を作らせないプロンプト設計も大事なポイントみたい。Nice idea. But the guide also covers the 100-calls-a-day limit and handling missing data. It also stresses prompt design so the LLM doesn't invent numbers.
記事情報・収集記録Article details & collection record
出典Source
Zenn ClaudeコミュニティCommunity
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
日本語Japanese
重要度の位置づけImportance in this lane
MediumMedium priority(Claude / Claude Code 167件中、同等以上 142件)(142 of 167 Claude / Claude Code entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
中期 (チュートリアル)Medium-term (tutorial)

🧡Claude / Claude Code の他の記事More from Claude / Claude Codeもっと見る →View more →

ページ上部へScroll to top