Skip to main content

pit-fundamentals

Point-in-time company fundamentals from official regulator filings — as first reported, keyed by filing date, exportable. Zero dependencies (pandas optional).

Backtests leak the future when they use restated numbers or use figures before their filing date. This dataset stores every figure as it was first reported and stamps it with its filing date, so as_of queries return exactly what was public on that day.

Market Source Coverage
US SEC EDGAR (public domain) ~6,900 filers · annual + quarterly · 2014→
Taiwan TWSE OpenAPI (Open Government Data License 1.0) every listed company · accumulating quarterly
Korea FSS OpenDART full market · loading

Install

pip install pit-fundamentals

60-second start (no signup — public demo key built in)

import pit_fundamentals as pf

# TSMC's history, as first reported
rows = pf.fundamentals("2330.TW")

# What a backtest running on 2022-01-01 was allowed to know about Apple
snap = pf.latest("AAPL", as_of="2022-01-01")
print(snap["revenue"])   # FY2021, filed 2021-10-29 — nothing newer leaks

# The scored, resolved prediction panel (history incl. losses; delayed on free)
panel = pf.signals(market="TW", horizon="21d", limit=1000)

# pandas users
df = pf.to_df(rows)

The demo key covers 25 flagship tickers (US · TW · KR) at full fidelity — full fields, full history. Paid plans unlock every ticker; your code doesn't change:

export PIT_FUNDAMENTALS_KEY=ta_live_xxxxxxxx

Pricing & licences

Free / Personal US$29/mo / Commercial US$149/mo / Redistribution US$499/mo — plans and full licence texts: https://www.tradingagentapp.com/fundamentals

What makes the licence unusual: no export bans, no display-only clause, and your derived research is yours forever (explicitly, in writing — including after cancellation). We ingest from public filings directly, so no upstream vendor licence forbids you taking the data with you.

Notes worth knowing

  • Taiwan income statements are cumulative year-to-date (Taiwan reporting convention: Q2 = H1 total). Difference adjacent quarters for single-quarter flows. Balance-sheet items are point-in-time as usual.
  • Every API response embeds its statutory source attribution (e.g. 臺灣證券 交易所 under OGDL 1.0).
  • Factual, historical data only — no forecasts, no advice, no price/OHLCV.

Docs: https://www.tradingagentapp.com/developers · Field dictionary and examples included.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pit_fundamentals-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

pit_fundamentals-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pit_fundamentals-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pit_fundamentals-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ad4340cfed9090cba59ca38f1fcc2049f54687c41d3a1569347cb917eaae084
MD5 2b2e70fbe6dd23545003d6aed736aa04
BLAKE2b-256 af4fa491c84be2a8e08b35e87d82b30fbcd44fe4cee5004cbe3e4879d199b214

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pit_fundamentals-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 436d12de1534373c9b782909f6a7b323ae989017ef49b78a1a8ceabe9759a9f3
MD5 6de6acd4d317e99f3d7f238e40aa134d
BLAKE2b-256 5936ab228c966503d630b946684534929ef44e8ced93b10c0ffdb4ccf5bd8fdb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page