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

Quarterly reports #16

Closed
Kander-5 opened this issue May 10, 2021 · 6 comments
Closed

Quarterly reports #16

Kander-5 opened this issue May 10, 2021 · 6 comments

Comments

@Kander-5
Copy link

Looks like the quarterly reports may have recently broken. Attempted to pull income and cash flow on a quarterly basis, and was returned a "HTTP Error 403:"

Appears to be new as I was able to pull quarterly financials previously without issue. Maybe an update to the "Period" field?

@JerBouma
Copy link
Owner

JerBouma commented May 10, 2021

Will look into it this week.

@JerBouma
Copy link
Owner

JerBouma commented May 11, 2021

Everything seems to be running just fine if I run the code in the Example section of the README.md file.

Could you answer the following questions:

  • Are you on the most recent version of the package (0.2.7)?
  • What kind of subscription do you have? Check whether you can actually collect data from that ticker based on your subscription: https://financialmodelingprep.com/developer/docs/pricing/
  • Could you provide me with your code so I can check whether I receive the same error?

@Kander-5
Copy link
Author

Kander-5 commented May 11, 2021

Hi! Interesting. So here is what I've found. Income Statement quarterly pull for AAPL works (not sure if that's the ticker you used for your test or not), but I haven't found another ticker that does. I tried a few common tickers: TSLA, MSFT, AMD....to no avail.

  1. Double checked and am on (0.2.7)
  2. Free account, was only doing majorly traded us stocks so shouldn't be an issue.

my simple test: TSLA_income_quarterly = fa.income_statement('TSLA', api_key, period="quarter")

however i just ran this without issue: TSLA_income_annual = fa.income_statement('TSLA', api_key, period="annual")

@carloscarrasco
Copy link

Thank you. I have the same problem with the "quarter" data. The "annual" is working fine but the "quarter" isn't.

@JerBouma
Copy link
Owner

JerBouma commented May 13, 2021

Unfortunately, the data source (FinancialModellingPrep) decided to set the quarter datapoints to a Premium subscription. Therefore, you are not able to collect the data.

See for example:

This URL is the same as the request URL I make within this package. Therefore, the only solution is to upgrade your plan. I will be adding this error message in the code for other users as well.

JerBouma added a commit that referenced this issue May 13, 2021
@JerBouma
Copy link
Owner

JerBouma commented May 13, 2021

Please update to the latest version (0.2.9)

JerBouma added a commit that referenced this issue May 13, 2021
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

No branches or pull requests

3 participants