Introducing the Wiley x Valyu HLS Startup Program
Valyu
Two contrasting linen-bound investment dossiers side by side on a walnut research library table in afternoon light, alongside clipped annual report pages with paper tabs, a steel ruler, a mechanical pencil, and a glass of water.
Tutorial

How Hedge Fund Analysts Automate Long and Short Investment Theses With Deep Research

Prosper
Share this article

On this page
TL;DR
  • Test both sides of an investment thesis with autonomous workflows: Run dedicated Valyu DeepResearch long, short, and sector workflows over SEC filings, insider records, and public transcripts to generate cited Word memos and Excel backups.
  • Eliminate confirmation bias before Investment Committee review: Force explicit bear counter-arguments on long pitches, evaluate cash conversion and related-party disclosures on shorts, and quantify short-squeeze positioning upfront.
  • Guard against split, Up-C, and footnote traps in automated drafts: Verify recent stock splits, consolidated versus Class A net income, and current quarter-end balance-sheet liabilities directly against the latest 10-Q.
  • Keep portfolio managers in the research and revision loop: Chain top-down sector primers into single-name theses, pause for plan approval before deep runs execute, and patch finished Word or Excel files in place.

If you're an agent: Set up Valyu and make your first search.

If you're a human: Create an account and get an API key.

MCP onboarding: Connect your agent to https://mcp.valyu.ai/mcp and follow the MCP setup guide for authentication.

Fundamental long/short hedge fund analysts do not fail because they lack access to SEC filings. They lose edge when building a first-draft Investment Committee memo takes four days and confirmation bias goes untested until partners tear the pitch apart.

Ask a standard chatbot to draft a bull case and it will mirror whatever bias you put in the prompt. Build a custom Search API wrapper and your engineering team spends weeks maintaining brittle orchestration code just to reconcile multi-year 10-K footnotes, log Form 4 insider sales, and format a clean Excel backup.

Valyu DeepResearch treats single-name thesis work as an autonomous research workflow rather than a retrieval query. Curated hedge fund workflows (hf-long-thesis, hf-short-thesis, hf-sector-deep-dive) bake adversarial evidence gathering and institutional deliverables directly into each run:

  • Long theses actively test the strongest bear counter-arguments.
  • Short theses audit cash conversion, related-party footnotes, and squeeze risk.
  • Every quantitative claim links back to its underlying filing so analysts can verify before IC.

Figure 1. Four-part hedge fund thesis workflow tested December 4, 2026: hf-long-thesis on ISRG, hf-short-thesis on CVNA with primary 10-Q checks on the May 2026 5-for-1 split and Up-C net income, hf-sector-deep-dive chained via previous_reports, and HITL plus deepresearch.edit controls.

Four thesis-research traps that derail automated long and short pitches

1. Comparing unadjusted pre-split highs against post-split share prices

Secondary market commentary frequently mixes historical pre-split prices with post-split quotes, distorting drawdown analysis.

Carvana's Q3 2026 Form 10-Q illustrates why checking corporate actions directly in primary filings matters:

  • Corporate action: Carvana executed a 5-for-1 forward stock split on May 8, 2026.
  • Split-adjusted reality: Comparing an unadjusted $478.45 January 2026 peak against a $71.04 December 3 close makes the stock look down 85%. On a split-adjusted basis, that peak equals $95.69, making the move to $71.04 a ~26% pullback.

Always verify the Stock Split footnote in the latest 10-Q before quoting multi-quarter drawdowns or valuation history.

2. Confusing Up-C consolidated net income with Class A shareholder earnings

Companies with Umbrella Partnership C-Corporation (Up-C) structures report two different net income lines, and mixing them breaks valuation math fast.

In Carvana's FY2025 Form 10-K, three lines tell the real earnings-quality story:

  • Consolidated net income (ProfitLoss): $1,895 million (the headline figure in the shareholder letter).
  • Class A shareholder net income (NetIncomeLoss): $1,407 million, after deducting $488 million attributable to noncontrolling interests.
  • Non-cash tax distortion: A $2,785 million income tax benefit from releasing the deferred tax asset valuation allowance ($2,784 million deferred tax adjustment), compared with $1,036 million in FY2025 operating cash flow.

