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.1.tar.gz (83.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.1-py3-none-any.whl (73.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketswimmer-2.5.1.tar.gz
  • Upload date:
  • Size: 83.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.1.tar.gz
Algorithm Hash digest
SHA256 919a01f93f4caebe797c30485a582c59dc54feef12aec09b8e8025154e9aa7e1
MD5 8598f92fab6230c9a1cc2c941fadb369
BLAKE2b-256 07253e7c01f07d1e6d1d317e4d56527fe0bf302c14ea6d6b049d17df774265c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marketswimmer-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 73.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f30dbb0d9de8533ed2a8dfa10475ab72ee87708720fcde8cd02b80abb8303236
MD5 4db701c380ca7a9c0bb43719e56cd2ef
BLAKE2b-256 8d7bf9c3a4b548cfffec10b580c3e559dfba500ac909317a39d24717c6b0798e

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