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
varstate accumulates across a bar’s iterations, callee builtin machines roll back to bar start — exceptta.percentile_*,ta.highest/ta.lowestandmath.random, which advance per call ta.rsizeroes eachrmaside under a 1e-10 tolerance and saturates instead of dividing; a dormant pair reports 100ta.highest/ta.lowestage in bars, not in calls, and annainput resets the window outrightta.almapremultiplies its Gaussian weights and accumulates oldest sample first with no final divisionmath.logis now correctly rounded instead of using the platform libmmath.sum/ta.smawalk a changed length one compensated step at a time; isolated shrinks evict raw source values, running lengths re-baselineinput()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,openprofitandequityare 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