Skip to content

v6.3.6

Choose a tag to compare

@wallneradam wallneradam released this 15 Mar 16:58
· 48 commits to main since this release

What's New

Extra Fields Support (#25)

Scripts can now access additional CSV columns beyond standard OHLCV data via lib.extra_fields dict. The DataConverter generates a .extra.csv sidecar file during CSV-to-OHLCV conversion, and OHLCVReader loads it automatically. Access custom fields in scripts with extra_fields["column_name"] — values are available as Series[float] with full history indexing support.

Standalone Script Execution

Compiled @pyne scripts can now run directly with python script.py data.csv without requiring a workdir or the pyne CLI. Output CSVs (plots, trades, strategy results) are placed next to the script file automatically.

Programmatic Input Override (#26)

ScriptRunner now accepts an inputs parameter, allowing programmatic override of script input values without modifying the script itself.

Bug Fixes

  • strategy.close() size rounding fix: Full position closes no longer re-round the position size, preventing float64 truncation errors (e.g., 12.0781 incorrectly truncated to 12.078). _size_round is now only called when qty or qty_percent is explicitly specified.
  • timeframe.in_seconds(): Argument is now optional, matching Pine Script behavior.

Improvements

  • Simplified _margin_call_round and _price_round in the strategy module
  • Documentation fixes: corrected broken links, typos, incorrect input parameter order, and outdated references across 14 documentation files
  • Added standalone execution guide to getting-started documentation