tianqin-data
Installation
SKILL.md
TianQin Data - China Futures Market API
Overview
tianqin Data provides command-line access to China futures market data through the EasyFut API. Fetch real-time quotes, historical K-line data, and granular tick sequences for futures contracts traded on Chinese exchanges including SHFE (Shanghai Futures Exchange), DCE (Dalian Commodity Exchange), CFFEX (China Financial Futures Exchange), CZCE (Zhengzhou Commodity Exchange), and INE (Shanghai International Energy Exchange).
Quick Start
CLI Usage
All commands require the full exchange prefix format:
# Get real-time quote
python3 scripts/tq_cli.py quote SHFE.rb2601
# Get K-line data (1-minute candles, 100 bars)
python3 scripts/tq_cli.py klines CFFEX.IF2601 --duration 60 --length 100