Pitching earnings multiples without separating consolidated net income, Class A ownership, and non-cash tax releases fails IC scrutiny immediately.

3. Quoting stale balance-sheet liabilities or mismatched forward P/E bases

Footnotes shift every quarter. Carvana's Tax Receivable Agreement (TRA) liability stood at $2,228 million ($1,721 million due to related parties) at year-end 2025, then stepped down to $2,130 million ($1,645 million due to related parties) as of September 30, 2026 in its Q3 2026 Form 10-Q.

Valuation feeds diverge too. In our Intuitive Surgical (ISRG) long-thesis run, market feeds showed two different forward P/E multiples (33.4x vs. roughly 37x normalized) depending on the earnings denominator. Strong workflows flag those gaps explicitly instead of quietly picking one number.

4. Ignoring short-squeeze mechanics and bear counter-evidence

A short thesis that looks watertight in accounting footnotes can still hurt a fund if borrow and positioning are ignored. On December 4, Carvana carried 13.68% short interest, 6.78 days to cover, and a 3.65 beta, with a documented history of 17% to 58% rallies over 15 trading days after prior activist short reports.

The same discipline applies to longs. An Intuitive Surgical thesis anchored on strong da Vinci 5 placements (315 systems in Q3 2026; installed base of 12,094, up 12% YoY) still has to underwrite management's Q3 disclosure of 10% U.S. procedure growth and a planned 3% to 5% mix-constant pricing adjustment on instruments and accessories.

At a glance: verified December 4, 2026 long/short thesis snapshot

We ran both single-name hedge fund workflows live on December 4, 2026 in fast mode and independently audited every financial figure against SEC EDGAR.

Research pillarLive workflow output (Dec 4, 2026)Primary SEC EDGAR check
ISRG long deliverableshf-long-thesis : 27 sources, ~5,782-word .docx , 6-tab .xlsx (33 formulas)Full 10-section memo + valuation workbook
ISRG operating scale315 da Vinci 5 Q3 placements; 12,094 installed base (+12% YoY) confirms $3,048.7M Q3 rev and $8,711.8M 9M rev
ISRG cash & bear flags10% U.S. procedure growth; 3%-5% I&A pricing headwind; 33.4x vs. ~37x P/E confirms $2,419.8M 9M OI, $3,197.0M 9M OCF, $6,800.4M cash & securities
CVNA short deliverableshf-short-thesis : 21 sources, ~3,534-word .docx , 6-tab .xlsx (37 formulas)Full 10-section short memo + cash-conversion & insider tabs
CVNA unit economics & creditQ3 total GPU $6,997 (-$365 YoY) on 217,385 units; Fitch subprime 6.3% Oct & confirm $8,040M Q3 rev and exact GPU / unit counts
CVNA audit catches9M OCF $900M vs. $1,975M OI; 13.68% short interest; FY25 loan gains $1,193M & confirm 5-for-1 split, $2,130M Q3 TRA, $4,874M LT debt, $1,407M Class A NI

You can inspect the full Intuitive Surgical long thesis directly in Valyu Focus Mode: View the live ISRG long investment thesis memo and Excel workbook.

Step 1: Install the SDK and run a long investment thesis (hf-long-thesis)

Install the latest Python (valyu) or TypeScript (valyu-js) SDK and export your API key from the Valyu platform.

Shell
pip install -U valyu
export VALYU_API_KEY="your-api-key"
Shell
pnpm add valyu-js@latest
export VALYU_API_KEY="your-api-key"

hf-long-thesis takes ticker and an optional variant hypothesis. Both Python and TypeScript SDKs default to standard mode; pass mode explicitly (fast, standard, heavy, or max) when adjusting depth.

from valyu import Valyu
 
# Reads VALYU_API_KEY from the environment
valyu = Valyu()
 
long_task = valyu.deepresearch.create(
workflow_id="hf-long-thesis",
workflow_params={
"ticker": "ISRG",
"variant": (
"Consensus underestimates da Vinci 5 multi-year upgrade velocity, "
"refurbished XiR redeployments into ambulatory surgery centers, "
"and recurring instrument mix as capital placements scale."
),
},
mode="standard", # Workflow modes: "fast", "standard", "heavy", "max"
)
if not long_task.success or not long_task.deepresearch_id:
raise RuntimeError(long_task.error)
 
