skillfed

tickflow

TickFlow Python Client

tickflow v0.1.24 269.6K downloads/30d#8,255 on PyPI539
Permissive license MIT Active released

What it is and what it does

TickFlow is an official Python client for the TickFlow market data API, designed to fetch financial data across multiple markets: Chinese A-shares (Shanghai, Shenzhen, Beijing exchanges), ETFs, US stocks, and Hong Kong stocks. It provides two service tiers—a free tier offering historical daily candles and instrument metadata without registration, and a paid tier (requiring API key registration) that adds real-time quotes, intraday minute-level candles, and higher request frequency. The SDK supports both synchronous and asynchronous usage patterns, with optional pandas DataFrame output for convenient data manipulation.

The package depends on httpx for HTTP requests and typing-extensions for type hints, keeping dependencies minimal. It requires Python 3.9 or later and supports current Python versions through 3.14. Symbol format is standardized across all markets (e.g., "600000.SH" for Shanghai, "AAPL.US" for US stocks), and the API supports both single-symbol and batch queries. Batch operations include progress reporting, making it practical for fetching data on many securities at once.

Use it for:

  • Fetch historical daily OHLCV data for backtesting trading strategies on Chinese A-shares or US stocks
  • Build a real-time stock quote dashboard using the paid API with async concurrent requests
  • Retrieve intraday minute-level candles for day-trading analysis on multiple symbols in parallel
  • Query instrument metadata and exchange information for portfolio construction or market screening
  • Integrate market data into pandas-based research workflows with automatic DataFrame conversion

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

TickFlow is a Python client for accessing market data across Chinese A-shares, ETFs, US stocks, and Hong Kong stocks through the TickFlow API, offering both free historical daily candles and paid real-time quotes and intraday data.

Yes, if you need market data across Chinese, US, or Hong Kong equities. The free tier is immediately usable without registration for historical daily data; the paid tier unlocks real-time quotes and intraday candles. Low dependency footprint, active maintenance, and support for both sync and async patterns make it practical for research, trading, and financial applications. No known vulnerabilities as of the fact sheet date.

Install

tickflow on PyPI

pip

pip install tickflow

uv

uv add tickflow

poetry

poetry add tickflow

Installing tickflow

Before you install

Low install friction with only two lightweight runtime dependencies (httpx and typing-extensions). The package is actively maintained with a recent commit on 2026-06-20 and has accumulated 539 stars, indicating steady adoption since its first release on 2026-03-12.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and proprietary projects.

Quickstart

# Free tier (no API key needed)
from tickflow import TickFlow

tf = TickFlow.free()
df = tf.klines.get("600000.SH", period="1d", count=100, as_dataframe=True)
print(df.tail())

# Paid tier with real-time quotes
tf = TickFlow(api_key="your-api-key")
quotes = tf.quotes.get(symbols=["600000.SH", "000001.SZ"])
for q in quotes:
    print(f"{q['symbol']}: {q['last_price']}")

Requires Python 3.9 or later; pandas is optional but needed for as_dataframe=True output; paid tier requires API key registration at tickflow.org

Verify before relying

  • Whether the free tier's historical daily data is sufficient for typical use cases or if most users require the paid API key
  • Rate limiting and quota details for both free and paid tiers beyond what the description states
  • Performance characteristics and latency for concurrent requests via AsyncTickFlow

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — httpx, typing-extensions
Maintenance actively maintained — 55 days since the last release
Last repo commit
First released
Downloads 269,650/month — #8,255 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tickflow-0.1.24-py3-none-any.whl

Keywords: finance, stock, market-data, trading, api-client

Intended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Office/Business :: Financial :: InvestmentTyping :: Typed

Tags

stock market data api clientchinese stock quotes real-timekline candle data fetchermulti-market financial datatrading data api wrapperus hk stock data pythonasync market data client
market-data-apifinancial-dataasync-client

More Investment packages