Tick tape: token

Paste the Dhan token you generated on web.dhan.co. It goes straight to your server and nowhere else.  Open the charts, downloads and stock list

A token made after 15:36 today covers the whole of the next trading day. One made on Friday expires on Saturday, so make Monday's on Sunday or on Monday before 08:50.

Nothing sent yet.
Commands for the Terminal on your Mac

Each works from any folder. Click a command to copy it, paste it into Terminal and press Enter.

Change the passphrase (it is the same one for this page and for the charts)ssh -t ticktape 'python3 ticktape/dhan_tape.py webpass'
Test the token, the two lists and both connectionsssh ticktape 'python3 ticktape/dhan_tape.py check'
How today's recording is going (the same as "Show status")ssh ticktape 'python3 ticktape/dhan_tape.py status'
Start recording now (it stops by itself at 15:36)ssh ticktape 'sudo systemctl start ticktape'
Stop recordingssh ticktape 'sudo systemctl stop ticktape'
How much room the recordings take on the server, and how much is leftssh ticktape 'python3 ticktape/dhan_tape.py space'
See which stocks are on the two listsssh ticktape 'cat ticktape/stocks.txt ticktape/orderbook.txt'
Delete one recorded day from the server. Change the date after pasting. As written it only shows what would go; to really delete, add --yes after the date.ssh ticktape 'python3 ticktape/dhan_tape.py forget 2026-10-08'

Recording starts by itself at 08:50 Indian time, Monday to Friday, and retries every two minutes until a good token is here.