Dev Updates
Development in the open. PyneCore and PyneComp releases land here as they happen — what got fixed, what got added, and now and then what we got wrong — along with progress on work that is not finished yet. Synced directly from our Discord dev-updates channel.
PyneCore’s full changelog lives on GitHub; PyneComp’s progress you will find here and nowhere else. More granular and more technical than News — this is the engineering log, not the announcements.
PyneCore v6.8.10 released — a strategy-engine release: how TradingView sizes, books and…
Fixes - strategy.risk.max_drawdown now enforces against the realized (closed-equity) high-water mark and only on bars that book realized P&L — floating drawdown alone no longer halts trading - Exit orders settle against…
Read more →PyneCore v6.8.9 released — closes the remaining gaps between PyneCore's numbers and…
Features - Constant expressions now fold at parse time with an fdlibm port (sin, cos, exp, asin, acos) and series-fed math.* runs an Intel-LIBM port at runtime — matching TradingView's two math paths. - New…
Read more →PyneComp v6.0.59 — invalid argument lists in a Pine call are now reported as compile…
Fixes - Passing an argument without a parameter name after a named one — hline(overbought = obLevel, "Overbought", color = color.red) — used to compile successfully and hand you back a script that could not run at all.…
Read more →PyneCore v6.8.8 released — stateful ta builtin variables now advance once per bar like…
Fixes - ta.accdist, ta.nvi, ta.obv, ta.pvi, ta.pvt, ta.wad and ta.vwap are evaluated once per bar instead of once per reference site, so a read inside an if matches an unconditional one - The hoist follows TradingView's…
Read more →PyneComp v6.0.57 — Pine v5 scripts that previously failed to convert with a confusing…
Fixes - Converting a script where an if, while or else if condition was followed by a comment on the same line produced a broken script — everything after that line collapsed into it. The error pointed at a line you…
Read more →PyneCore v6.8.7 released — commissions are now booked once per order the way TradingView…
Fixes - Commission is booked per order, not per fill leg: a reversal's closing and opening legs share one pooled fee, rounded once and split in quantity proportion — applies to strategy.commission.percent,…
Read more →PyneComp v6.0.56 — v4 and v5 scripts that used to come back broken now convert cleanly:…
Fixes - Converting a Pine v4 script that assigns a number to a bool variable (var bool flag = 0, then flag := 1) no longer produces a script that fails with a type error — the numbers are converted to true/false the way…
Read more →PyneCore v6.8.6 released — TradingView's fill prices, average entry price and math.round…
Fixes - Filled prices are booked on the symbol's tick grid, the form TradingView stores them in - strategy.position_avg_price is the accumulated cost divided by the position size, re-derived on every fill - math.round…
Read more →PyneComp v6.0.55 — converting older and library-heavy scripts now produces code that…
Fixes - Converting a Pine v4 strategy that passed 1 / 0 as the entry direction turned every short into a long. Numeric literals now convert too — 0 becomes strategy.short, anything else strategy.long. - label.all.size()…
Read more →PyneCore v6.8.5 released — entries and exits that happen inside a bar now behave the way…
Fixes - A strategy.exit bracket its own entry activates mid-bar now fills on that same bar: profit=, loss= and trail_points= offsets are resolved at the fill instead of at the next bar's open (#76) - A trailing leg…
Read more →