result = valyu.deepresearch.wait(
long_task.deepresearch_id,
poll_interval=10,
max_wait_time=1800,
)
print("Sources:", len(result.sources or []))
for item in result.deliverables or []:
if item.status == "completed":
print(item.id, item.type, item.title, item.url)

Our live ISRG run generated two complete deliverables that tested each pillar of the variant view instead of rubber-stamping the prompt:

  • Word investment memo (f_01, .docx): 10 institutional sections from Executive Summary through Bear Case and Exit Criteria.
  • Supporting workbook (f_02, .xlsx): 6 tabs (Summary, HistoricalFinancials, ForecastVsConsensus, ValuationTriangulation, CatalystCalendar, Sources) with 33 live formulas.

Step 2: Red-team conviction with an autonomous short thesis (hf-short-thesis)

Unlike hf-long-thesis, hf-short-thesis requires both ticker and hypothesis. Use it either to underwrite a dedicated short idea or to red-team a high-conviction long before presenting to the Investment Committee.

from valyu import Valyu
 
valyu = Valyu()
 
short_task = valyu.deepresearch.create(
workflow_id="hf-short-thesis",
workflow_params={
"ticker": "CVNA",
"hypothesis": (
"Equity valuation assumes permanent peak gross profit per unit and seamless "
"loan-sale monetization while overlooking subprime auto credit normalization, "
"related-party DriveTime and Bridgecrest dependencies, and TRA liabilities."
),
},
mode="standard",
)
if not short_task.success or not short_task.deepresearch_id:
raise RuntimeError(short_task.error)
 
result = valyu.deepresearch.wait(
short_task.deepresearch_id,
poll_interval=10,
max_wait_time=1800,
)
print("Sources:", len(result.sources or []))
for item in result.deliverables or []:
if item.status == "completed":
print(item.id, item.type, item.title, item.url)

The CVNA run delivered a 10-section .docx memo and a 6-tab .xlsx workbook (Summary, Financial trends, Working-capital & cash conversion, Insider transactions, Catalyst calendar, Sources) highlighting four testable signals:

  • Unit economics: Q3 total GPU fell $365 YoY to $6,997.
  • Cash conversion: 9M 2026 operating cash flow ($900 million) trailed GAAP operating income ($1,975 million) by over $1 billion.
  • Credit backdrop: Fitch 60+ day subprime auto ABS delinquencies peaked at 6.90% in January 2026 and stood at 6.3% in October.
  • Squeeze positioning: 13.68% short interest and 6.78 days to cover.

Step 3: Chain a sector primer into single-name theses with PM HITL checkpoints

Before pitching an individual stock, analysts map industry profit pools using hf-sector-deep-dive (workflow_params={"sector": "Robotic-Assisted Surgery"}). That generates a sector .docx primer and 5-tab .xlsx workbook (ValueChain, PublicCos, ProfitPools, LongShortList, TrackingMetrics). Valyu's built-in hedge fund suite also includes hf-earnings-preview, hf-earnings-recap, hf-filing-diff, and hf-macro-brief for ongoing coverage.

You can chain up to 3 completed task IDs into a single-name thesis via previous_reports, and pause right after planning with a human-in-the-loop (HITL) checkpoint (hitl={"plan_review": True}) so the portfolio manager approves scope before research runs.

from valyu import Valyu
 
valyu = Valyu()
 
sector_task = valyu.deepresearch.create(
workflow_id="hf-sector-deep-dive",
workflow_params={"sector": "Robotic-Assisted Surgery"},
mode="standard",
)
if not sector_task.success or not sector_task.deepresearch_id:
raise RuntimeError(sector_task.error)
 
sector_done = valyu.deepresearch.wait(
sector_task.deepresearch_id,
poll_interval=10,
max_wait_time=1800,
)
if not sector_done.deepresearch_id:
raise RuntimeError("Sector deep dive did not return a task ID")
 
chained_task = valyu.deepresearch.create(
workflow_id="hf-long-thesis",
workflow_params={
"ticker": "ISRG",
"variant": "da Vinci 5 capacity expansion and refurbished XiR redeployment into ASCs.",
},
mode="heavy",
previous_reports=[sector_done.deepresearch_id],
hitl={"plan_review": True},
)
if not chained_task.success or not chained_task.deepresearch_id:
raise RuntimeError(chained_task.error)
 
def approve_plan(interaction):
if interaction.type != "plan_review":
return None
print(interaction.data)
edits = input("Scope adjustments (blank to approve): ").strip()
return {"approved": False, "modifications": edits} if edits else {"approved": True}
 
final = valyu.deepresearch.wait(
chained_task.deepresearch_id,
poll_interval=15,
max_wait_time=3600,
on_interaction=approve_plan,
)
print("Completed:", final.status)

Step 4: Patch Word memos and Excel tabs in place with deepresearch.edit

When a primary-filing check catches a refinement, such as split-adjusting a peak price or updating Carvana's TRA balance to September 30 ($2,130 million), use valyu.deepresearch.edit and valyu.deepresearch.wait_for_edit (documented in the DeepResearch editing guide) targeting either the report or a specific deliverable (f_01 .docx or f_02 .xlsx).

Every edit creates an immutable version you can inspect with valyu.deepresearch.list_versions or roll back with valyu.deepresearch.restore_version.

from valyu import Valyu
 
valyu = Valyu()
 
task_id = "your-completed-thesis-task-id" # e.g., short_task.deepresearch_id
edit = valyu.deepresearch.edit(
task_id,
instruction=(
"Adjust the January 2026 peak share price for Carvana's May 8, 2026 5-for-1 stock split "
"($95.69 split-adjusted vs $71.04 close) and note both Q3 2026 TRA liability ($2,130M, "
"$1,645M related parties) and FY2025 Class A net income ($1,407M vs $1,895M consolidated)."
),
target={"kind": "deliverable", "deliverable_id": "f_01"},
base_version=1,
wait_seconds=20,
)
 
if not edit.success:
raise RuntimeError(edit.error)
if edit.status == "running" and edit.edit_id:
edit = valyu.deepresearch.wait_for_edit(
task_id,
edit.edit_id,
poll_interval=5,
max_wait_time=600,
)
print("Edit status:", edit.status, "| New version:", edit.version)
 
history = valyu.deepresearch.list_versions(task_id)
print("Saved versions:", len(history.versions or []))

Choosing the right DeepResearch mode

Match the DeepResearch mode to where the name sits in your idea funnel:

  • instant: Sub-30-second cited quick checks on a single freeform question (not used for multi-file workflow deliverables).
  • fast: Initial idea screening and quick variant-perception sanity checks when you want a cited draft and supporting .xlsx within ten minutes.
  • standard: Default mode in both Python and TypeScript SDKs for production single-name memos and sector primers across 10-Ks, 10-Qs, proxies, and transcripts.
  • heavy or max: High-conviction Investment Committee packs, forensic short reports, and multi-entity related-party investigations paired with hitl={"plan_review": True}.

Worked example: auditing an automated Carvana short thesis before Investment Committee

The problem

A consumer-internet analyst wanted to evaluate whether Carvana (CVNA) was still an actionable short at $71.04 on December 4, 2026, or whether peak GPU and subprime credit risks were already priced in.

The analyst needed a cited short memo, a working-capital and cash-conversion Excel schedule, an insider-selling log, and a squeeze-risk scorecard before the afternoon IC meeting.

The decision

Rather than spending four days compiling 10-K footnotes and third-party credit series by hand, the analyst ran hf-short-thesis for CVNA to produce a draft .docx memo (f_01) and 6-tab .xlsx workbook (f_02). The analyst then ran a focused five-minute audit directly against the Q3 2026 Form 10-Q and FY2025 Form 10-K.

The next action

The workflow confirmed the operational core of the short case: Q3 total GPU fell $365 YoY to $6,997, 9M 2026 operating cash flow ($900 million) lagged GAAP operating income ($1,975 million) by more than $1 billion, and Fitch subprime auto delinquencies stayed elevated at 6.3% in October.

To align the memo with the fund's IC accounting conventions, the analyst verified three footnote lines on EDGAR and applied one targeted valyu.deepresearch.edit pass to the .docx memo:

  • Split-adjusted price history: Standardized the January 2026 peak to $95.69 post Carvana's May 8, 2026 5-for-1 forward stock split (~26% pullback to $71.04).
  • Up-C net income: Displayed FY2025 Class A NetIncomeLoss ($1,407 million) alongside consolidated net income ($1,895 million).
  • Latest TRA cutoff: Highlighted the September 30 TRA balance ($2,130 million, including $1,645 million due to related parties) alongside year-end 2025 ($2,228 million).

