Kéo xuống
pineforge
Lấy codegen key miễn phí

Để lại email. Chúng tôi gửi codegen API key miễn phí kèm hướng dẫn quickstart 2 phút ở trên. Một email khi launch, thỉnh thoảng cập nhật tiến độ. Hết.

Hosted Studio ra mắt Q4 2026. Self-host được ngay hôm nay qua CLI open-source.

Thử ngay · 2 phút
free tier
01Lấy codegen API key miễn phí

Để lại email ở waitlist bên dưới. Key gửi về trong vài giây, dùng được luôn với codegen API.

02Transpile Pine của bạn sang C++
bash
curl -X POST https://codegen.pineforge.dev/transpile \
  -H "Authorization: Bearer $PINEFORGE_KEY" \
  --data-binary @strategy.pine > strategy.cpp
03Backtest với file OHLCV CSV của bạn
bash
docker run --rm \
  -v $(pwd)/strategy.cpp:/in/strategy.cpp \
  -v $(pwd)/ohlcv.csv:/in/ohlcv.csv \
  ghcr.io/fullpass-4pass/pineforge-engine:latest > report.json
165/167
strict TV parity
khớp từng lệnh trên 167 strategy tham chiếu
49/50
vs PyneCore 46/50
ba engine đối chiếu cùng điều kiện · PineForge dẫn
~98%
coverage strategy
phần Pine v6 mà script thực tế dùng; bảng đầy đủ ở /coverage
218k+
lệnh đã verify
tổng trên bộ 167 strategy
Open core
Apache runtime · codegen độc quyền
audit runtime · free tier codegen API · chạy qua docker
strategy.pine
PineScript v6
//@version=6
strategy("EMA Cross", overlay=true, initial_capital=10000)

length = input.int(14, "Length")
sig    = ta.ema(close, length)

if ta.crossover(sig, sig[1])
    strategy.entry("long", strategy.long)

if ta.crossunder(sig, sig[1])
    strategy.close("long")
Generated C++ · emitted by codegen
class GeneratedStrategy : public BacktestEngine {
    ta::EMA          _ta_ema_1{14};
    Series<double>  _s_sig{500};

    void on_bar(const Bar& bar) override {
        int    length = get_input_int("Length", 14);
        double sig    = _ta_ema_1.compute(bar.close);
        _s_sig.push(sig);

        if (sig > _s_sig[1] && _s_sig[1] <= _s_sig[2])
            strategy_entry("long", true);
        if (sig < _s_sig[1] && _s_sig[1] >= _s_sig[2])
            strategy_close("long");
    }
};
Trades
142
Net P&L
+$3,184.62
Sharpe
1.48
Max DD
−12.7%
ma-cross paritysupertrend parityinside-bar paritystochastic-slow paritypivot-ext parity4ema-rsi parityliquidity-sweep paritymarket-shift paritymacd-histogram paritydonchian-breakout paritymatrix-pca parityregex-filter parity
Dành cho ai

Làm trước cho quant solo .

01 / B2C chính

Quant solo

  • Data của bạn, máy của bạn, không cần gói premium.
  • Optuna với objective function tùy chỉnh.
  • Webhook không bị giới hạn rate.
CLI open-source ngay hôm nay · Studio Q4 2026

Đang xây strategy marketplace? Xem pitch cho seller →

Đang vận hành desk hoặc quỹ nhỏ? Xem pitch cho institution →

Vì sao PineForge

Ba thứ runtime của TradingView không cho bạn.

01 / DETERMINISM

Cùng script, cùng data, cùng kết quả. Reproducible đến từng byte.

02 / SPEED

C++ native. 50k bar trong vài chục mili-giây.

03 / OWNERSHIP

Data, máy, strategy đều của bạn. Mặc định offline.

Cho AI assistant

Dùng PineForge từ Claude, Cursor, hay bất kỳ MCP client nào.

Model Context Protocol server bridge AI agent của bạn với codegen API và Docker local. Nói chuyện với strategy bằng natural language. Backtest chạy local — chỉ Pine source đi qua mạng.

