-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
SummaryResult, the response class of get_summaries, is missing the last_updated field. The field is documented here and does appear in the response when called directly via HTTP.
To Reproduce
- Call
polygonClient.get_summaries(['AAPL']) - Note that the returned object is missing the
last_updatedfield:
[SummaryResult(price=172.244,
name='Apple Inc.',
ticker='AAPL',
branding=Branding(icon_url='https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_icon.jpeg',
logo_url='https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_logo.svg',
accent_color=None,
light_color=None,
dark_color=None),
market_status='late_trading',
type='stocks',
session=Session(change=-3.84,
change_percent=-2.18,
early_trading_change=-1.18,
early_trading_change_percent=-0.67,
late_trading_change=0.284,
late_trading_change_percent=0.165,
close=171.96,
high=175.92,
low=171.674,
open=174.82,
previous_close=176.08,
volume=64572194.0),
options=None,
error=None,
message=None)]
Expected behavior
SummaryResult to include last_updated field
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working