PyneCore v6.8.5 released — entries and exits that happen inside a bar now behave the way…
Fixes
- A
strategy.exitbracket its own entry activates mid-bar now fills on that same bar:profit=,loss=andtrail_points=offsets are resolved at the fill instead of at the next bar’s open (#76) - A trailing leg armed mid-bar starts its water mark at the entry fill price, so an extreme the bar reached before the fill no longer arms it
- Session strings:
"0000-2400"parses as the all-day session, and"0000-2359"no longer misses the last bar of every day - Re-placing an entry id that still has an unfilled order from the same bar modifies that order and carries the raw quantity, without recomputing the reversal flip
ta.percentile_nearest_rankandta.percentile_linear_interpolationget one machine per call site; annalength is an all-naseries in them,ta.medianandta.modeinstead of halting the script- Rolling history growth is monotonic in
ta.change,ta.cog,ta.dev,ta.linreg,ta.percentrank,ta.rci,ta.rocandta.wma - Commission rounding, explicit
qtyquantization and default-sized entry budgets match TradingView;request.securitywith an empty symbol is the chart instrument - Live: an intra-bar update stamped with an already-closed bar’s timestamp is dropped instead of re-executing that bar and overwriting its OHLC
- Live: an exit whose parent entry was reversed away is skipped instead of halting the run, and the initial connect deadline is actually enforced
Features
linefill.all,chart.point.now()defaulting toclose,na-tolerantpolyline.delete, copiedtable.allinitial_connect_timeoutbounds the live initial connect
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.8.5