Skip to content

v2.0.1

Choose a tag to compare

@edtechre edtechre released this 28 Aug 03:33
· 23 commits to master since this release

What's Changed

Added

  • Adds use_log to the returns indicator and returnv for computing log returns.
  • Adds typing_extensions to install dependencies. It was already imported by pybroker.strategy but never declared, so installs relied on it being pulled in indirectly by another dependency.

Changed

  • Requires optuna>=3.4. Earlier versions store the sampler's random generator in a different place, where optimize could not re-seed it, so passing seed did not make the search reproducible.

Fixed

  • Fixes parse_timeframe to reject malformed timeframes instead of silently reading a valid token out of them; "1.5h" was parsed as 5 hours and "-1h" as 1 hour.
  • Fixes the "Finished training model" log message, which raised a TypeError instead of reporting the elapsed training time.