Spaces:
Sleeping
Sleeping
File size: 588 Bytes
f6b5f1a 21151ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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
|