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
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 connections
ssh 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 recording
ssh ticktape 'sudo systemctl stop ticktape'How much room the recordings take on the server, and how much is left
ssh ticktape 'python3 ticktape/dhan_tape.py space'See which stocks are on the two lists
ssh 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.