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.
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:
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.