tickflow
TickFlow Python Client
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 tickflowuv
uv add tickflowpoetry
poetry add tickflowInstalling 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
Tags
More Investment packages
Generates country- and subdivision-specific…
permissive · top 1,000 on PyPI
yfinanceFetches financial and market data from Yahoo…
permissive · top 1,000 on PyPI
numpy-financialProvides elementary financial functions (IRR,…
permissive · top 5,000 on PyPI
ccxtCCXT is a unified API library for connecting to…
permissive · top 5,000 on PyPI
databentoOfficial Python client for accessing live and…
permissive · top 5,000 on PyPI
edgartoolsEdgarTools parses SEC EDGAR filings into typed…
permissive · top 5,000 on PyPI
baostockBaoStock retrieves historical China stock…
permissive · top 15,000 on PyPI
yahooqueryRetrieves financial data from Yahoo Finance…
permissive · top 15,000 on PyPI
pandas-taProvides over 150 technical analysis indicators…
unclear · top 5,000 on PyPI
tushareFetches historical and real-time Chinese stock…
permissive · top 15,000 on PyPI
efinanceFetches historical and real-time stock, fund,…
permissive · top 15,000 on PyPI
tdxpyTdxPy provides a pure-Python interface to read…
permissive · top 15,000 on PyPI
mootdxReads market data from Tongdaxin (a Chinese…
permissive · top 15,000 on PyPI
alpha-vantageFetches real-time and historical stock,…
permissive · top 15,000 on PyPI
python-binanceUnofficial Python wrapper for the Binance…
permissive · top 15,000 on PyPI
vnaiVnAI provides a Python interface for accessing…
unclear · top 15,000 on PyPI