Skip to main content

Tradytics for Python

The official Python client for the Tradytics API: live and historical options flow, dark pool prints ranked against a year, dealer gamma, delta, vanna and charm, the options market, research on every symbol, the scanner, Signals, Kalshi and Polymarket, and the AI Fund. One method per endpoint, no dependencies.

pip install tradytics

The API is part of Tradytics Pro. Make a key at tradytics.com/developer/keys and export it:

export TRADYTICS_API_KEY="tdy_..."

Quickstart

from tradytics import Client

client = Client()  # reads TRADYTICS_API_KEY

flow = client.options.flow(symbol="NVDA", min_premium=1_000_000, opening=True)
for p in flow["data"]:
    print(p["time"], p["symbol"], p["type"], p["strike"], p["expiry"], p["premium"])

bars = client.symbols.bars("SPY", timeframe="5m", limit=500)
gamma = client.options.exposure("SPY", greek="gamma")
prints = client.darkpool.prints(symbol="AAPL", min_value=5_000_000)

Objects come back as {"data": ..., "as_of": ...}, lists as {"data": [...], "count": n, "next_cursor": ...}, the same JSON the API returns.

Resources

Attribute Covers
client.symbols Symbols, live quotes, bars from 1 second to 1 month, each symbol's news
client.market Major assets, breadth, sectors, heatmap, themes, movers, crypto, news, earnings, insiders, Congress
client.options Options flow and its history, the options market, each symbol's gamma, volatility, open interest and dealer exposure
client.darkpool Dark pool prints, history, levels and ranked prints
client.research Summary, analysts, earnings, financials, technicals, ownership, fund holdings
client.scanner The full-market scanner: any field with min_<field> / max_<field>
client.signals Signals: live orders matching tested flow patterns
client.probabilities Kalshi and Polymarket finance questions, history and the settled archive
client.fund The Tradytics AI Fund's book, trades and posts
client.account Your own backtests, portfolio and dashboards

Every method's docstring has its parameters; the docs have every field.

Every page

for p in client.paginate(client.options.flow_history, symbol="TSLA", min_premium=500_000):
    ...

New prints as they happen

for p in client.stream(client.options.flow, min_premium=250_000):
    print(p["symbol"], p["type"], p["strike"], p["premium"])

client.stream works with client.options.flow and client.darkpool.prints, and yields each print once.

Errors and limits

Calls that fail raise tradytics.TradyticsError with status, code (e.g. missing_scope, invalid_parameter), message and request_id. Rate limits (300 calls a minute, 50,000 a day per key) and brief outages are retried for you, honoring Retry-After. Client(api_key=..., timeout=30, max_retries=3) changes the defaults.

Docs: tradytics.com/docs. MCP server for Claude, ChatGPT and Cursor: tradytics.com/docs/mcp.

Metadata

Release files for tradytics 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 tradytics 0.1.0
File Size Uploaded Provenance Actions
tradytics-0.1.0.tar.gz 14.3 kB Without provenance Details for tradytics-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 28.4 kB

Release files / tradytics-0.1.0.tar.gz

Download URL tradytics-0.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c72438350c38c7e1de244be4a05a6f2574bcb53cde18f00b859634a2f4ee6a77
BLAKE2b-256 checksum
How to use checksums
51f0117fc908ec5588c18767fee5101167a222291b6c79f6333211f7c5182657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

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

Download URL tradytics-0.1.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4110387e9bd8bba447e4a3d6304e907a21d7f1d0c0a96655e7573ab3fc61372
BLAKE2b-256 checksum
How to use checksums
b2032e80a7ddf04190e47a128d9e774a02abb326b73d84d74cc5538fb6120edb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Security for tradytics 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.

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