Skip to main content

Tiingo connector for the parsimony framework

Project description

parsimony-tiingo

Tiingo connector plugin for parsimony — equities, crypto, and forex prices, company metadata, fundamentals, and news.

Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-tiingo.

Connectors

Name Kind Description
Discovery
tiingo_search connector Search Tiingo for stocks, ETFs, mutual funds, and crypto by name or ticker.
Equities
tiingo_eod connector End-of-day OHLCV with split/dividend-adjusted columns. Free tier: full history.
tiingo_iex connector Real-time IEX top-of-book quotes (composite last, OHLV, bid/ask, sizes).
tiingo_iex_historical connector Historical IEX intraday OHLC at a given resample frequency (last ~2000 points).
tiingo_meta connector Equity metadata: name, description, exchange, listing dates.
Fundamentals
tiingo_fundamentals_meta connector Sector, industry, SIC, currency, location, SEC filing link, ADR flag.
tiingo_fundamentals_definitions connector All fundamental metric definitions (dataCode, name, statement type, units).
News
tiingo_news connector News articles filtered by tickers, source, date range. Power+ plan only.
Crypto
tiingo_crypto_prices connector Historical crypto OHLCV at multiple resample frequencies.
tiingo_crypto_top connector Real-time top-of-book quotes for crypto pairs.
Forex
tiingo_fx_prices connector Historical forex OHLC at multiple resample frequencies.
tiingo_fx_top connector Real-time top-of-book forex quotes (mid, bid/ask, sizes).
Enumeration
enumerate_tiingo enumerator Supported-tickers list (~127k rows) for catalog indexing.

Install

pip install parsimony-tiingo

Pulls in parsimony-core>=0.7,<0.8 automatically. Verify discovery:

python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"

Configuration

export TIINGO_API_KEY="<your-key>"

Get a key at https://www.tiingo.com/account/api/token.

Quick start

import os
from parsimony_tiingo import load

# Bind the key off the call surface (it never enters provenance).
connectors = load(api_key=os.environ["TIINGO_API_KEY"])
result = connectors["tiingo_eod"](ticker="AAPL")
print(result.data.head())

The key is declared as a secret on every verb (stripped from provenance) and resolved from the bound value or, as a dev fallback, the TIINGO_API_KEY environment variable. A missing key fails fast with UnauthorizedError.

For multi-plugin composition:

from parsimony import discover
connectors = discover.load_all()

Provider

License

See LICENSE.

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

parsimony_tiingo-0.0.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

parsimony_tiingo-0.0.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_tiingo-0.0.1.tar.gz.

File metadata

  • Download URL: parsimony_tiingo-0.0.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_tiingo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 28bea2d58c288e9ceca115a78454b3c58d6de4dfddd9edbd0f425f65adcb0c0f
MD5 dbd13c37e826eac2967743c6d0ca1412
BLAKE2b-256 f69a4b63f294be43e5edac2ab9273e1855f9a0394a560986cf8240a60182f7af

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_tiingo-0.0.1.tar.gz:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parsimony_tiingo-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for parsimony_tiingo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14715ae42085a59efd939853b8f8ff5eadffd8f58b9166fbcd580669cf7e69bb
MD5 7cb6c39d939202fc599718299d5bba50
BLAKE2b-256 44dc4ba5de74815fe9e7e065212e392597d57ebb4b34c97bab91fb4372421865

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_tiingo-0.0.1-py3-none-any.whl:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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