Summary
A Python application designed to completely automate the process of applying for IPOs (Initial Public Offerings) on Nepal’s Meroshare platform. This script eliminates the need for manual intervention by automatically logging in, identifying available offerings, and submitting applications.
Problem
The process of applying for IPOs through the Meroshare portal is manual and repetitive. Users must log in frequently to check for new offerings and fill out the same application details each time. This can lead to missed opportunities if not checked regularly.
Solution & Key Features
This project provides a robust solution by automating every step of the application process.
- Automated Login: The script uses Selenium to securely handle the login process, managing user credentials safely via a
.envfile. - IPO Detection: It intelligently scans the Meroshare dashboard after login to identify any new IPOs that are currently open for application.
- Automatic Application: Once an IPO is found, the script proceeds to automatically fill in the application form with the user’s details (CRN, PIN) and submits it.
- Command-Line Interface: Users can run the script with flags like
--check-onlyto see available IPOs without applying, or--apply-allto execute the full application process. - System Integration: The project includes clear instructions and helper scripts for setting it up as an automated task on Linux, allowing it to run on system startup to ensure no investment opportunity is missed.
Technology Stack
- Core Language: Python
- Web Automation & Scraping: Selenium, BeautifulSoup4
- Configuration:
python-dotenvfor managing environment variables. - CLI:
argparsefor creating a user-friendly command-line interface. - Development & Testing: The project is built with professional coding standards, utilizing
pytestfor testing,blackfor formatting, andflake8for linting.