This Real-Time Stock Market Price Checking App Built Using Django, where user can select the one or multiple stocks from the list and can check their price in Real-time which updates frequently. It Store the User Session ID in the database on temporary basis. Session ids are further used to send data to user.
- No Login/Signup required.
- Select the Stocks to Watch for.
- Click on
Submit
button to see their Real-time prices. - Click on
View Details
button to see more details of the given Stock. Django-Sessions
to track the User Selected Stocks on a temporary basis.
Django
- For Coding Backend of Application.Django-Celery
- To Add the tasks in the Queue.Celery-beat
- To add tasks to QueueMemurai/Redis
- It is used as a Message Broker & For Adding a Django Channel Layer in Backend.Django-Channels
- For usingWebScokets
to establish Real-time Communication, to update the Stock Price Regularly.SQLite
- Used this Default DataBase for Storing Data on temporary basis.DTL
- Django Template Language for Building Dynamic Pages.JavaScript
- For Integrating Additional functionalities in Project.Bootstrap 5
- For UI Development of Project.FontAwesome
- For embedding icons in Project.HTML/CSS
- For Coding Basic Templates of Project.
To Watch the Live Demo Of Application click on the Below Given Link. View Demo 🚀.
To run this application on your local development server you need to run the following commands. Run Each Command in the new Terminal. (These commands are for Windows OS)
To Run the Django Development Server :
python manage.py runserver
To Start the Celery Worker :
celery -A stockmarket.celery worker --pool=solo -l info
To Start the Celery Beat Scheduler :
celery -A stockmarket beat -l INFO
Note: In case if there are uncompleted tasks in left in the queue, due to which it is sending old details of stocks, then you need to clear the queue using the below command.
celery -A stockmarket purge -f
If You are Learner, or Want to test this application, Then After Forking & Cloning, You Can use these Test Credentials
for accessing the Admin Panel of Application to see how it stores User Sessions
on temporary basis.
- #### FOR ADMIN LOGIN ####:
- ID : admin
- PASSWORD : admin