{"adoption": {"forks": 776, "observed_at": "2026-08-28T04:09:04.135581+00:00", "stars": 4978}, "canonical_url": "https://ross.abutalabs.com/products/tqsdk-python", "card": {"archived": false, "artifact_type": "library", "description": "天勤量化开发包, 期货量化, 实时行情/历史数据/实盘交易", "domain": ["fintech", "data-science", "developer-tools"], "enriched": true, "function": ["trading", "sdk", "data-science", "streaming", "http-client"], "health_score": 99, "homepage": "https://doc.shinnytech.com/tqsdk/latest", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["shinnytech/tqsdk-python"], "name": "shinnytech/tqsdk-python", "platform": ["python", "windows", "cross-platform"], "pushed_at": "2026-08-18T01:54:26+00:00", "repo": "shinnytech/tqsdk-python", "stars": 4978, "tags": ["quant", "futures", "options", "stocks", "backtesting", "live-trading", "market-data", "ctp", "algorithmic-trading", "tqsdk", "quantitative-trading", "linux", "macos"], "topics": ["futures", "diff", "python", "program-trading", "quant", "tqsdk"], "urls": [], "use_cases": ["get real-time futures quotes in python", "backtest a futures trading strategy tick by tick", "place live orders through a futures broker from python", "compute spread between two futures contracts and trade it", "fetch historical kline and tick data for chinese futures", "paper trade a strategy with a simulated account", "calculate technical indicators on kline series"], "what_it_is": "TqSdk is an open-source Python SDK by Shinny Technology for building quantitative trading strategies for Chinese futures, options, and stocks. It provides real-time and historical market data, tick/kline backtesting, simulated and live trading, and technical indicators in a single library.", "when_to_avoid": ["you trade crypto, forex, or non-Chinese markets", "you need a broker-agnostic framework outside Shinny's gateway ecosystem", "you require fully offline operation without a Kuaiqi account"], "when_to_choose": ["you trade Chinese futures, options, or stocks and want market data plus trading in one SDK", "you want tick-level backtesting and simulated trading without maintaining your own database", "you need CTP direct connection or support for most Chinese futures brokers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tqsdk-python", "repo": "shinnytech/tqsdk-python", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:04.135581+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:17:43.682158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21b9f85524e67bc0efa5068bce50f290d497c1e97742d80f34e3b3dbf7dcdf13", "fetched_at": "2026-08-28T04:09:04.135581+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shinnytech/tqsdk-python"}, {"content_hash": "8e108330389d4531edb9edeb2d964c1e70bcf880f4c6b4d4a6dd4e00ffb1d81f", "fetched_at": "2026-08-29T08:59:06.855005+00:00", "kind": "homepage", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest"}, {"content_hash": "6b2188969482aa38032535cbee33da56d776306dab20d97d57b67a47bc3fcd89", "fetched_at": "2026-08-29T08:59:06.863882+00:00", "kind": "site_page", "missing": false, "url": "https://doc.shinnytech.com/tqsdk/latest/quickstart.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 98}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3009, "days_push": 16, "days_rel": 16, "gap_med": 25, "n_releases_24m": 24}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}