PyneCore v6.10.8 released — stricter library and request.security validation,…
Fixes
- Library exports can no longer capture non-constant
main()state. Imported libraries’main()no longer creates drawings or firesalert() request.security: missingboolresults get a proper boolnadefault, replicas reuse the main script’s resolved inputs, and drawing constructors in request expressions are rejectedplot,plotshape,fill,bgcolorand other declarations outside the unconditionalmain()body now raise a source-locatedSyntaxErrorat transform timetimeframe.change()without an argument now uses the chart timeframe- Module constants are now folded inside functions with exact values and Pine types preserved
- Live trading: a market-closed reject (session pause, maintenance) is no longer fatal; the order is re-evaluated when trading resumes
- Live trading: rotated restart entries are adopted, reversal close settle timing is honored, and spot inventory quarantine waits for in-flight fills
- CCXT: transient candle download errors are retried with backoff
Performance
- Optional native
color.newin the platform wheels - Cached timestamp components and
strategy.close()call sites - Plot metadata cache shared across visualization readers, with the new
collect_meta_changes(cursor)API
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.8