PyneCore v6.5.2 released — Correctness release on the 6.5 line: sharper request.security…
Fixes
- Multi-day and intraday HTF
request.securitynow aggregate to the security timeframe, so each period exposes its last confirmed value instead of the still-developing one (#70) - Session-gapped intraday
request.securityis corrected across the break, andrequest.security_lower_tfcollects intrabars from the bar’s own period[T, T+tf)on intraday and D/W/M / weekly / monthly charts - Stateful
ta.*calls (ta.smaand friends) isolate correctly on PyPI/Linux installs again — a non-editable install no longer misclassifies PyneCore as stdlib (#68) - Same-bar reversal fills and trims the new leg instead of being rejected
map.get()returnsnafor a missing key instead of raising, andstrategy.opentrades.size()returns0.0for an out-of-range indexta.percentile_*/ta.percentrank/ta.rcigrow their source buffer to fit history reads; addedta.max_bars_back
New (opt-in)
SymInfocan carry an effective-datedsession_scheduleshistory, so a backtest spanning a session-hours change (e.g. a night session end moving23:30->23:00) confirms each intraday HTF bar against the schedule in effect that day (#69)
Performance
- A plain-OHLCV
request.securityis served without re-running the script’smain()on every bar
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.5.2