Skip to content

fix: document expectedValue as bookmaker/fair x 100, bump to 1.5.2 - #14

Merged
odds-api-io merged 1 commit into
mainfrom
fix/expected-value-units
Nov 6, 2026
Merged

odds-api-io merged 1 commit into
mainfrom
fix/expected-value-units

Conversation

@odds-api-io

Copy link
Copy Markdown
Owner

Summary

  • ValueBet.expectedValue JSDoc said 0.0523 means +5.23% EV. The API returns bookmaker odds / fair odds x 100: values cluster around 100, 103.42 is a 3.42% edge, below 100 is a negative edge. Edge % = expectedValue - 100.
  • README value-bets example multiplied by 100; it now filters and prints expectedValue - 100.
  • README arbitrage example prints profitMargin as a percentage (it already is one).
  • Version 1.5.2 (package.json, src/version.ts, CITATION.cff, README citation), CHANGELOG.

Test plan

  • npm run build, npm test (57 passed)

expectedValue is bookmaker odds / fair odds x 100 (103.42 = 3.42% edge),
not a fraction. Fixes the ValueBet JSDoc and the README value-bets and
arbitrage examples.
@odds-api-io
odds-api-io merged commit f52f586 into main Nov 6, 2026
4 checks passed
@odds-api-io
odds-api-io deleted the fix/expected-value-units branch November 6, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant