DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to measure what screened companies did between filings with Qanat

Run a screen over a date window and read each passing company's return between its own filing dates.

Short answer: Install Qanat with uv tool install qanat-fdtl (or pip install qanat-fdtl); then 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. All steps.

  • Money
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

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

  1. Install Qanat with uv tool install qanat-fdtl (or pip install qanat-fdtl).
  2. Set your contact address with export SEC_USER_AGENT="your name you@example.com".
  3. Create a demo project with qanat init my-research --demo && cd my-research.
  4. Run the windowed screen with qanat screen --filter '[{"metric":"pe","op":"<","value":30}]' --from 2021-12-31 --to 2025-12-31.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer