{"adoption": {"forks": 517, "observed_at": "2026-08-28T04:06:32.792925+00:00", "stars": 2267}, "canonical_url": "https://ross.abutalabs.com/products/qtpylib", "card": {"archived": true, "artifact_type": "library", "description": "QTPyLib, Pythonic Algorithmic Trading ", "domain": ["fintech"], "enriched": true, "function": ["trading", "streaming", "database", "message-queue"], "health_score": 10, "homepage": "http://qtpylib.io", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["ranaroussi/qtpylib"], "name": "ranaroussi/qtpylib", "platform": ["python", "windows"], "pushed_at": "2021-09-22T05:54:46+00:00", "repo": "ranaroussi/qtpylib", "stars": 2267, "tags": ["algo-trading", "interactive-brokers", "backtester", "event-driven", "zeromq", "talib", "market-data", "backtesting", "algorithmic-trading", "quantitative-finance", "data-engineering", "linux", "macos"], "topics": ["algotrading", "quantitative-finance", "interactivebrokers", "backtester", "algo-trading", "interactive-brokers", "algorithmic-trading"], "urls": [], "use_cases": ["backtest trading strategies in python", "live trade with interactive brokers api", "capture and store tick and bar market data", "build event-driven algo trading bots", "compute technical indicators in strategies", "run multiple algos sharing one market data feed"], "what_it_is": "QTPyLib is an event-driven algorithmic trading library in Python supporting backtesting, paper, and live trading via Interactive Brokers. It captures tick/bar/trade market data into MySQL and uses ZeroMQ pub/sub to connect a central blotter with multiple running algos.", "when_to_avoid": ["you need crypto or forex broker integrations beyond Interactive Brokers", "you require actively maintained software - the latest release is from 2021", "you want a GUI-based trading platform rather than a code library"], "when_to_choose": ["you trade through Interactive Brokers and want a Pythonic strategy framework", "you need integrated backtesting plus live/paper trading in one library", "you want market data persisted to a database for later analysis"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/qtpylib", "repo": "ranaroussi/qtpylib", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "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:06:32.792925+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:32.792925+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:42:21.507716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d6ec6d6decf3090185cc1c19580e932c200cd99e5c602a66ad64464563341552", "fetched_at": "2026-08-28T04:06:32.792925+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/qtpylib"}, {"content_hash": "26b5b1874ac54e40fbae0e9522e8668f482ad3a016cc611f61cae30705d52e34", "fetched_at": "2026-08-29T10:22:33.050950+00:00", "kind": "homepage", "missing": false, "url": "http://qtpylib.io"}, {"content_hash": "ee9e7056999f86d96dc8bacd274b4141bb529f0611de60a26644a8068c6660ad", "fetched_at": "2026-08-29T10:22:33.060319+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/qtpylib/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3667, "days_push": 1806, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}