AngelOne
AngelOne:
Token generation using ‘New Login’ using purchased ‘Static IP’ from Tradetron:
- Go to Tradetron Broker and Exchanges page, and put Dummy credentials and save. (Only for timebeing).
- Buy Static IP from Broker and Exchanges page.

- After buying Static IP will look like this on broker and exchanges page:

- Go to https://smartapi.angelbroking.com/
- Select “New Login” and login to SmartAPI

- Login to SmartApi

- Click on ‘Add App’:

- While creating app:
a) Use ‘Tradetron’ as App Name
b) Use Redirect URL and Post back URL as provided in configuration document (https://tradetron.tech/html-view/Configure-AngelOne )
c) In Primary Static IP, please put the purchased Static IP from broker and exchange page in Tradetron.
d) Keep Secondary Static IP (Optional) as blank.

- Now the API Key will be generated:

- Fill the details in Broker and Exchanges page:
a) Angel User ID
b) Angel MPIN in Password field
c) API key form newly created API App from SmartAPI portal.
d) TOTP form Google Authenticator.

- Kindly save and generate the token.

How to avoid this error messege when placing orders.
angel order placement failed: {"success":false,"message":"Access denied: Unregistered IP address. Register your IP before retrying.","errorCode":"AG7002","data":""}
Steps to follow to generate token if you are facing above error messege:
- Make sure user has logged out of Angel Broking Mobile App at the time of generating token.
- Make sure user has logged out of Angel Broking Website at the time of generating token.
- Login to Tradetron in incognito window of chrome browser.
- In broker and exchanges page, clear the token, totp and refresh token section.
- Put fresh totp and save.
- Again edit and put fresh new totp (2nd time). and save.
- And then generate token
- Make fresh deployment and check.
Updated on: 15/05/2026
Thank you!
