Skip to content

Fix missing pegRatio in .info (Fixes #2570) - #2656

Open
welcra wants to merge 1 commit into
ranaroussi:devfrom
welcra:fix-missing-pegratio
Open

Fix missing pegRatio in .info (Fixes #2570)#2656
welcra wants to merge 1 commit into
ranaroussi:devfrom
welcra:fix-missing-pegratio

Conversation

@welcra

@welcra welcra commented Dec 24, 2025

Copy link
Copy Markdown

Verified that pegRatio is missing from both standard modules and the timeseries API, which caused previous attempts to fail. Implemented a fallback that parses the Key Statistics HTML page using pd.read_html when the API returns None.

@ValueRaider

Copy link
Copy Markdown
Collaborator

Because key-statistics is a separate page, then the fetch and accessor should be separate from info. E.g.:

@property
def statistics(self):
  return self._statistics.get()

Also fix that git history - you need to rebase to dev.

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