Skip to content

Limit Parameter for list_quotes does not work #285

@Mcrob1989

Description

@Mcrob1989

Describe the bug
The Limit Parameter for list_quotes does not work. This parameter seems to be ignored and all quotes matching the other parameter inputs are returned.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following code after input the proper api information.

`from polygon import RESTClient

client = RESTClient()

trades = []
for t in client.list_quotes('QQQ', '2022-01-04', limit=1):
print(t)`

Expected behavior
Only one quote would be printed.

Actual behavior
A large series of quotes are printed.

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