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.2.tar.gz (85.0 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.2-py3-none-any.whl (74.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketswimmer-2.5.2.tar.gz
  • Upload date:
  • Size: 85.0 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.2.tar.gz
Algorithm Hash digest
SHA256 104ce9dd4f062d4437ffddff6f44d1159d565974fa9e3ee4957c7bba41fe86e9
MD5 46bc540f3e2464c8721ed5b7d7fb9eeb
BLAKE2b-256 6a4e6154cab45e9614982bd8bd5d9182c9243c9660e4bcdbff07a8e5fcab6a84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marketswimmer-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 74.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a58c8e539bb5dafeab41b8119134ca6739945087a67beaa15134ca0f6086915a
MD5 c17c222d308a3fea0d18647312fc33c8
BLAKE2b-256 be33fa79bb44a080e057c1dc4389529ec55822e762f1d2a38ece5bd216b8b910

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