Who it is forA researcher who has a screen rule and wants to see how the companies that passed performed over the following filing periods.
The problemCompanies file on different calendars, so comparing their results over one shared period is unreliable and easy to get wrong by hand.
The outcomeFor each date in the window, the companies that passed, each with its return from its own filing to its next filing, and the evaluated and unevaluated counts.
What you need first
- Python 3.10 or newer
- uv or pip to install qanat-fdtl
- A contact email for the SEC_USER_AGENT setting, which the SEC uses to identify requests (no API key or account)
- An MCP-capable agent client, only for the agent use case
Steps
- Install Qanat with
uv tool install qanat-fdtl(orpip install qanat-fdtl). - Set your contact address with
export SEC_USER_AGENT="your name you@example.com". - Create a demo project with
qanat init my-research --demo && cd my-research. - Run the windowed screen with
qanat screen --filter '[{"metric":"pe","op":"<","value":30}]' --from 2021-12-31 --to 2025-12-31. - Read the per-company returns and the counts, then decide any averaging or position sizing yourself outside Qanat.
Prompt for your agent
Using the Qanat project at <project-folder>, run a windowed screen from <start-date> to <end-date> on the metric and threshold <rule>. Report the per-company return from each company's own filing to its next filing, along with the evaluated and unevaluated counts. Verify that no average or aggregate has been added, since Qanat reports per-company returns only.
Caveat. Qanat does not add up returns or compare against failed companies, so any portfolio-level result must be built outside the tool.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fidetolabs/qanat and "Measure what screened companies did between filings"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer