Skip to content

SEC Enforcement Actions Incomplete #16

Open
@rossjillian

Description

@rossjillian

Hi,

I'm trying to pull down the complete SEC enforcement actions dataset (over 10,000 according to the documentation). However, when I run this query:

search_params = {
    "query": "releasedAt:[1997-01-01 TO 2025-04-09]",
    "from": "0",
    "size": "1",
    "track_total_hits": True,
    "sort": [{"releasedAt": {"order": "desc"}}],
}

response = enforcementActionsApi.get_data(search_params)
print(response['total']['value'])

I see a total of only 2,752 enforcement actions. Is this the documentation incorrect, or is there some bug in how I'm querying it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions