8000 get_ticker_details doesn't include the date param · Issue #320 · massive-com/client-python · GitHub
[go: up one dir, main page]

Skip to content

get_ticker_details doesn't include the date param #320

@jakekdodd

Description

@jakekdodd

Describe the bug
RESTClient.get_ticker_details calls self._get with params=params, rather than params=self._get_params(...), and thus ignores the date param specified by the caller

To Reproduce

from polygon import RESTClient

client = RESTClient("<API token>")

client.get_ticker_details("AAPL", date="2020-10-01")

Expected behavior
Should perform the API request with a query param ?date=2020-10-01

Additional context
PR incoming 😃

Metadata

Metadata

Assignees

No one assigned

    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

      0