{"repo":"kay-ou/SimTradeLab","free":true,"listed":false,"github":"https://github.com/kay-ou/SimTradeLab","clone":"git clone https://github.com/kay-ou/SimTradeLab.git","description":"SimTradeLab is an open-source backtesting framework inspired by PTrade’s event-driven architecture. It features a lightweight, modular design and full syntax compatibility, enabling seamless strategy development and validation.","language":"Python","stars":328,"topics":["backtesting","backtesting-engine","open-source","ptrade","python3","quantitative-finance","trading-strategy","trading-strategy-simulator","ptrade-compatible"],"license":"AGPL-3.0","category":"trading","readme_excerpt":"📈 SimTradeLab English 中文 Deutsch Lightweight Quantitative Backtesting Framework — Local PTrade API Simulation Local compatibility for a tested subset of PTrade backtest APIs. Portability depends on the APIs and broker behavior a strategy uses; review the support matrix. See also: ptradeAPI --- 🎯 Why SimTradeLab? SimTradeLab PTrade --- --- --- Speed 100–160x faster Baseline Startup Sub-second (data persists in memory) Minutes API Coverage See the tested support matrix Full platform Strategy Porting Depends on the tested API subset Native platform Environment Local, free, open-source Cloud, licensed Core capabilities: - ✅ Tested API classifications — current full, partial, pending, and unsupported behavior is tracked in the support matrix - ⚡ 100–160x faster than PTrade platform - 🚀 In-memory data persistence — singleton pattern, sub-second startup after first load - 💾 Multi-level caching — LRU caches for MA/VWAP/adjustment factors/history, 95% hit rate - 🧠 Smart data loading — AST analysis of strategy code, loads only required data - 🔧 Lifecycle control — 7 lifecycle phases, strict simulation of PTrade's API restrictions - 📊 Full stats reporting — returns, risk metrics (Sharpe/Sortino/Calmar), trade details, FIFO dividend tax, CSV export - 🔌 Multi-market — Built-in CN (A-shares) and US market profiles with automatic trading rule adaptation - 🌐 i18n — Backtest output in Chinese, English, or German --- 🚀 Need More? Try SimTradeDesk SimTradeDesk is a professional deskto","default_branch":null,"files":null,"tree":[],"storefront":"/r/kay-ou","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kay-ou/SimTradeLab/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."}