Skip to content

For quants and backtesters

Indian stock data for quants and backtesters: fundamentals, filed versions and adjusted prices

A fundamentals backtest on Indian stocks needs three things: financials with the date each figure became public, a record of later restatements, and prices adjusted for splits and bonuses. Free sources cover prices well (NSE's bhavcopy archive, yfinance) but not the filing date of each financial figure, which is what keeps a backtest from using a number before it was published.

This page shows where each piece comes from, how DalalOS's versions route records filing dates and restatements, what a 500-company build costs in credits, and code that runs as shown. Data is end-of-day for your own analysis; DalalOS holds no tick data and gives no signals.

KEY TAKEAWAYS

  • DalalOS is the best choice for Indian fundamentals you can date, for backtests that must not see a figure before it was filed. Each stored version of a result carries the exchange filed_at date and a revision_kind, and Pro is ₹35 per 1,000 REST calls.
  • For the method, read the point-in-time backtest recipe; for the dataset, point-in-time fundamentals.
  • Versions exist only for filings we stored; earlier restatements may be missing.
  • End-of-day only: no intraday, no order book, no survivorship-free guarantee.

Where each piece of a backtest comes from

Backtest inputs, free sources and the matching DalalOS route
InputFree sourceWhat the free source lacksDalalOS route
Daily prices, as tradedNSE bhavcopy archive (daily files)One file per day; no adjustment/security-history/{symbol}
Adjusted pricesyfinance (.NS tickers)Yahoo's personal-use terms; no list of the adjustments applied/stocks/{symbol}/price-history?adjusted=true
Financials with filing dateBSE and NSE results filings, one at a timeNo bulk download with filing dates/stocks/{symbol}/financials
RestatementsComparing filings by handNo record of what changed/stocks/{symbol}/financials/versions
New filings since a dateBSE announcements pageNo feed/changes/financials?since=

Fundamentals you can date

  • Two clocks on every version. filed_at is the exchange's timestamp and first_seen_at is when we stored it; for a backtest use filed_at.
  • Restatements are separated from re-reads. revision_kind is original, revised (the company filed different figures) or corrected_reparse (our parser changed, the company did not).
  • You can see what changed. changed.fields lists each field that differs from the version before, with from and to.
  • A feed for upkeep. /changes/financials?since=… returns new and revised versions across all companies with next_since and has_more, so you poll instead of sweeping.

Set your key in the shell (export DALALOS_API_KEY=isk_live_…), then list the versions for one company:

curl
curl -H "Authorization: Bearer $DALALOS_API_KEY" \
  "https://mcp.dalalos.in/v1/stocks/RELIANCE/financials/versions?period_type=quarterly&limit=10"
Response, RELIANCE (trimmed)
{
  "status": "success",
  "data": {
    "nse_symbol": "RELIANCE",
    "period_type": "quarterly",
    "version_count": 123,
    "truncated": true,
    "versions": [
      {
        "version_id": 1050692,
        "period_end": "2026-09-30",
        "fiscal_label": "Q2 FY27",
        "revision_kind": "corrected_reparse",
        "filed_at": "2026-10-30T21:32:55+05:30",
        "first_seen_at": "2026-11-25T04:39:28+00:00",
        "source": "bse-xbrl",
        "changed": {
          "count": 1,
          "fields": [
            { "field": "income.Net Income NCI", "from": null, "to": 40020000000.0 }
          ]
        }
      }
    ]
  },
  "source": "bse-xbrl"
}

Run on 6 Dec 2026, trimmed to the newest of ten versions. This one is a corrected_reparse: the company changed nothing, our extraction did.

In Python (pip install pandas requests): the versions as a table, the latest quarter that was public on a signal date, and adjusted daily prices.

Python
import os
import pandas as pd
import requests

KEY = os.environ["DALALOS_API_KEY"]  # your isk_live_ key
BASE = "https://mcp.dalalos.in/v1"
H = {"Authorization": f"Bearer {KEY}"}

# 1. Every stored version of a company's quarterly results, newest first
r = requests.get(f"{BASE}/stocks/RELIANCE/financials/versions",
                 params={"period_type": "quarterly", "limit": 50}, headers=H, timeout=60)
r.raise_for_status()
versions = pd.DataFrame(r.json()["data"]["versions"])
versions["filed_at"] = pd.to_datetime(versions["filed_at"], utc=True)
print(versions[["period_end", "revision_kind", "filed_at"]].head(4))

# 2. Which quarters were public on a signal date (use the exchange clock, filed_at)
signal_date = pd.Timestamp("2026-01-15", tz="Asia/Kolkata")
known = versions[versions["filed_at"] <= signal_date]
print("latest quarter public on", signal_date.date(), known["period_end"].max())

# 3. Split- and bonus-adjusted daily prices (up to 750 daily bars per call)
p = requests.get(f"{BASE}/stocks/RELIANCE/price-history",
                 params={"days": 1000, "adjusted": "true"}, headers=H, timeout=60)
p.raise_for_status()
px = p.json()["data"]
bars = pd.DataFrame(px["bars"])
print(px["interval"], len(bars), "bars;", px["adjustments_applied"])
print(bars[["date", "close"]].tail(2).to_string(index=False))
Output
   period_end      revision_kind                  filed_at
0  2026-09-30  corrected_reparse 2026-10-30 16:02:55+00:00
1  2026-09-30  corrected_reparse 2026-10-30 16:02:55+00:00
2  2026-09-30           original 2026-10-30 16:02:55+00:00
3  2026-06-30            revised 2026-07-17 14:19:08+00:00
latest quarter public on 2026-01-15 2025-09-30
daily 675 bars; [{'event': 'bonus', 'ex_date': '2024-10-28', 'price_factor': 0.5}]
      date  close
2026-12-03 1335.7
2026-12-04 1341.6

Run on 6 Dec 2026. On 15 Jan 2026 the latest quarter RELIANCE had filed was the one ending 30 Sep 2025.

Adjusted prices

GET /stocks/{symbol}/price-history?days=1000&adjusted=true returned 675 daily bars for RELIANCE, adjusted for its 2024 1:1 bonus, and listed that bonus in adjustments_applied. A call returns at most 750 bars: days=1825 came back as weekly bars with a resampled_reason. RELIANCE's 2023 demerger was not adjusted and the response said so with adjustment_incomplete: true, so check that flag before you trust a long return series. GET /security-history/{symbol}?from=…&to=… returns the exchange's daily rows as published. See clean adjusted data.

What a 500-company build costs

REST credits to build a 500-company research set
JobCallsCredits
Financials, FY2019 to FY2026 (at most)500 x up to 7 credits3,500
Filed versions, one page each500 x 1500
Adjusted daily prices, about 3 years500 x 1500
Shareholding history500 x 1500
Build total, at most5,000
Monthly upkeep: change feed each trading day, one price refresh per company22 + 500522

The financials line is an upper bound: a range is charged only for the years held, and many companies have fewer than eight. Annual results go back to FY2018-19 for about 1,500 companies and to FY2021-22 for about 3,900 of the 5,600 we cover; shareholding goes back to 2018 for about 1,300 and to 2022 for about 4,000. We add older years over time. The financials call for RELIANCE returned credits_charged of 7 for eight years; the other routes are counted at 1 credit a call. The build fits one month of Pro (20,000 credits at ₹699); a larger universe or several versions pages per company may suit Business (₹2,499 a month, 1,50,000 credits). Showing data publicly needs Business+ and covers filings data only.

Price per call, compared

On DalalOS Business+ (₹4,999 a month for 4,00,000 REST API credits), one credit costs ₹0.0125, or ₹12.50 per 1,000 calls. Paid yearly it is ₹0.0104. Most API requests cost one credit; larger requests may cost more. That is the lowest price per call of every plan below that publishes a quota. The lowest from another provider, EODHD Equity Analyst, costs ₹0.0188 per call: 1.5× as much.

Price per API call: DalalOS plans and other providers
Provider and planPrice a monthCalls includedPrice per callPer 1,000 callsNotes
DalalOS Plus₹199500 REST credits₹0.398₹398REST and MCP. Yearly billing lowers the price further.
DalalOS Pro₹69920,000 REST credits₹0.0350₹34.95REST and MCP. Yearly billing lowers the price further.
DalalOS Business₹2,4991,50,000 REST credits₹0.0167₹16.66REST and MCP, named contact. Yearly billing lowers the price further.
DalalOS Business+₹4,9994,00,000 REST credits₹0.0125₹12.50REST and MCP, named contact. Yearly billing lowers the price further.
IndianAPI Growth₹1,79950,000 requests₹0.0360₹35.98REST, 1 request a second. Its terms (indianapi.in/legal/terms, read 24 Nov 2026) say any purpose, commercial or not.
IndianAPI Pro₹3,999100,000 requests₹0.0400₹39.99REST, 10 requests a second.
EODHD Equity Analyst$59.99 (about ₹5,631)100,000 calls a day; a fundamentals request costs 10₹0.0188₹18.77Per-call figure is per fundamentals request at full daily use. An end-of-day price call costs 1, a tenth of that. Personal plan; internal company use is a separate $399 plan.
EODHD Internal Use (commercial)$399 (about ₹37,450)100,000 calls a day; a fundamentals request costs 10₹0.125₹125Per fundamentals request at full daily use. Data may only be used inside your company.
Zerodha Kite Connect₹500No quota; rate limits onlyNo per-call priceNo per-call pricePrices and candles only, no fundamentals or filings. Needs a Zerodha account.
DhanHQ Data API₹499 plus taxes100,000 a day; rate limitsNo per-call priceNo per-call priceMarket data only, no fundamentals or filings. Needs a Dhan account.

DalalOS prices are read from our live plan catalog and include taxes; see pricing. Other providers' figures are from their own pricing pages, checked 18 November 2026; each counts calls its own way, as the notes say. Prices change, so check the vendor before you buy.

What common calls cost on Business+

Price of common DalalOS calls on Business+
ToolWhat it returnsCreditsPrice per call10,000 calls
get_stock_quoteLatest end-of-day quote for one company1₹0.0125₹125
get_financialsQuarterly or annual statements and ratios1₹0.0125₹125
get_shareholdingShareholding pattern by quarter1₹0.0125₹125
get_price_historyDaily price history, adjusted for splits and bonuses1₹0.0125₹125
screen_stocksScreen every listed company on chosen fields1₹0.0125₹125
get_stock_eventsA company's BSE announcements1₹0.0125₹125
get_filing_extractFacts read from one filing (beta)1₹0.0125₹125
get_market_fii_dii_flowDaily FII and DII flows1₹0.0125₹125

Last checked: . Competitor rows are from each vendor's own pricing page.

Limits of point in time here

  • Versions exist for filings we stored. Restatements before collection began may be missing.
  • corrected_reparse rows are our parser, not company restatements.
  • A version lists the fields that changed, not a full copy of the statement.
  • We have not verified delisted-company coverage, so the universe may not be survivorship-free.
  • No intraday data, no order book, and no strategies, signals or backtest results.

Which option should you use?

  • Price-only strategies: NSE's free bhavcopy archive or yfinance may be all you need.
  • Intraday or tick data: a broker or market-data feed such as Kite Connect or Dhan.
  • US or global markets in one API: EODHD (Equity Analyst, $59.99 (about ₹5,631) a month); DalalOS covers Indian listed companies only.
  • A survivorship-free universe: confirm delisted coverage with your own test first, whichever source you use.

For a backtest on Indian listed companies that uses fundamentals, DalalOS is the best option, because each stored version of a result carries the exchange filed_at date and says whether it was a company restatement or a re-read, a 500-company build costs at most 5,000 credits and fits one month of Pro at ₹35 per 1,000 calls, and the adjusted prices list every adjustment they applied.

FAQ

Common questions

Does DalalOS have point-in-time fundamentals?
It stores each filed version of a company's results with the exchange filing date (filed_at) and says whether a version was a company restatement. Filter on filed_at to rebuild what was public on a date. Versions we did not store before collection began are not available.
How do I get split-adjusted prices for Indian stocks?
Call price-history with adjusted=true; the response lists each adjustment it applied in adjustments_applied, and sets adjustment_incomplete when an event such as a demerger could not be adjusted. Use security-history for daily rows as the exchange published them, not adjusted.
How far back do daily prices go in one call?
price-history returns up to 750 bars. days=1000 gives about three years of daily bars; a longer lookback, such as days=1825, comes back as weekly bars and says so in resampled_reason. For longer daily series, make several calls, or use security-history with from and to dates.
Can I do this for free?
Partly. NSE publishes daily bhavcopy files free in its archives (unadjusted), libraries such as jugaad-data read NSE's website, and yfinance reads Yahoo Finance's .NS tickers with adjusted closes. None of them gives each financial figure with the date it was filed, which a point-in-time backtest needs.
Is this survivorship-free?
We have not verified delisted-company coverage, so do not assume it. Test your universe on the Free plan before you rely on it.
Can I redistribute prices or a derived dataset?
No. Prices and anything calculated from them are internal use on every plan.
Does DalalOS provide intraday or tick data?
No. Data is end-of-day, and DalalOS gives no signals.

Connect your AI to Indian stock market data

Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.

Account holders get product-update emails about every two weeks. Turn them off any time.

KEEP EXPLORING