Title: client.vx.list_stock_financials() appears to be ignoring date range operators · Issue #382 · massive-com/client-python · GitHub
Open Graph Title: client.vx.list_stock_financials() appears to be ignoring date range operators · Issue #382 · massive-com/client-python
X Title: client.vx.list_stock_financials() appears to be ignoring date range operators · Issue #382 · massive-com/client-python
Description: Describe the bug Fetching financial reports for a "period of report date" range returns more than the reports for the given range (a lot more). To Reproduce reports = client.vx.list_stock_financials(ticker="AAPL", timeframe='annual', per...
Open Graph Description: Describe the bug Fetching financial reports for a "period of report date" range returns more than the reports for the given range (a lot more). To Reproduce reports = client.vx.list_stock_financial...
X Description: Describe the bug Fetching financial reports for a "period of report date" range returns more than the reports for the given range (a lot more). To Reproduce reports = client.vx.list_stock...
Opengraph URL: https://github.com/massive-com/client-python/issues/382
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"client.vx.list_stock_financials() appears to be ignoring date range operators","articleBody":"**Describe the bug**\r\n\r\nFetching financial reports for a \"period of report date\" range returns more than the reports for the given range (a lot more). \r\n\r\n**To Reproduce**\r\n\r\n```\r\nreports = client.vx.list_stock_financials(ticker=\"AAPL\", timeframe='annual', period_of_report_date_gte: datetime.date(2023, 1, 1), period_of_report_date_lt: datetime.date(2024, 1, 1))\r\nfor report in reports:\r\n print(f\"{report.fiscal_year=}, {report.fiscal_period=}\")\r\n```\r\n\r\nI've also tried passing the dates as strings instead of date() objects, but that didn't change the result.\r\n\r\n**Expected behavior**\r\n\r\nThe API should only return reports for the given date range. Instead, it returns...\r\n\r\n```\r\nreport.fiscal_year='2022', report.fiscal_period='FY'\r\nreport.fiscal_year='2021', report.fiscal_period='FY'\r\nreport.fiscal_year='2020', report.fiscal_period='FY'\r\nreport.fiscal_year='2019', report.fiscal_period='FY'\r\nreport.fiscal_year='2018', report.fiscal_period='FY'\r\nreport.fiscal_year='2017', report.fiscal_period='FY'\r\nreport.fiscal_year='2016', report.fiscal_period='FY'\r\nreport.fiscal_year='2015', report.fiscal_period='FY'\r\nreport.fiscal_year='2014', report.fiscal_period='FY'\r\nreport.fiscal_year='2013', report.fiscal_period='FY'\r\nreport.fiscal_year='2012', report.fiscal_period='FY'\r\nreport.fiscal_year='2011', report.fiscal_period='FY'\r\nreport.fiscal_year='2010', report.fiscal_period='FY'\r\nreport.fiscal_year='', report.fiscal_period=''\r\n```","author":{"url":"https://github.com/bfoz","@type":"Person","name":"bfoz"},"datePublished":"2023-02-13T23:10:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/382/client-python/issues/382"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eb328f5c-46ef-b055-58da-cedb6d7ebad7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9714:4EB39:13BF284:1A42F19:6A50430F |
| html-safe-nonce | 7dbf006d16c805bae817e6c95adc9dba68e3192d5b7e794b0a45560c2a88af50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzE0OjRFQjM5OjEzQkYyODQ6MUE0MkYxOTo2QTUwNDMwRiIsInZpc2l0b3JfaWQiOiI4MDUxNjIwNjQ1Nzg2NjMyOTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 451cf150d1c7b762acf2f7812c976c99f422d571c9660d5f473736728968b45f |
| hovercard-subject-tag | issue:1583214897 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/massive-com/client-python/382/issue_layout |
| twitter:image | https://opengraph.githubassets.com/26779ed223fc883ba60909c810e2a71215c1c847a5e8d166794d7e948b5fee42/massive-com/client-python/issues/382 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/26779ed223fc883ba60909c810e2a71215c1c847a5e8d166794d7e948b5fee42/massive-com/client-python/issues/382 |
| og:image:alt | Describe the bug Fetching financial reports for a "period of report date" range returns more than the reports for the given range (a lot more). To Reproduce reports = client.vx.list_stock_financial... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bfoz |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/massive-com/client-python git https://github.com/massive-com/client-python.git |
| octolytics-dimension-user_id | 191946194 |
| octolytics-dimension-user_login | massive-com |
| octolytics-dimension-repository_id | 216660192 |
| octolytics-dimension-repository_nwo | massive-com/client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 216660192 |
| octolytics-dimension-repository_network_root_nwo | massive-com/client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width