Kotak
Add and validate your Kotak account in QUANT LEVELS.
Step 1 - Get your NEO Access Token
- Open the NEO app or web → More → Trade API → API Dashboard.
- Click Create Application and copy the token shown - this is your NEO Access Token.
Step 2 - Register TOTP
- On the same API Dashboard, click TOTP Registration (top right).
- Scan the QR code with Google Authenticator or Microsoft Authenticator.
- Enter the 6-digit code shown and confirm "TOTP successfully registered".
Step 3 - Add the account
- Go to Accounts → Add New Account.
- Select Broker as Kotak.
- Enter your UCC (Client Code, from NEO's Profile section), your 6-digit MPIN (same one you use in the NEO app), the TOTP Secret Key from Step 2, your registered Mobile Number (with +91), and the NEO Access Token from Step 1.
- Save, then whitelist this account's assigned Proxy IP under NEO → Trade API → API Dashboard → Add IP.
Common Issues
Orders fail with "unauthorized" (stCode 100008)
The account's proxy IP isn't whitelisted on the NEO API Dashboard yet, or the session was created from a different IP than the one placing the order. Whitelist the correct IP and re-login.
Orders fail with "session ip doesnt match with reqest ip" (stCode 1037)
The IP is whitelisted, but this account's session was created from a different IP (e.g. the proxy was changed after login). Log in again from the whitelisted IP.
Can I change the whitelisted IP?
Yes, but only once every 7 days, and a new session must be created afterward. Never change an in-use account's proxy without whitelisting the new IP first.
Copy trading on Kotak
Kotak has no postback for manually-placed trades, so master detection uses a live streaming connection ("Order & Position Streaming") we maintain per master account, same architecture as Finvasia and a few other brokers here.
FAQ
Are market orders allowed?
Kotak recommends limit orders for algo trading per SEBI's retail-algo circular - a market order you send is automatically re-priced to a protected limit near LTP by Kotak's own system.
Do I need to send an Algo ID?
No - Kotak Neo APIs append the required exchange Algo ID automatically.