PyneCore v6.10.6 released — programmatic script settings via ScriptRunner(settings=...),…
Features
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 itrun_iter()now yields a freshplot_datadict andnew_tradeslist per bar, solist(runner.run_iter())just works;copy_results=Falsekeeps the copy-free fast path
Fixes
close_entries_rule = "ANY"margin calls, short-side margin checks and bar-close cuts match TradingViewstrategy.entry/strategy.orderwith bothstopandlimitis a single stop-limit order; sub-lotqty_percentcloses close one lottimestamp(dateString)without a zone is UTC (was the exchange timezone), and zone words are handled like TradingView- Pine objects (UDTs,
chart.point) compare by reference, soarray.includes/array.indexofno longer match a copy - Aggregated
request.securityvolume is the exact decimal sum of the source bars pyne runin provider mode refreshes symbol metadata on every run, so new holidays reach the session calendar- Programmatic
inputsno longer get written into the script’s.toml
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.6