server.js has
been edited since. Anything served from it — recorded book marks, the
heatmap, saved data — is behaving the way it did then. Restart it to
pick the changes up.
Level 3 — live
Book — aggregated from orders
Where this terminal gets its market data.
At web.dhan.co → profile icon → Access DhanHQ APIs, switch the toggle to API Key mode and generate a key. It asks for a Redirect URL, which Dhan fixes when the key is made and never lets you change — so tell the app which one your key uses, and it will meet the login there.
Making a fresh key? Use
http://localhost:8420/auth/dhan/app-callback
— then the login comes straight back with no second port involved.
Funds, positions, holdings and today's books are
REST snapshots from api.dhan.co/v2, read through this app's own
server when you open this row — no socket, and none of the five is spent on
them. They are pulled, not pushed, so they are as fresh as the last Refresh.
Open this row to read the account.
There are two ways in, and you need one of them. Option 1 is the
everyday one: an API key generated once at web.dhan.co and saved inside that row — valid
12 months — and after that a login is one click, with tomorrow's token already on disk when
the browser comes back. Option 2 is a token pasted by hand, which Dhan expires after
24 hours, so it is the fallback for when there is no key rather than the routine.
Both live in credentials.json on this machine. The secret never comes
back to the browser, which is why its box stays empty even when one is saved.
Sign out on the card above clears the 24-hour token and keeps the 12-month key, so
one click reconnects. Remove clears both. Neither touches anything recorded under
data/.
The last 30, newest first. An alarm shows for 5 seconds on screen and then lands here — so one that fired while you were reading the chart is not lost.
Theme
Density
Moves the type scale everywhere at once — panels, tables, and the labels drawn on the charts, which read the same scale. Control heights follow it, so the spacing stays on the same grid at either setting.
Shown in the circle at the top right. You pick the square to use, and can turn the photo, before it is saved.
Shown at the top of the account menu — and it is also the username you log in with, so changing it changes what you type at the login screen. Your password is not affected.
Once one is added, signing in with Google is followed by Face ID (or the device PIN) on every
new login. Add a second device as a spare: if you lose the only one, the way back in is to delete
passkeys.json on the server.
Recordings
Your recordings live in data/depth/ (order book) and data/trades/ (executed trades, new as of today) next to the app, and are never deleted from here — delete those files yourself if you ever need the space.
Troubleshooting
Version —