Coder Social home page Coder Social logo

meroshare_automation's Introduction

MeroShare IPO Automation

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.

Features

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

Setup

Running Locally

Prerequisites

  • Node.js
  • Cypress

Installation

  1. Clone the repository:

    git clone https://github.com/rajeet/meroshare_automation
  2. Install dependencies:

    npm install
  3. 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` = 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  
    
  4. You can run the Cypress automation locally to test or make adjustments:

npm run cypress:open
npm run cypress:run

Run using github action

Configuration

  1. Set up GitHub Secrets for:
    • 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 = 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

Automation in Action

Demo

meroshare_automation's People

Contributors

rajeet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.