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.
PyneComp v6.0.46 — codegen correctness for statement-position blocks and Pine-v6 input.*…
Fixes - Drop a block's trailing bare expression when the if/for/while is used as a statement (value neither assigned nor returned) — kept only when it wraps a function/method call whose evaluation may have side effects.…
Read more →PyneComp v6.0.45 — better compile errors: human-readable messages with precise source…
Fixes - Syntax errors now describe what was found instead of dumping internal token names — e.g. Unexpected ','. or Unexpected identifier 'foo'. rather than COMMA_ARGS; lexer error messages improved as well - Unified…
Read more →PyneCore v6.5.7 released — TradingView-parity fixes in the strategy broker emulator plus…
Fixes - request.security() now instantiates per call site — a helper's request.security() called from N sites is N distinct data requests again, instead of all sharing the first call site's symbol/timeframe (new…
Read more →PyneComp v6.0.42 — Pine version conversion end-to-end: a new v4→v5 and v5→v6 converter…
Fixes - Subscripts on compound expressions now index the expression's history via inline_series instead of binding to the last operand. - The v5→v6 converter preserves option comments after top-level switch assignments.
Read more →PyneCore v6.5.6 released — a broad TradingView-parity batch: strategy margin/exit sizing,…
Fixes - Sub-lot margin calls now trim exactly one whole contract capped by position size, matching TradingView both at the bar open and intrabar. - strategy.exit qty/qty_percent legs are capped at the unreserved entry…
Read more →PyneComp v6.0.41 — two parser lexing/hoisting fixes.
Fixes - Parser no longer mis-lexes comparison expressions like foo(a < x, y > b) as type templates — invalid matches are reclassified as < operators unless preceded by array/matrix/map/.new. - Identifiers used only…
Read more →PyneComp v6.0.40 — parser fixes for hoisted-constant dependency tracking and…
Fixes - Identifier collection now follows chained subexpressions, so member/method call chains include identifiers from nested call arguments — preserves transitive dependencies for hoisted constants and avoids forward…
Read more →PyneCore v6.5.5 released — TradingView parity across strategy sizing and…
Fixes - Same-bar same-direction stacks that over-margin only after a prior fill now fill both legs like TV; tightened the sub-1e7 fill-margin tolerance to 1e-11. - Deferred (percent_of_equity/cash) price-based entries…
Read more →PyneComp v6.0.39 — tightens compiler correctness around method-overload dispatch and…
Fixes - Typed receiver calls only bind a user method when a matching overload exists; builtin containers, namespace types and imported UDT methods now correctly fall back when a same-named local method does not cover…
Read more →PyneCore v6.5.4 released — another round of TradingView backtest parity: large-equity…
Features - request.security(ticker.heikinashi(sym), tf, expr) now evaluates on Heikin Ashi candles (higher-timeframe aware, backtest file-backed only) - calc_bars_count honored — only the last N chart bars are…
Read more →