PyneCore v6.5.1 released — Patch release on the 6.5 line: TradingView-parity fixes across…
Fixes
- Same-bar
close_allafter a partial close no longer overshoots into a phantom opposite trade, and multiple same-bar partial closes for one entry now all fill - Sparse single-period D/W/M
request.securitykeeps itsgaps_offforward-fill instead of writingna, and HTFlookahead_offconfirms on the period’s own last bar (#66) - Empty-array reducers (
array.avg/sum/min/max/...) returnnainstead of raising;array.new_*(na)makes an empty array ta.correlation,ta.crossoverandta.crossunderstay valid acrossnagaps; annaseries subscript now resolves to the current bar (high[na] == high[0])- Multi-period D/W/M aggregation (
2D,3W…) is now trading-day- and holiday-aware (#65) - Added
strategy.netprofit_percent,strategy.openprofit_percentandstrategy.max_drawdown_percent
Performance
- O(1) drawing registries enforcing Pine’s
max_*_countcaps, memoized overload dispatch, and a nativerangefor integer for-loops
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.5.1