PyneComp v6.1.2 — compiled runs now report the same error codes as PyneCore, and…
Features
- Strategies with
strategy(spread_type=strategy.spread.trade)orstrategy.spread.oppositenow run compiled: buys fill at the ask, sells at the bid bid,askandsyminfo.avg_spreadare available in compiled runs- A compiled run that stops with an error reports the same code and message as PyneCore (for example
R0010for an array index out of range)
Fixes
- A
max_bars_backof 0 or less, or above 5000, now stops with an error instead of being silently cut - Live paper trading with
calc_on_every_tick: an order placed during a bar fills on the next tick, not at that bar’s open - Reading a field of an
naobject now stops the run with an error, as PyneCore does