Your trading dashboard

Active rules are enforcing your discipline on Dhan.

🎯
Free Trial Active
Full access · ₹999/month after trial
0 days left
Active Rules
0
configured
Phone Status
Verified
Dhan
Not connected
Connect Mode
Not set
Your Trading Rules
Edit Rules

Connect your Dhan account so TradingRuleBook can monitor trades and enforce your rules automatically.

⚡ RECOMMENDED
🔐
One-Time Connect
Authorize once via Dhan OAuth. Your access token is stored securely — no need to reconnect every day.
No daily login required
STANDARD
🔄
Daily Connect
Reconnect each evening between 4 PM – 9 AM before the next trading session. Token refreshes daily.
Reconnect every evening
🕐
Connection window closed
Daily connections are only allowed between 4:00 PM – 9:00 AM IST.
One-Time connect is available anytime. Or come back after 4:00 PM IST.
🖥️
Do this on your Desktop or Laptop browser only
The Dhan token generation page is not available on mobile. Open web.dhan.co on your computer, then come back here to paste the token.
🔐 Get your Dhan Access Token
1
Log in to Dhan on your computer
Open web.dhan.co ↗ in your desktop or laptop browser and sign in to your Dhan account.
web.dhan.co
A
Good Afternoon, ATT
Logged in to Dhan
● Markets Closed
2
Go to My Profile → Get Trading & Data APIs
Click the green circle (your profile avatar) in the top-right corner. A menu will appear — click "Get Trading & Data APIs".
web.dhan.co — Profile Menu
3
Generate a new Access Token
On the DhanHQ API page, click "+ Generate new Access Token". Enter Application Name as tradingrulebook.in and set Token validity to 24 Hours. Click "Generate Access Token".
web.dhan.co — DhanHQ APIs
+ Generate new Access Token
Application Name *
tradingrulebook.in
Token validity *
24 Hours
Generate Access Token
4
Copy the generated token
A long token starting with eyJ0e... will appear. Click the copy icon next to it, then paste it below.
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ... 📋 Copy this
Paste your Access Token here from step 4 above
Paste the full token — it's a long string starting with eyJ
🕐 Daily connect only opens 4:00 PM – 9:00 AM IST.
Use One-Time Connect instead — no time restriction.