Skip to main content

Warren Buffett's Owner Earnings Analysis Tool - Calculate true economic earnings for any stock

Project description

MarketSwimmer - Owner Earnings Analysis Tool 🏊‍♂️📈

A comprehensive tool for analyzing Warren Buffett's "Owner Earnings" from financial statement data with NEW Fair Value Calculation using DCF methodology.

🆕 v2.2.3 - Fair Value Analysis

NEW FEATURE: Calculate intrinsic fair value using Owner Earnings DCF methodology!

  • 📊 DCF Analysis: Uses 10-year average Owner Earnings as future cash flow
  • 💰 Fair Value Calculation: Discounts cash flows using 10-year Treasury rate
  • 🎯 Scenario Analysis: Conservative, Base Case, Optimistic, and Pessimistic valuations
  • 💡 Balance Sheet Adjustments: Accounts for cash, investments, and debt
  • 📈 Per-Share Valuation: Calculates intrinsic value per share
  • 🖥️ GUI Integration: Easy-to-use interface with input dialogs
  • 💻 CLI Support: Full command-line interface for power users

Quick Fair Value Example:

# Calculate fair value for Apple
ms fair-value --ticker AAPL --growth 0.03 --cash 100000000000 --debt 20000000000 --shares 15000

# Or use the GUI
ms gui
```ketSwimmer - Owner Earnings Analysis Tool 🏊‍♂️📈

A comprehensive tool for analyzing Warren Buffett's "Owner Earnings" from financial statement data.

## � **v2.1.0 - What's New**

✅ **Complete Data Processing Pipeline**: Automated XLSX-to-CSV conversion for seamless workflow
✅ **Real Quarterly Data**: Proper quarter-by-quarter financial analysis (not just annual duplicates) **Professional Visualizations**: 3 chart types with recent years focus
✅ **Smart Download Detection**: Automatically detects XLSX files in Downloads folder
✅ **Clean Color Scheme**: Improved white/blue theme for better readability

## 📦 **Installation**

```bash
pip install marketswimmer

� Quick Start

Command Line Usage

# Launch GUI
marketswimmer gui

# Process downloaded data
python process_financial_data.py TICKER

# Create visualizations
marketswimmer visualize --ticker TICKER

# Full analysis
marketswimmer analyze TICKER

GUI Workflow

  1. Launch GUI: marketswimmer gui or double-click launch_clean_gui.bat
  2. Select Ticker: Choose a stock symbol (e.g., AAPL, MSFT, BRK.B)
  3. Download Data: System opens StockRow page for manual data download
  4. Process Data: Run python process_financial_data.py TICKER
  5. Analyze: Use GUI "Calculate Owner Earnings" and "Create Visualizations" buttons

📊 Output Files

  • Charts: charts/[ticker]_*.png - Visual analysis charts
  • Data: data/owner_earnings_*.csv - Raw analysis data
  • Logs: logs/marketswimmer_*.log - Application logs

💡 Owner Earnings Formula

Owner Earnings = Net Income + Depreciation/Amortization - CapEx - Working Capital Changes

🎯 Features

  • ✅ Ticker-specific analysis
  • ✅ Annual and quarterly data processing
  • ✅ Professional visualizations
  • ✅ Automated chart generation
  • ✅ Clean directory organization
  • ✅ Comprehensive logging

📋 Requirements

  • Python 3.12+
  • pandas, matplotlib, seaborn
  • PyQt6 (for GUI)
  • Internet connection (for data download)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marketswimmer-2.5.0.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marketswimmer-2.5.0-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

Details for the file marketswimmer-2.5.0.tar.gz.

File metadata

  • Download URL: marketswimmer-2.5.0.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for marketswimmer-2.5.0.tar.gz
Algorithm Hash digest
SHA256 694c405f2e876097fe66b2608cf9c2d27a62d48f3462100ded0f39537612c11c
MD5 9ba61d008c07efc69e07de48750168c0
BLAKE2b-256 cc63191a8bff41ab027bfb794ba1900243ce938def6f4919e41081f36f3d3a23

See more details on using hashes here.

File details

Details for the file marketswimmer-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: marketswimmer-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 72.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for marketswimmer-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7adb5537eb9e5541d2097a487f758468f2aab338bdc6fd745930967e3dcec6c
MD5 4f63ecc085d0c7f22db6b102e1f0e306
BLAKE2b-256 37ce6ed71e2eeb8c2cff893f66400f0b773671c482efedf07ebb587f5cfd213f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page