@sugagenius Cheers to your persistence. :) Once done with all modifications, please make sure to send a pull request to the github repo so other algo traders can also be benefited.
@meenavenkit This is an intermittent issue. You can try "Logout from all devices" from the website and can try again. Try with mobile internet on local machine that has new IP everytime to verify if it's an IP related issue.
@kvineeth Having a trading account itself puts you in a SLA. This could be an intermittent issue. Error AB1004, clearly suggest "Internal Server Error" as mentioned in the docs here https://smartapi.angelbroking.com/docs/Exceptions.