PyneCore v6.4.6 — futures correctness & strategy robustness
- Futures PnL now applies
syminfo.pointvalueeverywhere (closed trades, openprofit, drawdown/runup, percent commissions, end-of-backtest open exit) lib.math.round_to_mintickfixed for symbols withminmove != 1(e.g.NYMEX_MINI:QM1!— tick 0.025)process_orders_on_close=trueis now honoured: same-bar market/limit/stop fills at close, two-phase entry+exit, COOF auto-disabled when POOC is onstrategy.commission.cash_per_contractnow charges both legs (entry and exit), matching Pine v6PriceOrderBook.add_orderidempotent — mixedstrategy.exit(limit=…, loss=…)no longer leaves ghost orders after cancelrequest.security()no longer deadlocks when a child process crashes before signallingbarstate.*flags converted from module properties to plain variables (consistent reset across reruns)- Base-currency detection strips provider prefixes / TV suffixes (
BINANCE:BTCUSDT.P→BTC) — fixes crypto quantity rounding
Thanks to Zombajo on GitHub for the precise, well-reproduced bug reports that drove most of this release.
Release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.4.6