Skip to content
Skip to Content
DalalOSdocs

GET /index-events/study

How stocks traded around index changes

Cache-only, read-only event study: with query and index, one company's latest matching event; with index alone, a group with statistics once 5 or more events are analysed.

In plain words: How stocks traded in the days around joining or leaving an index.

Try it

To test this route you need an API key on a plan that includes the REST API. Create one on the keys page of your dashboard, paste it into the Authorization field of the reference on this page and press Send. Your key stays in this browser tab.

How stocks traded around index changes
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/index-events/study?index=NIFTY+50&change_type=add&limit=20"
{
  "status": "success",
  "data": {
    "filters": {
      "index_id": "nse:nifty_50",
      "change_type": "add",
      "include_flagged": true
    },
    "index": {
      "index_id": "nse:nifty_50",
      "display_name": "NIFTY 50",
      "provider": "nse",
      "history_start": "2021-07-01"
    },
    "latest_trading_date": "2026-11-27",
    "counts": {
      "events_found": 15,
      "analysed": 11,
      "pending": 0,
      "not_analysed": 4,
      "excluded_as_flagged": 0
    },
    "not_analysed_reasons": {
      "no_trading_before_event": {
        "count": 4,
        "meaning": "the security's NSE listing date is on or after the effective date, so no NSE price exists before it"
      }
    },
    "statistics": {
      "after_20.benchmark_return_pct": {
        "n": 11,
        "n_incomplete_excluded": 0,
        "n_missing": 0,
        "n_pending": 0,
        "median": 2.91,
        "p25": -0.74,
        "…": "4 more keys"
      },
      "after_20.excess_return_pp": {
        "n": 11,
        "n_incomplete_excluded": 0,
        "n_missing": 0,
        "n_pending": 0,
        "median": 0.8,
        "p25": -1.58,
        "…": "4 more keys"
      },
      "after_20.stock_return_pct": {
        "n": 11,
        "n_incomplete_excluded": 0,
        "n_missing": 0,
        "n_pending": 0,
        "median": 4.44,
        "p25": -3.51,
        "…": "4 more keys"
      },
      "after_60.benchmark_return_pct": {
        "n": 10,
        "n_incomplete_excluded": 1,
        "n_missing": 0,
        "n_pending": 0,
        "median": 4.58,
        "p25": -5.58,
        "…": "4 more keys"
      },
      "after_60.excess_return_pp": {
        "n": 10,
        "n_incomplete_excluded": 1,
        "n_missing": 0,
        "n_pending": 0,
        "median": 4.1,
        "p25": -6.33,
        "…": "4 more keys"
      },
      "after_60.stock_return_pct": {
        "n": 10,
        "n_incomplete_excluded": 1,
        "n_missing": 0,
        "n_pending": 0,
        "median": 4.35,
        "p25": -8.22,
        "…": "4 more keys"
      },
      "…": "22 more keys"
    },
    "small_sample": true,
    "events": [
      {
        "event_id": 19308,
        "company": {
          "isin": "INE118H01025",
          "nse_symbol": "BSE",
          "name": "BSE Limited",
          "printed_name": "BSE Ltd.",
          "resolved": true
        },
        "announced_date": "2026-08-10",
        "effective_date": "2026-09-30",
        "reaction_session": "2026-08-10",
        "effective_session": "2026-09-29",
        "pending": false,
        "figures_source": "stored",
        "flagged": true,
        "flags": [
          "bulk_block_deal_nearby",
          "price_band_hit_nearby",
          "other_index_event_nearby"
        ],
        "windows": {
          "run_up": {
            "stock_return_pct": -9.3,
            "excess_return_pp": -10.86,
            "complete": true
          },
          "reaction": {
            "stock_return_pct": 4.02,
            "excess_return_pp": 3.89,
            "complete": true
          },
          "announce_to_effective": {
            "stock_return_pct": -7.44,
            "excess_return_pp": -0.64,
            "complete": true
          },
          "effective_day": {
            "stock_return_pct": 3.31,
            "excess_return_pp": 3.9,
            "complete": true
          },
          "after_20": {
            "stock_return_pct": 9.44,
            "excess_return_pp": 10.16,
            "complete": true
          },
          "after_60": {
            "stock_return_pct": 24.7,
            "excess_return_pp": 15.72,
            "complete": false
          }
        }
      }
    ],
    "not_analysed_events": [
      {
        "event_id": 16859,
        "company": {
          "isin": "INE2KCE01013",
          "nse_symbol": "KWIL",
          "name": "Kwality Wall's (India) Limited",
          "printed_name": "Kwality Wall's (India) Ltd.",
          "resolved": true
        },
        "effective_date": "2025-12-05",
        "reason": "no_trading_before_event",
        "reason_text": "the security's NSE listing date is on or after the effective date, so no NSE price exists before it"
      }
    ],
    "data_through": "2026-11-26",
    "benchmark": "Nifty 500",
    "definitions": {
      "reaction_day": "A: the first session in which the market could trade on the announcement. An announcement after the Indian close counts from the next session.",
      "effective_session": "E: the last session before the change applies, the session in which funds tracking the index trade.",
      "windows": {
        "run_up": "A-20 to A-1",
        "reaction": "A",
        "announce_to_effective": "A to E",
        "effective_day": "E",
        "after_20": "E+1 to E+20",
        "after_60": "E+1 to E+60",
        "announce_to_latest": "A to the latest session held; present only while E is ahead"
      },
      "baseline": "Median daily volume, traded value and delivery over A-80 to A-21 (E-80 to E-21 when there is no A).",
      "returns": "Price returns without dividends. The stock return compounds each day's close over previous close, so splits and bonuses do not break it. excess_return_pp is …",
      "incomplete_window": "A window that runs past the data or lacks a stock bar on some session has complete=false and covers only the sessions that exist; group statistics leave it out.",
      "…": "3 more keys"
    },
    "notes": [
      "statistics give, for each figure, the count, median, 25th and 75th percentile, minimum, maximum and the share of events above zero (a fraction); figures from…"
    ]
  },
  "cached_at": "2026-11-26T20:10:31+00:00",
  "source": "indian-stock-mcp-index-events",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 71121.445,
  "as_of": "2026-11-26"
}

Saved answer. Run on 2026-11-27, answered 200. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.

A call can also answer 402, 403, 409 or 429 when a plan's limit is reached; those are described on Plans, credits and errors.

Parameters and response

GET
/index-events/study

Authorization

bearerAuth
headerAuthorizationBearer <token>

DalalOS API key (isk_live_...) as a Bearer token. Create one in the DalalOS dashboard.

Query Parameters

index*string

Index id, display name or provider name.

query?string

One company: NSE symbol, ISIN or BSE code.

change_type?string

Change type (default add).

Default"add"
from?string

Optional ISO date (YYYY-MM-DD) on the effective date.

to?string

Optional ISO date (YYYY-MM-DD) on the effective date.

benchmark?string

NSE index name used as benchmark (default Nifty 500).

include_flagged?boolean

Include events with overlap flags.

Defaulttrue
limit?integer

Max event rows (1..200).

Default50

Response Body

Success (or success-with-empty when nothing is cached).

application/json
  1. response

Standard DalalOS response envelope. source is a per-tool provenance tag; stale/data_age_seconds describe cache freshness.

as_of?string

ISO date (YYYY-MM-DD) the data refers to: the trade date of the newest row, or the end date of the newest period. Present only on tools that state one; cached_at is the fetch time.

Formatdate
cached_at?string

ISO timestamp the served data was refreshed.

data?unknown

Tool payload (object or array); null on error.

data_age_seconds?number

Present only when cached_at is set.

error?string
reason_code?string

Stable machine-readable category (no_data, not_found, bad_request,...).

resolved_via?string

Present only when a query resolved via a rename/merger alias (rename, merger, demerger_successor; single-company result) or, on /v1/search, an everyday name (common_name: the company it means is the first row and carries the same resolved_via on the row; ordinary matches follow).

source?string
stale*boolean
status*string
Value in"success""error"

What comes back

The top-level fields of data in the saved answer, run on 2026-11-27. The fields can differ for another company or window.

Fields of data
FieldType
filtersobject
indexobject
latest_trading_datestring
countsobject
not_analysed_reasonsobject
statisticsobject
small_sampleboolean
eventslist
not_analysed_eventslist
data_throughstring
benchmarkstring
definitionsobject
noteslist

Where the inputs come from

Errors

Errors specific to this route
StatusMeaning on this route
404Answers not_found while index events are not enabled.

The errors every route can return (401, 402, 403, 429 and the rest) are on Plans, credits and errors.

In MCP

The MCP tool get_index_event_study reads the same data, for an AI assistant that connects over MCP, the Model Context Protocol, instead of REST.

Notes

  • Returns before, around and after the dates, not a statement about what moved a price.

Research data only. Answers are disclosed facts and mechanically computed figures. They are not investment advice.

KEEP EXPLORING