[2026-07-21 00:59:08] Dhan Configuration Manager started.

🔧 Dhan API Configuration Manager

Configure your Dhan API credentials for all trading scripts.

✅ Current Configuration

Client ID: 1103136720

Access Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJka...

Configuration file: dhan_config.txt

📝 Update Configuration

📋 How to Get Your Access Token

  1. Automated: Run dhan_login.php with PIN + API TOTP (web.dhan.co → DhanHQ Trading APIs → Setup TOTP)
  2. Manual: Generate from web.dhan.co → Profile → Access DhanHQ APIs → Access Token (24h)
  3. Paste the token above and save

🔗 Affected Scripts

📁 Configuration File

accessToken = your_access_token_here
clientId = 1103136720
[2026-07-21 00:59:08] Dhan Configuration Manager finished.