@2004/tqx-quant

Installation
SKILL.md

TQX Quant — Factor Analysis & Strategy Backtest

TQX (https://www.tqx.trade) is a HK/US stock quant platform. This skill drives it through the official tqx-cli pip package. Everything below was verified end-to-end against the live service.

Setup

pip install tqx-cli
tqx-cli login --email "$TQX_EMAIL" --password "$TQX_PASSWORD"

Credentials come from env vars (collect via secure input, never chat). Token is cached in ~/.tqx/config.yaml.

⚠️ Token expiry gotcha (verified): both accessToken AND refresh_token can expire together. Do NOT only match one specific error string — re-login on ANY response containing LOGIN_REQUIRED, 均已失效, or Please log in to continue. A strict matcher silently fails and every later call returns auth errors.

CLI command map

Installs
3
GitHub Stars
1
First Seen
Jul 24, 2026
@2004/tqx-quant — starchild-ai-agent/community-skills