PyneCore v6.10.0 released — backtests with request.security got much faster, plus…
Performance
- Same-timeframe
request.securitycontexts run their whole history as one batch round lookahead_onhigher-timeframe contexts are batched too, with a lazily streamed plan (lower memory, flat throughput on long charts)- Contexts start lazily at their first read: a
request.securityin a branch that never runs no longer costs a process - Scope-aware dependency analysis removes false inter-context dependencies, so more contexts batch and start in parallel
- Faster session-close walk for many-context scripts
Fixes
- A runtime-resolved
request.securityin an untaken branch (ternaries included) no longer requires a data feed - A nested
request.securityno longer readsnafrom its inner context - Pyramid add under
process_orders_on_closenow closes on its own bar - A price
strategy.entryplaced after a pending market reversal no longer skips the flip bar barstate.isnewistrueon historical bars;varipseries history worksnano longer leaks out ofand/or; three-state bool comparisons withnaanswerna- Order sync defers the bracket of an entry that was never dispatched
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.0