Skip to content

fix: handle stale Kalshi resolution windows after early settlement - #280

Merged
houtanb merged 1 commit into
forecastingresearch:mainfrom
pythoryn:fix/kalshi-early-settlement
Aug 27, 2026
Merged

fix: handle stale Kalshi resolution windows after early settlement#280
houtanb merged 1 commit into
forecastingresearch:mainfrom
pythoryn:fix/kalshi-early-settlement

Conversation

@pythoryn

Copy link
Copy Markdown
Collaborator

Summary

  • Handle early-settled Kalshi markets whose scheduled expiration timestamps remain stale.
  • Use actual close and occurrence timestamps for markets that have already closed.
  • Isolate markets with invalid resolution windows instead of aborting the entire update.

Testing

  • Kalshi and schema tests pass: 121 passed.
  • Cloud Run execution func-data-kalshi-update-questions completed successfully.
  • Verified that the affected Oklahoma contracts resolved correctly to 0.0 and 1.0.

@houtanb
houtanb merged commit fa31b00 into forecastingresearch:main Aug 27, 2026
1 check passed
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.

2 participants