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] Stocks/FA --source Polygon: cash returns over 100 columns when limit is only 20 & other strange behaviour #3738

Closed
deeleeramone opened this issue Dec 9, 2022 · 1 comment · Fixed by #3809
Assignees
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

ticker = KO
source = Polygon

Financial statements are being returned properly from Polygon. From default settings, cash returns seventeen years with bad column names, and balance fetches only five years.

(🦋) /stocks/fa/ $ cash --source Polygon

Screenshot 2022-12-08 at 8 14 31 PM

(🦋) /stocks/fa/ $ balance --source Polygon

Screenshot 2022-12-08 at 8 17 39 PM

Increasing the limit to 20 for balance presents the rows in a different order, and only eleven years of records.

Screenshot 2022-12-08 at 8 12 51 PM

Then things really go screwy when the same limit is applied to cash, over 100 columns are returned....

Screenshot 2022-12-08 at 8 22 28 PM

@jmaslek
Copy link
Collaborator

jmaslek commented Dec 21, 2022

#3809 takes care of the cash issues. The balance row ordering is done on polygons end, not ours. Note their fundamentals are still experimental and the 11 years are the max we get from the api request so can't do anything about getting more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants