Skip to content

get_summaries response missing last_updated #524

Description

@cedrichan

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

  1. Call polygonClient.get_summaries(['AAPL'])
  2. Note that the returned object is missing the last_updated field:
[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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions