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.14.1 released — request.security now works in live trading, and the live…
request.security() runs in live mode: symbols resolve through the chart's provider, and a close that arrives late is fetched from the history. A symbol the provider cannot serve raises the new R0055. - The live stream…
Read more →PyneComp v6.1.3 — your Pine Script comments now carry over into the compiled Python code,…
Every comment you write in Pine now appears in the compiled code: comments on their own line stay above the line they describe, end-of-line comments stay at the end of their line, and your license/author header goes to…
Read more →PyneComp v6.1.2 — compiled runs now report the same error codes as PyneCore, and…
Strategies with strategy(spread_type=strategy.spread.trade) or strategy.spread.opposite now run compiled: buys fill at the ask, sells at the bid - bid, ask and syminfo.avg_spread are available in compiled runs - A…
Read more →PyneCore v6.14.0 released — every error a script causes now has a code, with the bar, the…
Diagnostic codes: R (run-time), P (Pyne code rules), E (Edge profile) and I0004 (internal); one exception class per code in pynecore.errorcodes, each keeping the built-in it replaced as a base - pyne run prints a coded…
Read more →PyneComp v6.1.1 — maps returned from methods iterate correctly, and request.security…
A for [k, v] in loop over a map returned by a user method (h.getMap()) or read from a field (hs.get(0).m) put the key into v too; v now gets the value. (#112) - In Pine v6, c ? <bool> : na and c ? na : <bool> are now…
Read more →PyneCore v6.13.5 released — Python 3.15 support and a batch of TradingView parity fixes…
Python 3.15 support, with wheels built for cp315 A history reference in an else if condition, or in a later switch case, now advances on every bar the if runs (#118) - a[1] of an array, matrix or map is now the object…
Read more →PyneIDE v0.14.2 (Preview) adds bid/ask spread costs to strategy backtests and optional…
Set Spread in strategy Properties to charge bid/ask costs and choose which side triggers stop orders. - Enable Ask side in the Symbol Browser when downloading cTrader data.
Read more →PyneCore v6.13.4 released — OHLCV files can store the ask side of bid/ask feeds, and the…
OHLCV v2 stores the ask side in the record; the bid and ask series are real on bars with a quoted ask - New strategy(spread_type=...): strategy.spread.trade fills buys at the ask and triggers every order on the side it…
Read more →PyneComp v6.1.0 — compiling and converting now run on a completely rewritten compiler.
Scripts that TradingView itself rejects are now reported as errors instead of being compiled. - When you convert a script to v6, everything that needs no change keeps your original text: indicator("N") is no longer…
Read more →PyneCore v6.13.3 released — Pine semantics fixes measured on TradingView, a Typer 0.29…
year, month, dayofmonth and the other date components of an na time now read it as the Unix epoch in the requested time zone, as TradingView does (#111) - timestamp() recognizes a month word by its first three letters,…
Read more →