Skip to main content

tradinglookup

Zero-API-key Python SDK for TradingLookup open financial data, REST endpoints and read-only MCP tools.

Install

pip install tradinglookup

With optional pandas DataFrame support:

pip install "tradinglookup[pandas]"

Quickstart

import tradinglookup as tl

# Discover all CC BY 4.0 datasets
catalog = tl.get_catalog()

# Compare two futures prop firms at $100,000
comparison = tl.compare_prop_firms("ftmo", "fundednext", account_size=100000)

# Look up one prop firm's terms
firm = tl.lookup_prop_firm("topstep", market="futures")

# Fetch retail CFD account loss rates (includes mandatory FCA COBS 22.5 warning)
cfd = tl.get_cfd_loss_rates()
print(cfd["risk_warning"])

# Check live market hours or scheduled central bank / macro releases
hours = tl.get_market_hours(exchange="nyse")
releases = tl.get_economic_releases(currency="USD", impact="high", limit=10)

# Call TradingLookup's read-only MCP endpoint directly
result = tl.mcp_call("is_market_open", {"exchange": "lse"})

Using a reusable client instance:

from tradinglookup import TradingLookupClient

client = TradingLookupClient(timeout=15.0)
plans = client.get_prop_plans(market="futures")
changes = client.get_rule_changes("topstep")

Pandas DataFrames

Tabular helpers accept as_dataframe=True, returning a pandas.DataFrame with canonical_url, last_checked, license (and risk_warning for CFD datasets) preserved in df.attrs:

import tradinglookup as tl

df = tl.get_cfd_loss_rates(as_dataframe=True)
print(df[["broker", "loss_pct", "regulator"]].head())
print(df.attrs["risk_warning"])
print(df.attrs["canonical_url"])

# Or load any published CSV directly from /data/
csv_df = tl.read_csv("/data/cfd-loss-rates-live.csv", as_dataframe=True)

CFD risk warning (FCA COBS 22.5)

Whenever you display or redistribute retail CFD loss-rate figures from TradingLookup, include the FCA COBS 22.5 risk warning verbatim:

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage.

Licence and attribution (CC BY 4.0)

  • SDK code: MIT Licence (see LICENSE).
  • Data: Creative Commons Attribution 4.0 International (CC BY 4.0). When you publish, display or redistribute figures from TradingLookup, credit TradingLookup and link to the canonical dataset or facts page (for example https://tradinglookup.com/data/).

Every figure is read from each firm's or official body's own published pages on the date shown. This is reference data, not financial or trading advice.

Metadata

Release files for tradinglookup 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tradinglookup 0.1.0
File Size Uploaded Provenance Actions
tradinglookup-0.1.0.tar.gz 15.8 kB Without provenance Details for tradinglookup-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tradinglookup 0.1.0
File Interpreter ABI Platform Actions
tradinglookup-0.1.0-py3-none-any.whl Python 3 none any Details for tradinglookup-0.1.0-py3-none-any.whl

Total release size: 26.9 kB

Release files / tradinglookup-0.1.0.tar.gz

Download URL tradinglookup-0.1.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e96195b7ce68187b56b9d36f8145849b60d233eb827bb557c356ec4046f2b08
BLAKE2b-256 checksum
How to use checksums
3e176e2898da00e44c8faff13201c1bb8ea8f61b93e4963051f7164e4bc0aecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Release files / tradinglookup-0.1.0-py3-none-any.whl

Download URL tradinglookup-0.1.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ce637b1ef2ba4845111ee7703e5e644e7c54806eda0ae8f4cfb7eed3280aac8
BLAKE2b-256 checksum
How to use checksums
d9a1862d3722a94fb38b9a35c0b1c474187893f4e71adbb52474ee739d505af3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Security for tradinglookup 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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