Back to browse
GitHub Repository

Transparent and Efficient Financial Analysis

5,023 starsPython

Every site gives a different P/E ratio, so I open-sourced the math

by JerBouma·Jun 26, 2026·1 point·0 comments

AI Analysis

●●●BangerBig BrainSolve My Problem

Every formula visible in source when Yahoo Finance and Morningstar hide their calculations.

Strengths
  • Transparent formulas eliminate black-box calculation discrepancies across providers
  • Documents the exact P/E ratio problem with eight different values for same company
  • MCP server integration enables AI agent access to financial data
Weaknesses
  • Python-only limits adoption compared to web-based financial terminals
  • Still requires users to understand which metric variant suits their analysis
Category
Target Audience

Financial analysts, quantitative researchers, developers building finance applications

Similar To

yfinance · QuantLib · pandas-datareader

Post Description

Microsoft's P/E on May 6, 2023: Stockopedia says 28.93, Morningstar 32.05, Macrotrends 32.66, Yahoo Finance 33.80, Companies Market Cap 34.4. Same company, same date, eight different numbers. The usual causes: trailing-twelve-month vs fiscal-year-end earnings, diluted vs basic shares, different treatment of extraordinary items. Most providers don't document which they use. In the meantime, I report it at 32.07 (diluted), 31.96 (non-diluted), 30.07 (TTM diluted) and 29.93 (TTM non-diluted).

That is why I built the Finance Toolkit: an open-source (MIT) Python library where every one of 200+ metrics has its formula in the source. Entirely free to use and includes a MCP server as well.

Similar Projects

FinanceMid

ChexHQ – Financial decision intelligence for finance teams

The landing page promises a focused tool for runway and cash-flow visibility and the UX leans into that single use case — clean hero copy, an email-first signup and clear value proposition. What I want to see next: concrete differentiators (auto-consolidation demos, live integrations, scenario modeling UI) and examples of how it avoids the usual spreadsheet edge cases. Right now it looks like a competent, thoughtfully designed MVP rather than a category changer.

SlickShip It
DhirajKadam27
204mo ago
Finance●●Solid

AI-powered multi-agent equity research in Python

End-to-end equity research pipeline: SEC filings to Excel models and PDFs, not just text summaries.

Solve My ProblemNiche Gem
schnetzlerjoe
604mo ago