The outcome

The analyst walked into IC the same afternoon with an audit-hardened short packet: split-adjusted price history, Up-C earnings reconciliation, primary-filing cash conversion math, and explicit squeeze sizing rules (13.68% short interest, 6.78 days to cover), saving three days of manual compilation.

Carvana IC reconciliation lineOfficial SEC EDGAR filingHow the desk used it in IC
Jan 2026 peak vs. $71.04May 8, 2026 5-for-1 stock split (Q3 10-Q)Anchored drawdown analysis to split-adjusted $95.69 peak (~26% pullback)
Q3 2026 revenue & GPU$8,040M rev; $6,997 GPU vs. $7,362 LY (Q3 10-Q)Confirmed -$365 YoY GPU compression across 217,385 retail units
9M 2026 cash conversion$900M OCF vs. $1,975M operating income (Q3 10-Q)Used as primary earnings-quality exhibit
FY2025 net income$1,895M consolidated vs. $1,407M Class A (FY25 10-K)Separated Class A shareholder earnings from noncontrolling interests
TRA liability$2,130M ($1,645M related parties, Sept 30 Q3 10-Q)Locked Sept 30 liability into memo via deepresearch.edit

FAQ

Can AI write a hedge fund long or short investment thesis memo?

Autonomous DeepResearch workflows (hf-long-thesis and hf-short-thesis) generate citation-backed 10-section Word memos and multi-tab Excel workbooks from SEC filings, insider records, and public call transcripts. Analysts and portfolio managers then audit the primary-filing citations, stress-test assumptions, and make the final conviction and sizing call.

How do hedge funds prevent confirmation bias in AI-generated stock pitches?

Run both sides of the trade by pairing hf-long-thesis with hf-short-thesis, or enable hitl={"plan_review": True} so the portfolio manager injects red-team questions before research runs. Curated workflows enforce explicit bear cases on longs and bull counter-arguments plus squeeze checks on shorts.

How should analysts handle stock splits and Up-C structures in automated theses?

Check the Stock Split and Income Statement footnotes in the latest 10-Q and 10-K so historical peaks are split-adjusted and Up-C net income separates consolidated earnings from Class A shareholder earnings. When your desk prefers a specific accounting presentation, patch the finished memo or Excel tab directly with valyu.deepresearch.edit.

How do you chain a sector deep dive into single-name long and short pitches?

Run hf-sector-deep-dive first and keep its deepresearch_id, then pass that ID inside previous_reports=[sector_id] (up to 3 prior tasks) when calling hf-long-thesis or hf-short-thesis. The single-name run inherits the sector value chain and profit-pool framing without repeating top-down research.

Can I codify our fund's proprietary IC memo template as a reusable workflow?

Yes. Call valyu.workflows.create (see the Workflows guide) to save your firm's exact section rubric, research strategy, typed variables, and .docx/.xlsx deliverables as a private, versioned org workflow, optionally paired with a Brand Kit via brand_collection_id.

How do I run long and short thesis workflows inside AI chat apps?

Connect your AI chat client or coding agent to https://mcp.valyu.ai/mcp following the MCP setup guide. Analysts can trigger DeepResearch thesis tasks, inspect citations, and pull SEC filing excerpts directly inside Claude, Cursor, or internal desk chat tools.

Build your own autonomous hedge fund thesis pipeline

Pair curated long, short, and sector workflows with previous_reports chaining, PM plan-review checkpoints, and targeted .docx/.xlsx edits so your analysts spend their week on primary diligence and portfolio judgment instead of first-draft assembly. New accounts get free credits every month, up to 2,000 with a work email.

Get an API key, read the Workflows documentation, or explore how to compare 10-Q SEC filings quarter over quarter and how o11 uses Valyu as the data layer for financial AI agents.

Valyu Add

Join 12,000+ professionals and knowledge workers.

Valyu Add is a free weekly research briefing for builders, investors and operators. Every issue is sourced, cited and verified with Valyu DeepResearch.