[2026-09-18 08:01:09] mStock Configuration Manager started.

🔧 mStock (Mirae Asset) API Configuration Manager

Configure your mStock Type B API credentials for trading scripts.

📚 Documentation: mStock User API

⚠️ Configuration Required

Enter your API Key (from trade.mstock.com) and login with clientcode + password, or paste JWT token manually.

🔐 Login Flow (OTP or TOTP)

Enable TOTP (authenticator app) instead of OTP

📝 Manual Save (paste JWT token)

📋 Login Steps

  1. Generate API Key from trade.mstock.com (Products → Trading APIs)
  2. Login with clientcode + password above → OTP sent to your mobile/email
  3. Enter OTP (or TOTP if enabled) to get session token
  4. Alternatively, paste JWT token manually if you have it from another source
[2026-09-18 08:01:09] mStock Configuration Manager finished.