PyneCore v6.10.4 released — math.sum now matches TradingView bit for bit,…

Fixes

  • math.sum (and ta.sma on top of it) is bit-exact with TradingView during warmup, on growing lengths and on lengths that change every bar
  • calc_on_order_fills re-runs the script after every fill and stops at the first filling leg, like TradingView
  • strategy.entry / strategy.order re-issued with a zero-lot quantity now cancel the pending order; an all-na strategy.exit keeps its reserved slice
  • request.security_lower_tf() on the chart’s own symbol and timeframe returns an array
  • pyne run --from/--to reads dates without an offset as UTC; pyne data convert-from works on Python 3.11 again

Performance

  • math.sum runs on a compiled native extension and rolls back in O(1) inside loops: one heavy script went from 1269 s to 41 s
  • Much faster transformation of request.security scripts, plus inlined divisions and lighter math.pow

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