Cài đặt (một lệnh)OHLCV ở yên trên máy bạn.
npx -y @pineforge/codegen-mcp
Tool expose ra
  • ·transpile_pine — Pine v6 → C++
  • ·backtest_pine — backtest local trong Docker
  • ·get_quota — kiểm tra free tier còn bao nhiêu
  • ·pull_engine_image — fetch runtime mới nhất
Xem setup đầy đủ →
PineForge nằm ở đâu

Một runtime nằm ở góc không ai khác chiếm.

Năm trục mà một quant muốn ship strategy như sản phẩm thực sự quan tâm. PineForge xây quanh cả năm.

Trục được chọn để test thesis của PineForge. Chấm điểm từ public docs và benchmark. Methodology

PineForge vs TradingView
WINS
5 / 5
PineForge vs TradingView on five axes.SPEEDPRIVACYLICENSEOSSDATA
SPEED
+3
PRIVACY
+2
LICENSE
+4
OSS
+3
DATA
+3
PineForge vs MQL5 Market
WINS
4 / 5
PineForge vs MQL5 Market on five axes.SPEEDPRIVACYLICENSEOSSDATA
SPEED
+1
PRIVACY
-1
LICENSE
+2
OSS
+3
DATA
+2
PineForge vs QuantConnect
WINS
4 / 5
PineForge vs QuantConnect on five axes.SPEEDPRIVACYLICENSEOSSDATA
SPEED
+2
PRIVACY
+3
LICENSE
+4
OSS
0
DATA
+1
1 tie
PineForge vs Backtrader
WINS
3 / 5
PineForge vs Backtrader on five axes.SPEEDPRIVACYLICENSEOSSDATA
SPEED
+4
PRIVACY
+4
LICENSE
+5
OSS
-2
DATA
0
1 tie
Điểm differentiation theo engine và trục
EngineTốc độ nativeRiêng tư sourceKiểm soát licenseAudit OSSTự do data
PineForge5/54/55/53/55/5
TradingView2/52/51/50/52/5
MQL5 Market4/55/53/50/53/5
QuantConnect3/51/51/53/54/5
Backtrader1/50/50/55/55/5
Capabilities

Năm thứ bạn không làm được chỉ với TradingView.

đã ship
01
BYOD — data của riêng bạn
Chạy data tùy ý — daily, intraday, alt — không bị TradingView giới hạn symbol.
đã ship
02
Intra-bar resolution ở mọi cadence
Đi vào bên trong bar với sub-bar resolution. Hết approximate bằng last-tick.
đang build Q3 2026
03
Optuna với objective tùy biến
Tối ưu theo bất kỳ hàm mục tiêu nào — Sharpe, drawdown, profit factor, hay của riêng bạn.
đang build Q3 2026
04
Forward-test với webhook giống TradingView
Walk-forward analysis built-in. Out-of-sample là default, không phải phần thêm vào sau.
thiết kế 2027
05
Strategy marketplace · bán .so đã compile
Bán .so đã compile. Thời hạn, máy, broker — bạn quyết, không phải platform.
BYOD — data của riêng bạnmở rộng
Bất kỳ file OHLCV CSV nào — tick data, custom feed, lịch sử asset không phổ biến. Chạy offline, trong CI, trong Docker. Không upload, không API key.
Intra-bar resolution ở mọi cadencemở rộng
Sáu chế độ phân phối (uniform, cosine, triangle, endpoints, front/back-loaded), tùy chọn weighted theo volume. Limit $100 nằm trong bar 95–105 sẽ fill ở đúng $100 — chính là bar magnifier của TradingView, không cần đóng phí.
Optuna với objective tùy biếnmở rộng
Sharpe, Sortino, drawdown, profit factor — hoặc lambda một dòng do bạn viết để optimizer chạy theo.
def objective(report):
  return 0.6 * report.sharpe - 0.3 * report.max_dd + 0.1 * report.profit_factor
