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 pyramidingis judged whenstrategy.entryruns, against the position this bar’s already-placed market orders leave behindstrategy.exitlegs bound to a still-pending entry follow that entry, and survive aclose_allthat spent their bindingstrategy.close/strategy.close_allsame-bar stacking keys on the call site;process_orders_on_close=trueno longer disablescalc_on_order_fillsstrategy.risk.max_intraday_lossrewritten as an intra-bar check with a day-scoped halt;commission_typeacceptsstrategy.cashta.highestandta.lowestre-read the whole window on the bar a varying length grows backarray.sum,array.avg,array.variance,array.stdev,array.standardizeandarray.covariancenow match bit for bitlookahead_onno longer dragschart.right_visible_bar_timeback; US half-day closes confirm their daily HTF bar on the right barruntime.erroris a no-op inside arequest.securitychild 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
timenowis 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 clockpine_loopre-reads aforloop’stobound when it is not loop-invariantshadowed_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