Historical Data
Market Intelligence & Signal Engine
PHASE 5 · STREAM READY
Loading date… --:--:-- IST
MARKET: CHECKING
FEED: POLLING

Historical Data

Manage the Dhan NSE cash-equity 1-minute historical backfill.

Provider
Dhan
NSE_EQ · EQUITY · 1 minute
Target History
Loading…
Backfill floor → latest completed NSE day
Stored Backfill Coverage
Loading…
Completed cycles only
Scheduler
Loading…
Existing MISE runner

Backfill Plan

MISE works backward in NSE trading sessions and never requests weekends or exchange holidays.

Checking gate…
Cycle size
— NSE trading days
Dhan request window
Maximum — calendar days
Active stock universe
— securities
Mapping status
—
Processing window
— IST
Daily safety budget
— requests

What happens when you press “Fetch Historical Data”?
  1. The browser asks MISE to make the already-approved backfill job due.
  2. The existing mise-runner.php claims the job.
  3. The durable worker creates/resumes its cycle and checkpoints.
  4. Dhan data is downloaded server-side and written transactionally.
  5. Progress survives page refreshes, cron restarts and retried requests.

Latest Cycle

Loading…

Download Progress

This is live operational status from MISE. It tells you whether the request is waiting, talking to Dhan, saving candles, retrying, or finished.

IDLE
Waiting for a backfill run 0%
Current activity
—
Dhan communication
No request yet
Current security
—
Current request window
—
Requests completed
0 / 0
Candles received
0
Candles stored
0
Database: current window
0
After you press Fetch, this area will explain each stage automatically.

What MISE is doing

1 Queue the approved backfill job.
2 Runner starts the durable cycle.
3 MISE requests data from Dhan.
4 Valid candles are stored safely.
5 Cycle completes and coverage is updated.

Dhan Historical API Limits

MISE intentionally stays below the provider limit and uses smaller controlled batches.

  • Supported intraday intervals: 1, 5, 15, 25 and 60 minutes.
  • MISE currently uses the 1-minute interval.
  • One API request is limited to a maximum 90-calendar-day window.
  • MISE stores the returned candles locally for analysis.

Safety Rules

  • No direct browser-to-Dhan request.
  • No Dhan access token is exposed to JavaScript.
  • The frontend cannot enable a disabled production backfill job.
  • NSE calendar is authoritative for trading-day boundaries.
  • Candle-level completeness remains subject to the reconciliation audit.