Published measurements
Measured on public code, same output as the original
Each case compares the unmodified original with the TAKT build on the same machine, on AMD Zen 3
and Zen 4 under Linux x86-64. The scripts and readings are published. These are results on specific code, not
a forecast for yours.
16–20×vs a competent native port
vn.py optimizer
vn.py’s brute-force optimizer over 600 parameter sets of its stock moving-average strategy. We get the same
top 10 with the same Sharpe ratios, returns, drawdowns and trade counts. It runs about 12,000× faster than
vn.py itself, mostly because it leaves Python.
6–11×whole hyperopt run, same result file
freqtrade hyperopt
freqtrade’s own hyperopt on five crypto pairs and two years of 5-minute candles: 5.9–6.7× over 30 epochs
and 7.2–11× over 100 epochs. Every epoch and every trade in the result file is identical. 15 cases and
204,132 trades were compared. Available as a hosted run.
2.2–5.2×whole optimization run, same results
backtrader optstrategy
The SmaCross grid from backtrader’s documentation runs 4.7–5.2× faster, and five other workloads run
2.2–3.9× faster. Every analyzer output, order and trade notification is identical. 25 cases and 91,022 trades
were compared. Available as a hosted run.
2.0–6.0×from Python, wrapper unchanged
TA-Lib 0.8.1
A drop-in C library with the same ABI. 4.59 million calls were checked against the official library with no
difference. Seven indicators run 2.3–7.4× faster from C in a sweep over one million bars. Free as
ta-lib-takt.
5–18×European MC, free package
QuantLib 1.43 Monte Carlo
Through the unchanged Python API, a book of European options prices about 5–8× faster, and Greeks by bumping
up to 18× faster. In the full version, the Asian, American, barrier, basket, Heston and local volatility
engines run 2–9× faster. Every result is identical to the official package.
up to 3.2×free analyses, default threads
LightGBM 4.7.0
Permutation importance, partial dependence and ICE, MDA and what-if sweeps through the unchanged API, with
predictions identical to the official package. The full version reaches up to 19× on one core with a
1,000-tree model.
TAKT is not affiliated with, endorsed or sanctioned by the TA-Lib, QuantLib, LightGBM, vn.py,
freqtrade or backtrader projects. Their names only identify the software we measured.