Spaces:
Running
Running
| from __future__ import annotations | |
| """ | |
| analytics/edge.py — re-exports only. | |
| All edge, vig, EV, and Kelly logic lives in analytics/no_vig_props.py. | |
| This module exists solely to preserve existing import paths. | |
| """ | |
| from analytics.no_vig_props import ( # noqa: F401 | |
| american_to_decimal, | |
| american_to_implied_prob, | |
| compute_bet_ev, | |
| compute_edge as calculate_edge, | |
| expected_value_decimal, | |
| implied_prob_to_american, | |
| kelly_fraction, | |
| remove_vig_two_way, | |
| ) | |
| # Direct alias so callers using `compute_edge` from this module also work | |
| compute_edge = calculate_edge | |