PyneCore v6.9.2 released — the two reported regressions are fixed: na at an integer…

Fixes

  • na passed to an int-typed argument raised TypeError instead of answering na at 20 slots — every table dimension and cell coordinate, plus str.replace and str.substring; each now substitutes the integer TradingView substitutes there (#79)
  • str.substring resolved its positions before an na source, and str.repeat’s guard never saw a bare na
  • a library exporting one overload of a name and leaving another unexported broke the exported one with “No such method” on the first bar
  • a state-carrying definition inside a compound statement crashed on its first call
  • reversal close retries are throttled in the broker layer, so a rejected close no longer redispatches on the same bar

Performance

  • ta.* in a loop with a per-iteration length: twenty lengths 20..400 over 25369 bars went from 36.6s to 5.6s, with byte-identical output (#80)
  • a library defines its exports once per run instead of once per bar: 8.1 to 2.6 us/bar for a 20-export library

Features

  • array.sort and array.sort_indices accept Pine’s sort_field parameter, positionally and by name

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