Thriving Thriving C++ C+
โ†‘ 30 ?
pineforge-engine pineforge-4pass/pineforge-engine

Open-source C++17 engine for backtesting and forward execution, with a versioned C ABI; Pine Script v6 runs through code generation. Against TradingView's own trade lists, all 7,989 graded probes (309 open-corpus strategies, 741 closed-test scripts) grade excellent or strong: 7,983 excellent, 6 strong. Apache-2.0.

https://pineforge.dev โ†—
HEALTH ? 94 / Healthy
// solo builder algorithmic-tradingbacktestingc-apicppcpp17cryptodeterministicffifinancepine-script ?

// readme

PineForge

An open-source C++17 engine for backtesting and forward execution, with PineScript support through code generation.

๐ŸŒ pineforge.dev ยท โ˜๏ธ Hosted MCP ยท ๐Ÿณ Docker MCP ยท ๐Ÿ“ฆ Transpiler ยท ๐Ÿ“– C ABI docs ยท ๐Ÿงช Coverage map ยท ๐Ÿ”ฌ Benchmarks


Why PineForge

PineForge is a C++17 engine for backtesting and forward execution, with a C ABI for embedding. The engine has two layers:

  1. A generic kernel โ€” a Pine-agnostic backtest and forward-execution state machine: order matching and fills, sizing, margin and settlement, the bar magnifier, indicator classes, request.security(), time and session math. Some TradingView-shaped names survive in its archive, each ruled in ADR 0001 and held there byโ€ฆ