Skip to content

feat: add optional team_side + market_segment to odds/EV/closing models (#76, #689)#13

Merged
Mlaz-code merged 1 commit into
mainfrom
feat/team-side-market-segment-76
Jun 3, 2026
Merged

feat: add optional team_side + market_segment to odds/EV/closing models (#76, #689)#13
Mlaz-code merged 1 commit into
mainfrom
feat/team-side-market-segment-76

Conversation

@Mlaz-code

Copy link
Copy Markdown
Contributor

Adds the structured team_side + market_segment axes the SharpAPI now emits (sharp-api-go #76 Phase C / #689) to the response models.

  • OddsLine, EVOpportunity, ClosingOddsLine each gain optional team_side ("home"|"away"|"draw") and market_segment ("full_game", "1st_half", ...).
  • Additive, default None; existing code unaffected.
  • The API keeps emitting the compound selection_type for back-compat (Go re-synthesizes it), so this is purely additive on the consumer side.

Smoke-tested model instantiation with the new fields. Bump 0.3.3 → 0.3.4.

Type: feat

…ls (#76, #689)

OddsLine, EVOpportunity, ClosingOddsLine each gain optional team_side
("home"|"away"|"draw") + market_segment ("full_game","1st_half",...). Surfaces
the structured axes the API now emits (sharp-api-go #76 Phase C / #689).
Additive, default None. Bump 0.4.0 → 0.4.1.

Type: feat

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Mlaz-code Mlaz-code force-pushed the feat/team-side-market-segment-76 branch from 362b102 to 3a33100 Compare June 3, 2026 02:41
@Mlaz-code Mlaz-code merged commit 31ba1c1 into main Jun 3, 2026
4 checks passed
@Mlaz-code Mlaz-code deleted the feat/team-side-market-segment-76 branch June 3, 2026 02:45
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