Forward-test với webhook giống TradingViewmở rộng
Drop-in thay alert TradingView. Cùng JSON shape, cùng runtime với backtest — không rate limit, không drift khi replay.
Strategy marketplace · bán .so đã compilemở rộng
Shared library mã hóa AES-256-GCM. License ký Ed25519, bind máy, có thời hạn. Buyer chỉ tune được input bạn expose; không bao giờ thấy source.
Cơ chế

Bốn stage.
Không hidden state.

01 · input
.pine source
file của bạn
02 · parse
AST + type-check
Pine v6 spec
03 · transpile
C++ codegen
không runtime tax
04 · compile + run
Native binary
~12ms / 50k bar
05 · validate
Trade-for-trade
165/167 strict
Studio preview

Một report, mọi con số bạn thực sự tin được.

ETHUSDT · 15m2025-07 → 2026-04EMA Cross · L=21
Net
+31.84%
Sharpe
1.48
Max DD
−12.7%
Win rate
52.1%
Trades
142
Profit factor
1.71
Equity curve · vs Buy & HoldPineForgeB&H
Jul '25Sep '25Nov '25Jan '26Mar '26Hôm nay
Coverage PineScript v6

~90% ngôn ngữ.
~98% phần strategy thật sự dùng.

Drawing primitive, alert và semantic live-tick nằm ngoài scope — PineForge thiết kế để chạy offline. Mọi thứ ảnh hưởng đến lệnh đều có.

Coverage chi tiết theo từng function
ta.* — 59 function + 8 series + pivot helper (67 class)68/68100%
math.* — deterministic + rollingcoređã hỗ trợ
str.* — format · split · regex · tostringcoređã hỗ trợ
strategy.* — orders · accessors · risk gatesđầy đủ100%
array⟨T⟩ · map⟨K,V⟩ · UDTqua codegenđã hỗ trợ
matrix⟨T⟩ — Eigen-backed50+ opsđã hỗ trợ
request.security — ratio · calendar · lower-TFcoređã hỗ trợ
drawing & alertsngoài scope
Parity với TradingView

Chúng tôi không bắt bạn tin engine.
Chúng tôi diff nó.

Mỗi release đều validate từng lệnh với CSV xuất từ TradingView — 167 strategy tham chiếu, toàn bộ corpus open-source.

165/167
strategy đạt parity strict
Excellent165Strong2Weak / fail0
Ba engine đối chiếu · 50 strategy · cùng OHLCV
PineForge so kè ra sao với PyneCorePineTS.
So sánh đầy đủ & cách reproduce
C++ static lib
PineForge
49 / 50
49 excellent · 1 strong · 0 weak
Python (transpile cloud)
PyneCore
46 / 50
46 excellent · 1 strong · 2 moderate · 1 weak
TypeScript (LuxAlgo)
PineTS
chỉ indicator
strategy backtester nằm trong roadmap upstream
Khoảng cách 3 strategy (06-liquidity-sweep, 07-scalping-strategy, 49-partial-exit-qty-percent) đều rơi vào semantic bracket / trail / partial-exit — chỗ broker emulator của PyneCore khác TV. Xem chi tiết từng strategy →
Sắp tới

Backtest mới chỉ là điểm bắt đầu. Live mới là đích.

  1. ngay bây giờ
    đã ship
    Backtest batch deterministic
    Pine v6 → C++ → trades. 165/167 strict TV parity, 81% line coverage, pineforge-engine open-source.
  2. Q3 2026
    đang build
    Forward-test + Optuna optimization
    API streaming feed_bar(). Robustness scoring đa cửa sổ.
  3. Q4 2026
    kế tiếp
    Hosted Studio · paper trading
    Workspace Code · Backtest · Optimize · Compare. Một broker bridge khi launch.
  4. 2027
    sau đó
    Live execution · marketplace
    Fill đa broker. Phân phối strategy đã mã hóa. Audit log từng order.
Câu hỏi thường gặp

Hợp pháp không? So với PyneCore thế nào? Lỡ PineForge ngừng hoạt động? Tám câu trả lời ngắn.

Đọc FAQ

Có mặt khi Studio mở cửa.

Một email khi launch. Vài lần cập nhật tiến độ. Không spam upsell.