-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error in sts.batch_request_eod_prices()
with just a date and no tickers
#2
Comments
To be clear, the query appears to return successfully, but the data returned does not correspond to the date specified (but rather just whatever the last closing date was). |
Hi @klueska, A new API endpoint was created yesterday on fmpcloud to handle this request. It should work now. Could you confirm? I'll close the issue once you have. Thanks! |
It appears to work when I hit the endpoint directly in the browser, i.e.:
But setting my API key and then using it via the python package still return data from the last closing date (
Looks like you want the following diff:
|
Hey @klueska, I hope to have fixed this in release 1.1.5 |
Yep. Things seem to be working now. Thanks! |
The following does not seem to work:
From reading through the documentation, it appears the API does not support this type of query (though I'm not sure why it wouldn't). From the documentation it seems you can only supply a date if you also supply a list of tickers . Otherwise, you just get all of the EOD prices from the last closing date (without the ability to supply a different date).
The text was updated successfully, but these errors were encountered: