The Trader Workflow

Stage 2 → Near High → BRS Combined Into One Technical-Confluence Routine

COMPLETE GUIDE

Building with the API? Open the developer docs

Finmagine API & MCP — free tier to test • Pro/Max for full access • REST + MCP

Open the Docs →
← API & Agent Integration Hub ← All Feature Guides
Published: July 29, 2026  |  8 min read  |  Developer Guide  |  API & Agent Integration Series  —  Guide 12 of 12

Multimedia Learning Hub

Master the Trader Workflow through a complete learning overview and interactive flashcards

What You Will Master

Guide #10 covered what each trader-scan type means. This final guide covers the composition pattern — calling the same trader-scan endpoint 3 times with different scan_type values and intersecting the results, the same "cross-reference, don't auto-chain" pattern as the Momentum Setup Workflow, applied to technical scans instead of market-wide signals.

What This Guide Covers:

  1. What the Trader Workflow Actually Is — 3 calls, 1 endpoint, different scan_type
  2. Why Stage 2 + Near High + BRS Specifically
  3. Composing the 3 Results — the intersection logic
  4. The stage2nh Shortcut — a 2-call version
  5. India vs. US: Same Pattern, Real Differences — scan-type sets, gating rationale, cron schedules
  6. Closing Out the Series — what all 12 guides add up to

Who This Is For:

  • Developers building a daily breakout-candidate shortlist — this composition is the tightest filter the trader-scan data supports without custom logic
  • Agent builders who want one more worked example of the manual-cross-reference pattern before composing their own recipes
  • Anyone who's read all 11 prior guides and wants to close out the series

Test Your Knowledge

Click any card to reveal the answer. Use the search box to find a specific topic.

What the Trader Workflow Actually Is

Unlike most workflows in this series, the Trader Workflow isn't multiple different endpoints — it's one endpoint, called 3 times, with a different scan_type parameter each time:

GET /api/v1/us/market/trader-scan?scan_type=stage2 GET /api/v1/us/market/trader-scan?scan_type=nearHigh GET /api/v1/us/market/trader-scan?scan_type=brs

Each call returns its own independently-ranked list of symbols. The actual "workflow" is what you do after all 3 calls return: intersect the 3 symbol sets. A stock appearing in all 3 lists simultaneously has cleared three genuinely different technical bars at once — not just one.

This is deliberately not a pre-built recipe in agent-recipes.json — it's a pattern to compose yourself from the endpoint covered in Guide #10. Because it's just 3 GET calls with no chaining, no async, and no LLM involvement, there's nothing here that needs a hand-curated recipe entry the way the Investment Committee or Research Presets do — the composition is simple enough to build directly from what Guide #10 already documented.
THE LOGIC

Why Stage 2 + Near High + BRS Specifically

Of the 7 US scan types (or 8 India scan types), these 3 answer three genuinely different, complementary questions:

ScanQuestion it answers
Stage 2"Is this stock already in a confirmed uptrend?" — the broader structural context
Near High"Is it close enough to a meaningful breakout level right now?" — proximity to the actual trigger point
BRS (Breakout Readiness Score)"Is it showing the specific pre-breakout compression pattern, not just drifting near a high?" — the "coiled spring" quality
Any one of these alone is a weaker filter than all three together. A stock can be in Stage 2 without being anywhere near a breakout level yet. A stock can be near its 52-week high without genuinely being "coiled" — it could just be drifting sideways at resistance. Combining all three narrows the field to stocks that are simultaneously in an established uptrend, at a meaningful decision point, and showing the specific technical signature that historically precedes a breakout attempt.

VCP and High Volume are deliberately left out of this particular combination — not because they're less valuable, but because Stage 2 + Near High + BRS is the tightest 3-scan combination for "about to break out," while VCP and High Volume answer somewhat different questions (a specific base pattern, and a possible institutional-interest signal, respectively) that don't compose as cleanly into the same "is this about to move" question.

THE COMPOSITION

Composing the 3 Results

Each of the 3 calls returns a stocks array. The workflow itself is a straightforward set intersection on the symbol field:

