PyneCore v6.13.2 released — Pine semantics measured on TradingView: exact constant…

Fixes

  • bool() of a constant is exact (bool(1e-10) is true), and v4/v5 bool(na) stays na (#107)
  • for loops: a by of zero or below is an error, also on descending loops; a fractional counter’s end is compared with Pine’s tolerance (#107)
  • New pine_loop(..., entry=True) mode evaluates a v6 loop header in TradingView’s order when it calls something with an effect (#107)
  • strategy() positional arguments follow Pine’s order (10th is max_bars_back) (#107)
  • Legacy OHLCV files report the right last_bar_index
  • Edge gate accepts the names PyneComp generates for var block initializers and history aliases
  • pyne robustness coin-flip workers no longer hang on early stop or print an ignored SystemExit
  • Broker: a partial close of the whole parent position leaves the native stop in place

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

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.