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.

๐Ÿ“ Directory Structure

MarketSwimmer/
โ”œโ”€โ”€ ๐Ÿ“Š charts/                  # Generated visualization charts
โ”œโ”€โ”€ ๐Ÿ“ˆ data/                    # CSV output files and analysis results
โ”œโ”€โ”€ ๐Ÿ“ฅ downloaded_files/        # Financial data Excel files from StockRow
โ”œโ”€โ”€ ๐Ÿ“ logs/                    # Application logs
โ”œโ”€โ”€ ๐Ÿ› ๏ธ scripts/                # Utility and test scripts
โ”œโ”€โ”€ ๐Ÿš€ Main Applications
โ”‚   โ”œโ”€โ”€ market_swimmer_gui_clean.py      # Main GUI application
โ”‚   โ”œโ”€โ”€ analyze_ticker_gui.py           # Complete analysis workflow
โ”‚   โ”œโ”€โ”€ owner_earnings_fixed.py         # Core analysis engine
โ”‚   โ””โ”€โ”€ visualize_owner_earnings.py     # Chart generation
โ”œโ”€โ”€ ๐Ÿ”ง Utilities
โ”‚   โ”œโ”€โ”€ open_charts.py                  # Chart viewer
โ”‚   โ”œโ”€โ”€ monitor_downloads.py            # Download automation
โ”‚   โ”œโ”€โ”€ auto_download.py               # Download helper
โ”‚   โ””โ”€โ”€ logger_config.py               # Logging configuration
โ””โ”€โ”€ ๐Ÿ“‹ Batch Files
    โ”œโ”€โ”€ launch_clean_gui.bat           # Start GUI
    โ”œโ”€โ”€ start_gui_safe.bat             # Safe startup
    โ””โ”€โ”€ [other .bat files]

๐Ÿš€ Quick Start

  1. Launch GUI: 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 data download
  4. Analyze: Automatic calculation of Owner Earnings
  5. View Charts: Generated visualizations open automatically

๐Ÿ“Š 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-1.0.4.tar.gz (14.6 MB view details)

Uploaded Source

Built Distribution

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

marketswimmer-1.0.4-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketswimmer-1.0.4.tar.gz
  • Upload date:
  • Size: 14.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for marketswimmer-1.0.4.tar.gz
Algorithm Hash digest
SHA256 546672a8c7594e27d9855c26d8aaebf545a8db97354e3038f7fc4d3502d340d2
MD5 53a4c2ba71452b8218d6f775d3accd05
BLAKE2b-256 9ec4b684cbe34e2d55df473c3ed7ccf4871d69b99c1cd05a89fff92619238942

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for marketswimmer-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 742fe6430fb767e5897a6b1770a75c5044ee4a77b3072d378fe6d9c5d47ef5b1
MD5 e68f5bda334f5d7e6185322d0d3741b9
BLAKE2b-256 078122f08acc70f2a3603446068f2195f639450e0da37fce00d1b78746df42f7

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