Skip to content
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

[Bug] limit parameter not working #6954

Closed
saad-sahir opened this issue Nov 20, 2024 · 1 comment · Fixed by #6962
Closed

[Bug] limit parameter not working #6954

saad-sahir opened this issue Nov 20, 2024 · 1 comment · Fixed by #6962

Comments

@saad-sahir
Copy link

I ran this code from the Getting Started documentation but the limit parameter doesn't return the n number of rows. It always defaults to 5. I haven't found a solution to the problem yet anywhere else so I'm adding this here.

(
obb.equity.fundamental.income(
"TGT",
provider="yfinance",
limit=10,
period="quarter"
).to_df()
)

I am running this on openbb 4.3.4 in python 3.12

@saad-sahir saad-sahir changed the title [Bug] [Bug] limit parameter not working Nov 20, 2024
@deeleeramone
Copy link
Contributor

Hi, the limit parameter does not apply to yFinance, there are no query controls and only returns the last five periods.

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 a pull request may close this issue.

2 participants