This project automates the process of applying for Initial Public Offerings (IPOs) of stocks on the MeroShare web application using Cypress, a powerful automation framework. The automation is configured to run daily through GitHub Actions, checking for new IPOs and applying automatically if any are available.
- Automated IPO Application: Uses Cypress to automate the process of applying for IPOs on MeroShare.
- Scheduled Execution: Configured with GitHub Actions to run daily and check for new IPOs, applying if any are found.
- Secure Secrets Handling: Utilizes GitHub Secrets to securely store sensitive information like login credentials.
- Node.js
- Cypress
-
Clone the repository:
git clone https://github.com/rajeet/meroshare_automation
-
Install dependencies:
npm install
-
Setup Environment variable
Create .env file - `USER_NAME` = your MeroShare Username - `PASSWORD` = Your MeroShare Password - `DP` = Your Depository Participants (DP) Name - `TRANSACTION_PIN` = Your Transaction PIN - `CRN` = Your CRN Number - `MAX_IPO_PRICE` = Maximum IPO Price. (If IPO price is more than this price then the IPO wont be applied.) - `BANK_NAME` = Your Bank Name (You can leave this empty if the bank name is empty) - `KITTA` = Minimum kitta to apply
-
You can run the Cypress automation locally to test or make adjustments:
npm run cypress:open
npm run cypress:run
- Set up GitHub Secrets for:
USER_NAME
= your MeroShare UsernamePASSWORD
= Your MeroShare PasswordDP
= Your Depository Participants (DP) NameTRANSACTION_PIN
= Your Transaction PINCRN
= Your CRN NumberMAX_IPO_PRICE
= Minimum IPO Price. (If IPO price is more than this price then the IPO wont be applied.)BANK_NAME
= Your Bank Name (You can leave this empty if the bank name is empty)KITTA
= Minimum kitta to apply