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.21.tar.gz (2.3 MB 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.21-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for marketswimmer-2.0.21.tar.gz
Algorithm Hash digest
SHA256 c7b2e431939b5eb963ebbbfe214471aa630d343a5fa32a524cc3687aaa015b34
MD5 3c2c80daf6a3db7443e6dc866cdeb45a
BLAKE2b-256 7bb596098e690cb1a4487a3d9b29e8249a814325e5da56f12f8463fb2e0ccf59

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for marketswimmer-2.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b25585e21ee52f5a7d9c0c995a917baf0b14475c93856f1e3456104827aab6
MD5 237c5e408214f48692fb7fc6835a606a
BLAKE2b-256 1a1cdad0e4b9481ee00c97752c6213ade5d4d7814aedea6c14af9e344aa7f54a

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