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.74 — Converted scripts keep a cleaner layout, and compiled scripts handle…
Multi-line statements no longer get a stray blank line in the compiled script. - A for loop variable or a block-local variable with the same name as an outer variable no longer overwrites the outer one. - Libraries…
Read more →PyneCore v6.10.8 released — stricter library and request.security validation,…
Library exports can no longer capture non-constant main() state. Imported libraries' main() no longer creates drawings or fires alert() - request.security: missing bool results get a proper bool na default, replicas…
Read more →PyneComp v6.0.72 — Compiled scripts no longer start their main body with stray blank…
Compiling a script that grouped its input.* calls with comments or blank lines between them left empty lines at the top of the generated code. The output now starts cleanly, and blank lines you put between your other…
Read more →PyneCore v6.10.7 released — public live mode for ScriptRunner, and programmatic runs that…
ScriptRunner(live=True): feed closed history, then LIVE_TRANSITION, then live updates; each closed live bar's result arrives immediately instead of one bar late - OHLCVReader.get_last_bar_time() returns the last real…
Read more →PyneCore v6.10.6 released — programmatic script settings via ScriptRunner(settings=...),…
ScriptRunner(settings=...) overrides a script's own settings (initial_capital, commission_value, pyramiding, ...) for one run; import_script(..., inputs=..., settings=...) loads a script with overrides without running…
Read more →PyneComp v6.0.71 — older v4/v5 strategies now behave the same after conversion as they…
Converting a v4/v5 strategy to v6 now keeps its original defaults: 1 contract per entry instead of 100 % of equity, and the original initial_capital. Before, the converted script could produce completely different…
Read more →PyneCore v6.10.5 released — strategy() defaults now follow current Pine v6, margin-reject…
strategy() defaults: initial_capital 100000, default_qty_type strategy.percent_of_equity, default_qty_value 100 — set them explicitly to keep previous results
Read more →PyneComp v6.0.70 — More Pine v5 scripts now convert to v6 cleanly, and a handful of valid…
//@version = 6 (with spaces around =) is now recognized; before, such a script was rejected as an unsupported version - for var i = 0 to n and for varip ... loop counters now compile - Chained equality comparisons such…
Read more →PyneCore v6.10.4 released — math.sum now matches TradingView bit for bit,…
math.sum (and ta.sma on top of it) is bit-exact with TradingView during warmup, on growing lengths and on lengths that change every bar - calc_on_order_fills re-runs the script after every fill and stops at the first…
Read more →PyneComp v6.0.69 — Legacy scripts convert more faithfully, and several scripts that used…
A script with more than one //@version line (e.g. a v6 script that also carries an old //@version=5 comment) now follows the first one, like TradingView, instead of failing with "Empty document." - array.from() mixing…
Read more →