Skip to content

Releases: peaky76/pybet

v0.4.2

24 Feb 18:16
Compare
Choose a tag to compare

Refactorings

  • Improve type hinting in kelly
  • Improve var names in kelly
  • Replace check for negative kelly with use of max

Others

  • Configure ignores for coverage
  • Complete coverage in Odds and Market
  • Suspend type checking on complex constructors

v0.4.1

18 Feb 00:30
Compare
Choose a tag to compare

v0.4.0

27 Jan 22:38
Compare
Choose a tag to compare

Added

  • staking module
  • staking.kelly method

v0.3.0

29 May 20:47
Compare
Choose a tag to compare

Added

On Market class

  • .apply_margin instance method
  • .equalise instance method
  • .fill instance method
  • .wipe instance method

v0.2.0

02 Feb 00:17
Compare
Choose a tag to compare

Added

  • Market class
  • favourites property
  • percentage property
  • overround_per_runner property
  • is_overbroke property
  • is_overround property
  • is_fair property
  • without instance method

v0.1.0

31 Jan 22:26
Compare
Choose a tag to compare

Added

  • Odds class
  • Class methods to instantiate Odds from moneyline, fractional odds, implied percentage and probability
  • Instance methods to convert Odds to moneyline, fractional odds, implied percentage and probability
  • .evens class method
  • .inverted class method
  • .is_odds_against and .is_odds_on properties
  • Dunder methods for __str__, __add__, __mul__, __rmul__, __true_div__
  • STANDARD_FRACTIONALS constant