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.4.tar.gz (39.6 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.4-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketswimmer-2.0.4.tar.gz
  • Upload date:
  • Size: 39.6 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.4.tar.gz
Algorithm Hash digest
SHA256 cc9608d4a60655e94cf17cf7e006b249496a8594c4e6561369e7e7311c7e0bee
MD5 0e88fe55fce62d500b8f34d48930fe70
BLAKE2b-256 f012e45e28d66228dec192e3b638886b04a2b4ac102efa3ec5776737e337b592

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marketswimmer-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 35.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 afe98f52613fdcd3da4e1bef0a28bd07259d3c4163ad88011b457111558f0216
MD5 8229031db904efc01b51972fe1792ec3
BLAKE2b-256 3d91c30366668dc39028c1c0e7bb17f5b54ddc63114649cd3e97a71b1946c9fd

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