{"repo":"ppoak/quool","free":true,"listed":false,"github":"https://github.com/ppoak/quool","clone":"git clone https://github.com/ppoak/quool.git","description":"Quool, a quantum financial tool, supporting native file data access, database access, crawler data access, and backtest together with analysis.","language":"Python","stars":14,"topics":["financial-research","pandas","quantitative-finance","backtrader"],"license":"MIT","category":"trading","readme_excerpt":"Quool Quantitative Toolkit — an extensible event-driven backtesting and live trading framework for quantitative strategies. Quool provides a modular architecture built around three pillars: Source (market data), Broker (execution & accounting), and Strategy (logic). It supports both backtesting with historical data and paper/live trading with broker integrations. Installation Requires Python = 3.10. Quick Start Architecture Core Concepts Source Source is the abstract market data provider. Subclasses implement update() to advance time and return OHLCV snapshots. Class Description ------- ------------- DataFrameSource Historical data from a pandas DataFrame (MultiIndex: time × code) DuckPQSource DuckDB/Parquet queries RealtimeSource Real-time EastMoney API with a rolling buffer XtDataPreloadSource XtQuant historical data preloaded into a DataFrame Broker Broker manages order execution, portfolio accounting (cash & positions), and order matching for backtesting. For live trading, broker subclasses integrate with external systems. Class Description ------- ------------- Broker Core simulated broker with pluggable commission/slippage models AShareBroker Enforces A-share 100-share lot-size rules XueQiuBroker XueQiu paper trading integration XtBroker XtQuant live trading gateway Order & Delivery - Order tracks the full lifecycle: CREATED → SUBMITTED → PARTIAL → FILLED/CANCELED/EXPIRED/REJECTED - Delivery records individual fills (execution details: price, quantity, commission) - Exe","default_branch":null,"files":null,"tree":[],"storefront":"/r/ppoak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ppoak/quool/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}