Skip to main content

Open-source stock data terminal — market data and fundamentals

Project description

TEK2day Finance

Open-source stock data terminal — market data and fundamentals.

Features

  • Live market data — real-time prices, valuation ratios, dividends, short interest, and analyst targets from Yahoo Finance
  • Stored financials — quarterly and annual income statements, balance sheets, and cash flow statements
  • Estimate tracking — consensus EPS and revenue estimates with historical accumulation
  • SEC filings — recent 10-K, 10-Q, 8-K, and other filings from SEC EDGAR
  • CEO data — scores, compensation, and tenure via CEORater API (optional)
  • Comp tables — side-by-side comparison of up to 20 tickers
  • Price charts — terminal-rendered charts with volume
  • Cross-platform — Linux, Mac, Windows

Installation

pip install tek2day-finance

Requires Python 3.10+.

Quick Start

tek2day

This launches the interactive terminal. All commands start with /.

Commands — No Setup Required

These work immediately after install. Data comes live from Yahoo Finance and SEC EDGAR.

Command Example Description
/TICKER /AAPL Overview & valuation
/TICKER div /KO div Dividends
/TICKER short /TSLA short Short interest
/TICKER target /NVDA target Analyst price targets
/TICKER mgmt /CSGP mgmt Management / CEO
/TICKER filings /JPM filings SEC filings
/TICKER news /AAPL news Recent news
/compare /compare AAPL MSFT GOOGL Comp table (up to 20)
/help Show command menu
/exit Quit

Commands — Require Firestore

These pull from a Firestore database of stored financial data. Set the FIRESTORE_PROJECT environment variable to your GCP project ID and authenticate with gcloud auth application-default login.

Command Example Description
/TICKER est /AAPL est Consensus EPS & revenue estimates
/TICKER inc /MSFT inc Income statement (quarterly + annual)
/TICKER bal /GOOGL bal Balance sheet
/TICKER cf /AMZN cf Cash flow statement
/TICKER chart /META chart Price chart (1 year)
export FIRESTORE_PROJECT=your-gcp-project
tek2day

Examples

Overview & valuation: /AAPL — live price, change, volume, market cap, shares outstanding, 52-week range, sector, beta, P/E, forward P/E, PEG, P/B, P/S, EV/EBITDA, and EV/Revenue.

Compare tickers: /compare CSGP SPGI VRSK FDS — side-by-side table with price, market cap, EV, revenue, EBITDA, net income, EPS, P/E, PEG, EV/EBITDA, EV/Revenue, EV/OpCF, EV/FCF, dividend yield, and beta.

Income statement: /AAPL inc — last 4 quarters and last 4 fiscal years: revenue, gross profit, operating income, EBITDA, net income, EPS, and more.

Data Sources

  • Yahoo Finance — prices, estimates, financials, dividends, short interest, analyst targets, news, company metadata
  • SEC EDGAR — regulatory filings (10-K, 10-Q, 8-K, Form 4, etc.)
  • CEORater — CEO performance scores, compensation, and total shareholder return (optional, requires API key)

License

MIT

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

tek2day_finance-0.1.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

tek2day_finance-0.1.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file tek2day_finance-0.1.1.tar.gz.

File metadata

  • Download URL: tek2day_finance-0.1.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tek2day_finance-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3c70eb03765a05e2787007f2b0bca468a02aa9ab48d77bf9f325f49845a85545
MD5 e9f86e4b7e464cb24c939f647011b356
BLAKE2b-256 62d7c1b6cbae13690b31f2e0298e74a32330708ca7f79193aa8e7f092eb773d2

See more details on using hashes here.

File details

Details for the file tek2day_finance-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tek2day_finance-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 590b5444e3178de5f3d86bf5d8cf1e63708bb56395c28fc2acffbbe5b98101b9
MD5 b7d6658978eae7a39039be737660eca6
BLAKE2b-256 42627a884ea46730522b18a52df07d4cad583f9865e7ea2c8369447e8ee91e16

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