Skip to content

Releases: edtechre/pybroker

v1.0.18

06 Mar 09:22
Compare
Choose a tag to compare
  • Fixes bug where filled shares were incorrect for an order that 1) covered short shares and 2) would exceed the amount of cash available in the portfolio. The bug did not affect calculating any performance metrics, only the filled shares recorded for an order satisfying 1) and 2).
  • Adds debug logging when a buy order amount exceeds the amount of cash available in the portfolio.
  • Adds start and end date bounds checks to DataSource base class.
  • Changes date type checks to use isinstance to support passing derived date types for start/end.

v1.0.17

15 Feb 18:23
Compare
Choose a tag to compare