PyneCore v6.8.14 released — twelve TradingView-parity fixes across the strategy engine,…

Fixes

  • Same-instant reversals are booked long side first when both entry orders waited in the book together; a calc_on_order_fills-issued leg keeps its chronological order
  • pyramiding is judged when strategy.entry runs, against the position this bar’s already-placed market orders leave behind
  • strategy.exit legs bound to a still-pending entry follow that entry, and survive a close_all that spent their binding
  • strategy.close/strategy.close_all same-bar stacking keys on the call site; process_orders_on_close=true no longer disables calc_on_order_fills
  • strategy.risk.max_intraday_loss rewritten as an intra-bar check with a day-scoped halt; commission_type accepts strategy.cash
  • ta.highest and ta.lowest re-read the whole window on the bar a varying length grows back
  • array.sum, array.avg, array.variance, array.stdev, array.standardize and array.covariance now match bit for bit
  • lookahead_on no longer drags chart.right_visible_bar_time back; US half-day closes confirm their daily HTF bar on the right bar
  • runtime.error is a no-op inside a request.security child instead of killing the worker
  • Dedicated exchange-rate feeds outrank chart prices for currency conversion
  • Lossless price storage: a v2 OHLCV file with a declared tick grid reads its OHLC back exactly

Features

  • timenow is pinned to the last bar of a historical replay, so a backtest is determined by its data alone — live and broker runs keep the system clock
  • pine_loop re-reads a for loop’s to bound when it is not loop-invariant
  • shadowed_namespace: an import alias spelling a builtin namespace shadows it member by member

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