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

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.0.tar.gz (4.9 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.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fundamental_data-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 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.0.tar.gz
Algorithm Hash digest
SHA256 e574162b9d3465bca977b08952aafa300d4fb0ef3712fb380c758396a2446326
MD5 042ae3e5cb2e470b0bc6d55cc9181892
BLAKE2b-256 3337a11c32673e38a00fa20cb056d696ec63124ef74479b3e05830495398eeb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fundamental_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1c38b0edbc6ad037f662a0ae830aceaf3ebcf5ab1a1206c6e33104305fe2027
MD5 95e37a53ce6004b044e515a3d66d4201
BLAKE2b-256 c3799f531cfa615591ba809df3c17745394a74681b5dbb57847a706d91db572d

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