Raw state.json
| Time | Level | Message |
|---|
| Time | Event | Side | Summary |
|---|
Algo control
Update Dhan token & restart
Paste a fresh access token from Dhan's site and Save โ this writes the token into
.env and stops + restarts the algo automatically. Leave it blank to just
restart with whatever's already saved. You're already unlocked for this browser session,
so no password needed here.
Algo start time
Overwrites MARKET_OPEN_TIME in .env โ the whole-tick gate the algo
won't do anything before. Decide this at the same time you're pasting today's token: if the
market looks unusually volatile at open, push this later than your usual start time. Leave
blank to keep whatever's already saved.
Sandbox mode only โ directly edit a tracked position's status/fill price, or inject a fake
current LTP that the risk-management checks will use instead of real market data, so you can
drive profit-target/stop-loss/iron-condor scenarios on demand instead of waiting for real
price movement. This is blocked server-side whenever MODE=live, regardless of
what this page shows.