All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
The versioning refers to the versions on pypi
- cast return type in Bet.settle
- add
radon
- reconfigure
ruff
with extra rules - remove
black
- apply
ruff
refactors
Bet
class.settle
method.status
property
Market.derive
sets places on returned market
- add
Bet
section for readthedocs
- test Market.derive ValueErrors
- add
Market.derive
details - amend api and getting started documentation
- typing in
Market.derive
- fix config ref in
.readthedocs.yaml
- add
.readthedocs.yaml
v2 config
- ruff ignore E731
- refactor
Market
testing to harmonise approaches
Market.derive
method
- ruff ignore F821
- make
Odds.__repr__
class specific - allow
Odds.probability
andOdds.percentage
class methods to operate at "never" and "always" extremes
- add ruff
- fix for
ValueError
check inMarket.meld
(was merged pre-0.6.0 but missing from release)
Market.meld
method
- optional commission arg in
kelly
- minor style fix on CHANGELOG
- reorder dependencies in
pyproject.toml
- add
prep.sh
script
- Improve type hinting in
kelly
- Improve var names in
kelly
- Replace check for negative
kelly
with use of max
- Configure ignores for coverage
- Complete coverage in
Odds
andMarket
- Suspend type checking on complex constructors
- Major internal linting, build and ci changes
staking
modulestaking.kelly
method
.apply_margin
instance method.equalise
instance method.fill
instance method.wipe
instance method
Market
class.favourites
property.percentage
property.overround_per_runner
property.is_overbroke
property.is_overround
property.is_fair
property.without
instance method
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