PyneCore v6.8.11 released — loop call sites now share one instance the way TradingView…

Fixes

  • Loop iterations share ONE instance per call site: user var state accumulates across a bar’s iterations, callee builtin machines roll back to bar start — except ta.percentile_*, ta.highest/ta.lowest and math.random, which advance per call
  • ta.rsi zeroes each rma side under a 1e-10 tolerance and saturates instead of dividing; a dormant pair reports 100
  • ta.highest/ta.lowest age in bars, not in calls, and an na input resets the window outright
  • ta.alma premultiplies its Gaussian weights and accumulates oldest sample first with no final division
  • math.log is now correctly rounded instead of using the platform libm
  • math.sum/ta.sma walk a changed length one compensated step at a time; isolated shrinks evict raw source values, running lengths re-baseline
  • input() with a color/number/string default no longer crashes the lib attribute lookup
  • Commission splits over the order’s own quantity and the legs’ exact lot counts, an open position marks on the fill tick grid, and strategy.entry() reverses on a sub-lot quantity — grossprofit, grossloss, netprofit, openprofit and equity are bit-exact over 28777 bars of the “Built-in Kelly ratio” reference
  • Broker: a plugin-declined close retries once per bar with a 60 s wall-clock cap, instead of re-dispatching on every venue event

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