Articles on: Connecting Brokers

AngelOne

AngelOne:

Token generation using ‘New Login’ using purchased ‘Static IP’ from Tradetron:

 

  1.       Go to Tradetron Broker and Exchanges page, and put Dummy credentials and save. (Only for timebeing).
  2.       Buy Static IP from Broker and Exchanges page.

 


 

 


 

 

 

 

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



 

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

 



 

  1.       Login to SmartApi


 

  1. Click on ‘Add App’:




 

  1. 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.

 



 

  1.   Now the API Key will be generated:



 

  1. 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.

 


 

  1. 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:


  1. Make sure user has logged out of Angel Broking Mobile App at the time of generating token.
  2. Make sure user has logged out of Angel Broking Website at the time of generating token.
  3. Login to Tradetron in incognito window of chrome browser.
  4. In broker and exchanges page, clear the token, totp and refresh token section.
  5. Put fresh totp and save.
  6. Again edit and put fresh new totp (2nd time). and save.
  7. And then generate token
  8. Make fresh deployment and check.


Updated on: 15/05/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!