PyneComp v6.1.2 — compiled runs now report the same error codes as PyneCore, and…

Features

  • Strategies with strategy(spread_type=strategy.spread.trade) or strategy.spread.opposite now run compiled: buys fill at the ask, sells at the bid
  • bid, ask and syminfo.avg_spread are available in compiled runs
  • A compiled run that stops with an error reports the same code and message as PyneCore (for example R0010 for an array index out of range)

Fixes

  • A max_bars_back of 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 na object now stops the run with an error, as PyneCore does

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.