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-2.0.16.tar.gz (43.8 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.0.16-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for marketswimmer-2.0.16.tar.gz
Algorithm Hash digest
SHA256 d4048a0970eb16ec799255042cac2997081b099009759e7902c7ca9fc6c199c7
MD5 d5803ea4eb24b85d2c18c98c41c97e45
BLAKE2b-256 ae26f85d793b287eac97570ae79de185a3d5728b960c44e3286a01ee1d583015

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for marketswimmer-2.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 573c9b39b566d06f73ea1cd97af4c74566a12940de7600fb10359e7570bd4f8b
MD5 f2723e1f6450a0049d1cb23470b27055
BLAKE2b-256 fdfdb1172ffdb034c3f36fe94490f6944ad2f6113dafb1188155828587b2c93d

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