Skip to main content

A Python package for retrieving SEC fundamental data

Project description

FundamentalData

A Python package for institutional-grade SEC financial data analysis with integrated market context.

Features ✨

  • SEC API Integration: Direct EDGAR database access with automatic CIK resolution
  • Temporal Alignment: Unified datetime indices across fundamental and market data
  • Advanced Normalization: Built-in handling of XBRL discrepancies and reporting variants
  • Quant-Ready: Pandas DataFrame outputs with NaN-aware preprocessing
  • Enterprise Features: Type II rate limiting, configurable caching, and request retries

Installation

pip install "fundamental_data"

Import the package

from fundamental_data import FundamentalData

Usage

For single stock

fd = FundamentalData('myemail@email.com')

apple = fd.get_fundamentals('AAPL')
apple.QuarterlyTable #metrics organized according to quarters
apple.DatedTable #metric organized according to dates
apple.MetricStats #Statistics on the availability of metrics and related stats
apple.data #raw data
apple.CombinedTable #table combined with price data from yfinance

For multiple stocks

fd = FundamentalData('myemail@email.com')
dataDict = fd.get_bulk_fundamentals([AAPL,TSLA])
dataDict['AAPL'].QuarterlyTable

Visualizations

apple.visualize_data_availability()
apple.saveVisualizationTable('AAPL_vizz.xlsx')

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

fundamental_data-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

fundamental_data-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fundamental_data-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for fundamental_data-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fa500d2805aaf9cfac0f01c213807a3254fa69f9468a4557858a15293326cfd9
MD5 ce8fba84179a86dac84af6be22e4344b
BLAKE2b-256 9877fe839c67d5dc9dcb724c5df7922362136525fe12e8ea866ce5cb966b9eb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fundamental_data-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aece7a03602a2879d41084dbcfa67bf91b3b8981767e3e8b05410f521084ee3a
MD5 433d9d987016782bfe69460da2e0d22d
BLAKE2b-256 d46adec2063c5c09077d1260d61d8b7f7badb6f2a9eaf32c708b20c9cf09129b

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