这是indexloc提供的服务,不要输入任何密码
Skip to content

[BugFix] Patch yFinance For The Change To curl-cffi #7107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2025

Conversation

deeleeramone
Copy link
Contributor

  1. Why?:

    • yFinance has changed their session object to use curl-cffi
    • All yFinance functions are broken under normal conditions.
  2. What?:

    • Uses curl-adapter to mount the Requests Session object for use with the new framework.
  3. Impact:

  4. Testing Done:

    • You can tell it's working because the functions don't return a Rate Limit Error.

@deeleeramone deeleeramone added bug Bugs and bug fixes platform OpenBB Platform v4 PRs for v4 labels May 3, 2025
@deeleeramone deeleeramone requested a review from piiq May 3, 2025 01:57
@deeleeramone deeleeramone linked an issue May 3, 2025 that may be closed by this pull request
Copy link
Member

@piiq piiq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question

do we actually need to mount the http session too?

@deeleeramone
Copy link
Contributor Author

one question

do we actually need to mount the http session too?

For a proxy, ya?

@deeleeramone deeleeramone added this pull request to the merge queue May 4, 2025
Merged via the queue into develop with commit 5be4123 May 4, 2025
12 checks passed
@piiq piiq deleted the bugfix/patch-yfinance-cffi branch July 10, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and bug fixes platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Options.Chains Dataframe
2 participants