Skip to content

A django backend run application that gives a day-to-day tracker of BSE data equities'performance for that day. Uses Vuejs for front end, Redis as database, Celery to perform automated task of fetching latest BSE data at 6pm.

Notifications You must be signed in to change notification settings

pranav1601/bhavcopy-equities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bhavcopy Equities

Everyday BSE releases data of the performance of all equities of that day over here.
This web application helps to view the performance of all the equities on that day by showing:

  • equity code
  • open
  • close
  • high
  • low

features of the equity in a consolidated view.
The application allows you to search for certain equities and download them in the form of a CSV file for personal usage.

The technology stack used is:

  • Django

    • Django is used to serve up the application and providing a framework for database and frontend to interact with each other.
  • Vue

    • Vue is used in the frontend of the application.
  • Redis

    • Redis is used as the database in this application. All data regarding the equities are stored and fetched from redis.
  • Celery

    • Celery is used for periodically running the task of downloading the Bhavcopy of the current day equity statistics at 6pm.

Application setup

After setting up the application via running the below steps, please wait till 6pm for the database to be populated. This is only a one time thing so don't worry! ;)

Ensure you have git installed.
Open your terminal(Linux/Mac) or command window(Windows).

Run command -> git clone https://github.com/pranav1601/bhavcopy-equities.git
Run command -> cd bhavcopy-equities

This application requires your system to have pip installed on your system. You can head over here to install pip. There are 2 ways to setup the application further.

Using Docker

This method requires your system to have Docker Engine and Docker Compose to be installed. Head over here and here for their installation respectively.

Run command -> docker-compose up --build
If facing permission error please add sudo before the above command

The application will be served on http://0.0.0.0:8000.

Without Docker

This method required you to have Python, django, redis, Celery, and django_celery_beat installed. Head over here to install Python.
Run the following command on the terminal:
pip install -r requirements.txt

Then run:
redis-server

Open another terminal and run the following command:
.\manage.py runserver

Open another terminal and run the following command:
celery -A bhavcopy worker -B -l INFO

The application will be served up on http://127.0.0.1:8000.

About

A django backend run application that gives a day-to-day tracker of BSE data equities'performance for that day. Uses Vuejs for front end, Redis as database, Celery to perform automated task of fetching latest BSE data at 6pm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published