pineforge
So sánh engine · v0.2 · benchmark 50 strategy

PineForge vs PyneCore.
Reproducible, không phải chém gió.

Mọi con số trên trang này được sinh ra bởi bash benchmarks/run_all.sh trong repo pineforge-engine open-source, trên cùng feed Binance ETH/USDT 15-phút 41,307 bar. Reproduce trong ~3 phút từ clone sạch, không gọi external API.

Đặt cạnh nhau

Mỗi engine thực sự cho bạn cái gì.

CapabilityPineForgeTradingViewPyneCore
Backtest reproducible từng byte
Runtime compile native
165/167 strict TV parity
Bán strategy dạng binary đã compile
License seller theo thời gian
License seller theo máy
Runtime open-source, audit được
Chạy trên data và máy của bạn
Reproducibility audit-grade cho compliance
Tích hợp live broker native
Mức match trên 50 strategy

Bao nhiêu trong 50 strategy đạt tier excellent khi đối chiếu TradingView.

C++ static lib
PineForge
49 / 50
Excellent49Strong1Moderate0Weak0
Python (PyneSys cloud-compiled)
PyneCore
46 / 50
Excellent46Strong1Moderate2Weak1
TypeScript (LuxAlgo)
PineTS
chỉ indicator
Strategy backtesterIndicator per-bar10/10 indicatormatch

Strategy execution nằm trong roadmap PineTS. Chúng tôi benchmark độ chính xác indicator với PineTS để khoanh vùng các sai số floating-point.

Tier theo chuẩn parity sweep của PineForge: excellent = cả bốn chiều (count delta, entry p90, exit p90, P&L p90) nằm trong ngưỡng strict và ≥95% lệnh khớp; strong trong 5× strict; moderate / weak / minimal giảm dần. Strategy dùng exit trail_* của TradingView áp dụng profile ngưỡng production (nới exit + P&L tolerance).

Khoảng cách 3 strategy

Ba strategy gói trọn toàn bộ khoảng cách.

Trên 47/50 strategy tham chiếu, cả PineForge lẫn PyneCore đều đạt excellent. Khoảng cách 3 strategy không phải ngẫu nhiên — mọi divergence đều cùng nhóm: bracket exit, trailing stop, hoặc đóng partial. Broker emulator của PyneCore khác TV ở chỗ này; PineForge mirror TV từng lệnh.

06-liquidity-sweep
bracket exit
PineForgeexcellent (88 / 88)·PyneCoremoderate (91)
93 lệnh TV trong cửa sổ. PineForge khớp 88 trong ngưỡng strict. PyneCore tạo 91 lệnh — drift +3 count, kèm drift exit-price ở các lệnh thoát theo bracket.
07-scalping-strategy
trailing stop (ngưỡng production)
PineForgeexcellent (412 / 429)·PyneCoremoderate (412)
429 lệnh TV trong cửa sổ. PineForge: 412 khớp, cả bốn chiều parity nằm trong ngưỡng production. PyneCore: cùng số lệnh khớp nhưng exit-price p90 vượt ngưỡng — broker emulator tính trail_offset lệch so với TV.
49-partial-exit-qty-percent
đóng partial (qty_percent)
PineForgeexcellent (683 / 725)·PyneCoreweak (2,671)
Divergence rõ rệt nhất trong corpus. 725 lệnh TV, PineForge khớp 683 ở strict parity. PyneCore tạo 2,671 lệnh — gấp 3.7× số đúng. Nguyên nhân gốc: strategy.close(qty_percent=…) trong PyneCore tách mỗi entry thành các sub-exit theo từng phần trăm thay vì một lần đóng partial. Issue upstream đang mở tại commit này.
Mỗi engine mạnh ở đâu

Chúng tôi không giấu yếu điểm. Họ cũng không nên.

CHỌN PINEFORGE KHI
  • Bạn cần determinism reproducible từng byte (CI gate, audit trail, claim parity với khách hàng).
  • Bạn cần semantic bám TV cho bracket exit, trailing stop, hoặc đóng partial. Ba strategy bên trên cho thấy rõ điều này.
  • Bạn cần tốc độ native compiled cho parameter sweep (Optuna chạy hàng nghìn tổ hợp tham số trên feed 50k bar).
  • Bạn muốn hosted Studio UI sau này — tab Code · Backtest · Optimize · Compare · Reports ra Q4 2026.
  • Bạn có ý định bán strategy đã compile cho trader khác. Thiết kế encrypted-distribution + license-server đã có trong public engine repo.
CHỌN PYNECORE KHI
  • Bạn cần forward-test hoặc live broker execution ngay hôm nay. PineForge ship hai cái này Q3-Q4 2026; PyneCore đã có.
  • Bạn cần đường execution strategy thuần Python (tích hợp sâu hơn với NumPy/Pandas, iterate native trong Jupyter).
  • Bạn ổn với caveat về bracket/trail/partial-exit (47/50 strategy không đụng tới).
  • Triết lý fully open-source quan trọng hơn tradeoff transpiler closed. PyneCore open end-to-end; runtime PineForge OSS nhưng codegen closed.
  • Bạn là contributor tích cực và muốn project mà PR của bạn vào thẳng đường execution strategy.
Độ chính xác indicator

PineForge cách TradingView gần hơn PyneCore hai bậc.

Drift indicator vs TradingView (thấp hơn = gần hơn) PineForgePyneCore
ema21
1.9e-10·1.9e-8
sma21
1.9e-10·1.9e-8
rsi14
9.7e-11·9.7e-9
atr14
2.8e-10·2.8e-8
macd_line
2.3e-10·2.3e-8
macd_signal
2.4e-10·2.4e-8
bb_basis
0·0
bb_upper
1.9e-10·1.9e-8
1e-12abs error · log scale1e-7

Drift lấy từ in-tree benchmark sweep tại HEAD. Methodology

Đừng tin bảng. Reproduce đi.

Mọi con số trên trang này được sinh ra bởi public benchmark suite. Không config ẩn, không API key, không trick commit snapshot. ~3 phút từ clone sạch.

# 1. Clone engine + benchmark suite open-source
git clone https://github.com/fullpass-4pass/pineforge-engine
cd pineforge-engine

# 2. Pull OHLCV qua LFS (2.3 MB)
git lfs install && git lfs pull

# 3. Chạy full sweep ba engine (~3 phút)
bash benchmarks/run_all.sh

# 4. Đọc kết quả — đúng bảng trên trang này
cat benchmarks/results/summary.md