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 it
  • run_iter() now yields a fresh plot_data dict and new_trades list per bar, so list(runner.run_iter()) just works; copy_results=False keeps the copy-free fast path

Fixes

  • close_entries_rule = "ANY" margin calls, short-side margin checks and bar-close cuts match TradingView
  • strategy.entry / strategy.order with both stop and limit is a single stop-limit order; sub-lot qty_percent closes close one lot
  • timestamp(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, so array.includes / array.indexof no longer match a copy
  • Aggregated request.security volume is the exact decimal sum of the source bars
  • pyne run in provider mode refreshes symbol metadata on every run, so new holidays reach the session calendar
  • Programmatic inputs no longer get written into the script’s .toml

Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.6