You are on page 1of 25

DON BOSCO SCHOOL

ALAKNANDA SESSION:
2023 – 2024
COMPUTER SCIENCE
PROJECT FILE

STOCK MARKET APPLICATION


Name: Om Choubey
Class: XII Section: B
CERTIFICATE
This is to certify that Om Choubey of
Class XII, Section B has successfully
completed the project report entitled
“STOCK MARKET
APPLICATION” during the
academic year 2023-2024 towards
partial fulfillment of Computer
Science Practical Examination
conducted by CBSE.

…………………..
…………………..
Teacher’s Signature External’s Signature
ACKNOWLEDGEMENTS
I would like to express my gratitude to my Computer
Science teacher Geetu Munjal Ma’am for her guidance
and support throughout the completion of the project.
I would also like to extend my sincere thanks to my
parents and all my peers who have contributed to the
successful completion of the project. Their valuable inputs
and suggestions have significantly improved the quality of
my work.
I also place on record, my sincere gratitude to one and all
who, directly or indirectly, have lent their helping hand in
this venture.
INDEX
S. no. Topic Page
no.

1. Introduction 1
2. Aim of the project 2
3. Scope of the project 2
4. Hardware and Software Requirements 3
5. Modules used 4
6. Working of the project (Flowchart) 5
7. Source Code 6
8. Output 19
9. Bibliography 20
INTRODUCTION
Stock market is a place where buyers and sellers of stocks or
shares of publicly listed companies trade with each other. Stock
market is influenced by various factors such as economic
conditions, political events, company news, etc. Stock market
analysis is the process of studying the trends, patterns, and
movements of the stock prices and making predictions or
recommendations based on the data. Stock market analysis can
help investors to make informed decisions and optimize their
returns.
Python is a high-level, interpreted, and general purpose
programming language that is widely used for various
applications such as web development, data analysis, machine
learning, etc. Python has a rich set of libraries and modules that
provide various functionalities and features.
Tkinter is one of the standard Python modules that provides a
graphical user interface (GUI) toolkit for creating and managing
windows, widgets, menus, dialogs, etc. It is based on the Tk GUI
library that is written in C and Tcl. Tkinter is the standard
Python interface to the Tk GUI toolkit and is shipped with
Python. It supports widgets such as buttons, labels, entries, text
boxes, list boxes, radio buttons, check buttons, etc. Tkinter also
supports various events and bindings that allow the user to
interact with the GUI application.

AIM OF THE PROJECT


[1]
The aim of this project is to create a stock market application using python
tkinter that can perform the following tasks:
 Fetch and display the real-time stock prices of different companies
from the official NSE website using a module.
 Display the stock’s opening price, previous close, day high-low, 52-
week high-low, change, percentage change.
 Alert the user using an alarm 5 minutes before the Indian markets
are pre-opening (8:55 am), opening (9:10 am) and closing (3:25 am)
and with a different alarm when the markets are pre-opening (9:00
am), opening (9:15 am) and closing (3:30 am).

SCOPE OF THE PROJECT


Although limited by the programmer's rudimentary knowledge, the project
has a great scope for expansion. It is still in its initial stages and can be
updated to greater functionality such as:
 Showing the details of BSE stocks and indices.
 Showing the details of commodities like gold, silver, etc.
 Adding an option for mutual funds and various other stock
exchanges.
 Adding an option for news related to stocks, political affairs around
the world, sports, etc.
 Including a calculator which can calculate various things like the
income tax, returns, etc.
 Adding a feature where the user can create and control his own stock
portfolio.
 Including an option for learning where the user can learn about the
stock market, its various aspects, etc.
 Adding a button for feedback so that the user can share his/her
feedback or suggestion related to the application using an email or
phone number.

[2]
HARDWARE AND SOFTWARE
REQUIREMENTS
To run the application, one needs to have atleast:
 Python 3.12.0 or higher.
 4 GB RAM.
 A dual-core processor.
 100 MB of free disk space.
 Windows 10/11, Linux OS (incompatible with
macOS).
 A stable internet connection.

[3]
MODULES USED
The modules used are:
 tkinter: for the structure of the application.
 customtkinter: for giving a beautiful round edge to the
elements of the application like buttons, frames, etc.
 ttktkemes: for giving a themed colour and structure to the
application.
 ttktooltip: for displaying the name of the button when mouse
pointer is hovered over it.
 PIL: to display images used in the tkinter application.
 playsound: for playing the alarm bell at specific times.
 datetime: for performing the date and time related
processes.
 time: for converting the time to a string format to be used in
time related processes.
 jugaad_data.nse: for retrieving real time data from the
official NSE website after every 2 seconds.

FLOWCHART
[4]
Program Starts

Importing
Modules

Splash
Screen
(appears for
5 seconds)

UI of the application is
created by program

Program connects to
NSE's website and
fetches information
(every 2 seconds)

Updated
information
is displayed
on screen

Program ends

[5]
SOURCE CODE

[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
OUTPUT
SPLASH SCREEN:

MAIN WINDOW:

[19]
BIBLIOGRAPHY
1. https://www.geeksforgeeks.org
2. https://stackoverflow.com
3. https://www.reddit.com
4. https://www.youtube.com
5. https://medium.com
6. https://www.kotaksecurities.com/share-market/
share-market-basics/
7. https://www.tutorialspoint.com
8. https://github.com

[20]

You might also like