// Pseudocode — same pattern in any language stage2Symbols = stage2Response.stocks.map(s => s.symbol) nearHighSymbols = nearHighResponse.stocks.map(s => s.symbol) brsSymbols = brsResponse.stocks.map(s => s.symbol) highConviction = stage2Symbols .filter(sym => nearHighSymbols.includes(sym)) .filter(sym => brsSymbols.includes(sym))
This is manual cross-reference, not an API-level join — the same pattern as the Momentum Setup Workflow. There's no single call that returns "stocks matching all 3 scans" directly; you make 3 calls and intersect the results client-side (or agent-side). This keeps each individual scan's result independently useful — you can still use just the Stage 2 list on its own — rather than only ever getting a pre-combined result you can't decompose.

Because each scan is capped at up to 50 results (the platform-wide limit clamp), the intersection is working over 3 relatively small, already-curated lists — not a full-universe join — which keeps this a fast, cheap client-side operation.

The stage2nh Shortcut — a 2-Call Version

Guide #10 covered stage2nh — a scan type that's already precomputed as the Stage 2 + Near High combination. If you don't need each of the two conditions as a separately inspectable list, you can skip one call:

GET /api/v1/us/market/trader-scan?scan_type=stage2nh // combines stage2 + nearHigh GET /api/v1/us/market/trader-scan?scan_type=brs

Then intersect just these 2 result sets instead of 3. This trades a small amount of intermediate visibility (you no longer see the Stage 2-only and Near High-only lists separately) for one fewer round trip.

Use the 3-call version when you want to inspect each individual condition; use the 2-call stage2nh shortcut when you only care about the final intersection. Both arrive at logically the same final set — the choice is about how much intermediate data you want back, not a difference in the underlying signal.

India vs. US: Same Pattern, Real Differences

Both markets support this exact composition pattern — one endpoint, multiple scan_type calls, manual intersection — but the details underneath differ in ways worth knowing before you build a market-agnostic client.

IndiaUS
EndpointGET /market/trader-scanGET /us/market/trader-scan
Scan types available8 — allThree, stage2NearHigh, vcp, highVol, stage2, brs, volume, ipo7 — all, stage2nh, stage2, nearHigh, highVol, brs, vcp
Naming conventionMixed case, e.g. stage2NearHighcamelCase, e.g. stage2nh
Source tabletrader_scan_resultsus_trader_scan_results
Cron schedule30 12 * * 1-5 IST (weekdays)30 22 * * 1-5 UTC (weekdays)
Do not assume the two scan_type value sets are interchangeable — they're not identical strings. India uses stage2NearHigh and volume/ipo (with no US equivalent for the latter two); US uses stage2nh and has no volume or ipo scan type at all. A client that hardcodes one market's scan_type strings and reuses them unmodified against the other market's endpoint will get a 400.

A genuinely interesting gating-rationale difference

India's handler docblock states this data is gated deliberately as "a product decision (2026-07-28)" — the underlying internal endpoint (api/trader-picks.php) is itself public, but the versioned API adds a premium gate on top as a considered choice, not a technical necessity. The US handler's reasoning runs the other direction: the underlying web page is already gated behind login + premium, so the versioned API's api_pro requirement simply matches an existing restriction rather than introducing a new one. Same tier gate on both, different history behind why.

SERIES COMPLETE

Closing Out the Series

This is guide 12 of 12. Across the series, you've gone from "what does an AI agent even fetch first" (llms.txt) through the full contract (openapi.json), zero-code tooling (the two Explorers), the two flagship LLM systems (Research Presets and the Investment Committee), the file that ties it all into ready-made chains (agent-recipes.json), and finally the raw endpoints and composition patterns behind US technical research.

Every guide in this series was written against the real, live code — actual thresholds, actual field names, actual quota numbers, actual bugs that were found and fixed — not simplified or invented for the sake of a tidy narrative. If something here ever stops matching what the live API actually does, that's a documentation bug worth reporting, not an acceptable drift.

Where to go from here: the API & Agent Integration hub is the permanent index for this series — bookmark that, not any single guide, since it's the page that will link to whatever comes next as Finmagine's agent-facing surface keeps growing.

Ready to Analyse Indian Stocks Like a Pro?

Finmagine gives you 30+ computed financial ratios, sector benchmarks, FII/DII flows, the Finmagine Score, and AI-powered analysis — all in one place.

Analyse a Stock → Create Free Account
← API & Agent Integration Hub ← All Feature Guides