0% found this document useful (0 votes)
26 views32 pages

dbms-project-report

Uploaded by

mjaisurya10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views32 pages

dbms-project-report

Uploaded by

mjaisurya10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

lOMoARcPSD|38739388

Dbms project report

Dbms (SRM Institute of Science and Technology)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Jaisurya ([email protected])
lOMoARcPSD|38739388

STOCK MARKET MANAGEMENT


A PROJECT REPORT

Submitted by

SANJAY KUMAR REDDY PATTEM [Reg No: RA2111003010880]


Under the Guidance of
DR.Jothi Kumar C

Associate Professor, Department of Computing


Technologies

in partial fulfillment of the requirementsfor the degree of

BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE ENGINEERING
with specialization in Computer Science and
Engineering

DEPARTMENT OF COMPUTING TECHNOLOGIES


COLLEGE OF ENGINEERING AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
KATTANKULATHUR – 603 203
APRIL 2024

Downloaded by Jaisurya ([email protected])


lOMoARcPSD|38739388

Department of Computational Intelligence


SRM Institute of Science & Technology
Own Work* Declaration Form

To be completed by the student for all assessments

Degree/ Course : B.Tech in Computer Science and Engineering

Student Name : SANJAY KUMAR REDDY PATTEM


Registration Number : RA2111003010990
Title of Work : STOCK MARKET MANAGEMENT

I / We hereby certify that this assessment compiles with the University’s Rules and Regulations
relating to Academic misconduct and plagiarism**, as listed in the University Website,
Regulations, and the Education Committee guidelines.

I / We confirm that all the work contained in this assessment is my / our own except where
indicated, and that I / We have met the following conditions:

• Clearly referenced / listed all sources as appropriate


• Referenced and put in inverted commas all quoted text (from books, web, etc)
• Given the sources of all pictures, data etc. that are not my own
• Not made any use of the report(s) or essay(s) of any other student(s) either past or present
• Acknowledged in appropriate places any help that I have received from others (e.g.
fellow students, technicians, statisticians, external sources)
• Compiled with any other plagiarism criteria specified in the Course handbook /
University website
I understand that any false claim for this work will be penalized in accordance with the
University policies and regulations.

DECLARATION:
I am aware of and understand the University’s policy on Academic misconduct and plagiarism
and I certify that this assessment is my / our own work, except where indicated by referring, and
that I have followed the good academic practices noted above.
SANJAY KUMAR REDDY PATTEM [Reg No: RA2111003010880]

If you are working in a group, please write your registration numbers and sign with the date for
every student in your group.

Downloaded by Jaisurya ([email protected])


lOMoARcPSD|38739388

TABLE OF CONTENTS

ABSTRACT 4

TABLE OF CONTENTS 3

1 INTRODUCTION 5

2 LITERATURE SURVEY 9
3 SYSTEM ARCHITECTURE AND DESIGN 10
4 CODING SREENSHOTS AND RESULTS
4.1 Create.sql 16
4.2 App.py 17
4.3 Database_credentials.txt 27
4.4 Requirements.txt 27
5 CONCLUSION AND FUTURE SCOPE 28
5.1 Conclusion
5.2 Future scope
8 REFERENCES 30

Downloaded by Jaisurya ([email protected])


3
lOMoARcPSD|38739388

ABSTRACT

"StockUp" is an Online Stock Trading and Portfolio Management System designed to offer a
seamless and user-friendly experience for individuals interested in stock trading and
investment portfolio management. In an era marked by the increasing significance of digital
finance, the project harnesses the power of robust database management to create an intuitive
platform for stock trading enthusiasts. This project provides essential features, including user
registration and authentication, a secure wallet system for efficient balance management, real-
time monitoring of stock prices, and the ability to buy and sell shares across a diverse range
of companies. Users can effectively oversee their investment portfolios, explore detailed stock
information, and make informed investment decisions through access to up-to-date stock
market data. The project's graphical user interface (GUI) is developed using the
CustomTkinter library in Python, ensuring accessibility for users with varying levels of
technical expertise. The MySQL database serves as a reliable repository for user data,
transaction history, and comprehensive stock market information. "StockUp" represents a
practical embodiment of database management, data retrieval, and user interface design,
tailored to the realm of online stock trading. It serves as a valuable tool for those seeking to
engage with the intricacies of stock markets, make equity investments, and effectively
manage their investment portfolios. With a strong emphasis on user convenience, financial
transparency, and real-time market insights, "StockUp" emerges as a significant advancement
in the domain of digital stock trading and investment portfolio management, offering a
dynamic and responsive platform for users to navigate the complexities of financial markets.

Downloaded by Jaisurya ([email protected])


4
lOMoARcPSD|38739388

CHAPTER 1

INTRODUCTION

1.1 Background and Context


In the context of an increasingly digital and financially aware world, the "StockUp"
project emerges as a valuable application aimed at educating users about stock trading
and investment while providing a practical, user-friendly platform for managing virtual
portfolios. The stock market is a complex and dynamic domain, and individuals,
especially beginners, can benefit from a controlled environment for learning and
gaining experience.

1.2 Relevance
The relevance of the "StockUp" project lies in its potential to address various
educational and practical aspects related to stock trading and investment. Here are the
key aspects of its relevance: Financial Literacy and Education: In a world where
financial literacy is crucial, "StockUp" provides a platform for users to learn about
stock trading, investment, and portfolio management. It offers educational resources
and a risk-free environment for users to gain practical experience without the need for
real financial transactions. Practice and Skill Development: For individuals interested
in stock trading, "StockUp" serves as a valuable tool for honing their trading skills and
strategies. Users can simulate buying and selling shares, track stock performance, and
analyze their portfolios, which can be immensely beneficial before venturing into real
stock markets. Accessibility: The app's accessibility through a desktop interface
provides a convenient way for users to access stock market information and trading
activities. This accessibility can empower users to monitor and manage their
investments from the comfort of their computers. Database and Data Management: The
project incorporates database management and data storage, which is an essential
aspect of many real-world financial applications. Learning how to manage user data,
transactions, and stock information is a relevant skill in the field of data management.
Understanding Stock Market Dynamics: "StockUp" allows users to observe stock
market dynamics by providing real-time stock data. This practical exposure can help
users understand how stock prices fluctuate and respond to 2 | P a g e market
conditions, an essential aspect of financial literacy. Security and Privacy: Implementing
security measures for user data in the app is relevant in today's digital world, where
data breaches and privacy concerns are common. Users can learn about the importance
of securing sensitive financial information.

Downloaded by Jaisurya ([email protected])


5
lOMoARcPSD|38739388

1.3 Software Requirements Specification


1.4 AIM of the Project
The "StockUP" project aims to develop a robust and user-friendly online platform that
facilitates stock trading and empowers users to efficiently manage their investment portfolios.
This system is designed to provide an accessible and secure environment for individuals
interested in participating in the stock market, allowing them to make informed investment
decisions and monitor their portfolios in real time.

1.5 Scope and Objectives

1. User-Friendly Stock Trading: To create an intuitive and user-friendly interface that


simplifies stock trading processes, making it accessible to users with varying levels of
experience.

2. Efficient Portfolio Management: To enable users to manage and monitor their


investment portfolios seamlessly, with real-time tracking of stock holdings and
performance.

3. Secure Financial Transactions: To prioritize data security and privacy, implementing


robust security measures to protect users' financial data and transactions.

4. Educational Resources: To offer educational resources and tools that help users
understand stock market dynamics and make well-informed investment choices.

5. User Authentication and Registration: To implement secure user authentication and


registration procedures to protect user accounts and provide a personalized experience.

6. Database Management: To develop a reliable database management system for


storing user profiles, transaction history, and comprehensive stock market data.

1.6 Technical Approach:


1. User Interface Development:

• Utilize Customtkinter, a Python library for creating graphical user interfaces, to


design and develop the application's user interface.

• Create interactive screens for user registration, login, portfolio management, stock
trading, and wallet management.

• Implement buttons, input fields, labels, and images to enhance the user experience.

2. Database Setup and Management:

Downloaded by Jaisurya ([email protected])


6
lOMoARcPSD|38739388

• Establish a connection to a MySQL database to store user information, wallet


balances, and stock data.

• Create tables for users, wallets, companies, and shares to manage user data and
financial information.

• Implement database queries to retrieve and update user information, wallet balances,
and share transactions.

3. User Authentication and Registration:

• Develop user registration functionality, allowing users to input personal details,


including full name, Aadhar number, PAN card, phone number, password, and initial
balance.

• Implement data validation to ensure that user data meets specified criteria.

• Store user information securely in the database, generating unique user IDs.

4. User Login:

• Enable user login by validating user credentials (phone number and password)
against database records.

• Establish session management to maintain user authentication status.

5. Wallet Management:

• Create features for users to view their wallet balances and add funds to their wallets.

• Implement wallet balance updates, transaction records, and data integrity in the
database.

6. Portfolio Management:

• Develop portfolio management functionality, allowing users to view their shares and
stock details.

• Retrieve and display user-specific share data, including company names, share
quantities, and total portfolio values.

• Enable users to access individual stock details, including stock prices and buy/sell
options.

Downloaded by Jaisurya ([email protected])


7
lOMoARcPSD|38739388

7. Security and Privacy:

• Implement security measures to protect user data, including password hashing and
encryption. • Enforce user privacy and data protection.

8. User Experience Enhancement:

• Incorporate images and icons to improve the user interface.

• Implement hover effects for buttons and interactive elements.

9. Error Handling and Validation:

• Ensure error handling for invalid user inputs, database connection issues, and
potential exceptions.

• Validate user inputs to maintain data consistency and integrity.

10. Dark/Light Mode Switch: Add a feature to switch between dark and light modes
to enhance user customization and experience.

11. Documentation: Provide comprehensive documentation explaining the project's


architecture, database schema, and user instructions

12. Deployment and Distribution: Deploy the application for user access, which can
involve local deployment or web based distribution, depending on the project's
scope and requirement.

Downloaded by Jaisurya ([email protected])


8
lOMoARcPSD|38739388

CHAPTER 2

LITERATURE SURVEY

1. Online Stock Trading Platforms: The advent of online stock trading has significantly
transformed the financial industry. Several studies have explored the growth and impact of
online trading platforms, highlighting their role in increasing market accessibility and
participation among individual investors. Notable research has been conducted on the
usability and user experience of online trading interfaces, emphasizing the need for
user friendly design, real-time data, and security.

2. Portfolio Management Strategies: Portfolio management is a critical aspect of successful


investing. Literature in this area covers various portfolio management strategies, including
modern portfolio theory, value investing, and technical analysis. Researchers have examined
the effectiveness of different strategies in achieving investment goals, emphasizing the
importance of diversification and risk management.
3. Database Management in Finance: The use of databases in the financial sector has gained
attention in recent years. Studies have delved into the implementation of database systems to
store and manage financial data efficiently. Secure and scalable database solutions are crucial
for applications like "StockUp" to maintain user profiles, transaction history, and real-time
market data.

4. User Interface Design for Finance Applications: Effective user interface (UI) design is a
pivotal component of financial applications. Research in this area explores the principles of
UI design, with a focus on creating intuitive, user-friendly interfaces. Studies examine the
impact of UI design on user engagement and decision-making in stock trading applications.

5. Security in Online Trading: Security is a paramount concern in online stock trading.


Researchers have investigated cybersecurity measures, including encryption, authentication,
and authorization, to protect users' financial data and transactions. The literature highlights
the importance of data security and privacy in financial applications.

6. Real-Time Data Integration: Real-time stock market data is fundamental to online trading.
The literature discusses methods for integrating and displaying real-time data in trading
platforms, emphasizing the challenges of data accuracy, speed, and synchronization.

7. Mobile Trading Applications: With the rise of mobile technology, the development of
mobile trading applications has become a significant area of research. Studies explore the
adoption and usability of mobile trading apps and the challenges related to providing a
seamless user experience on mobile devices.

8. Behavioral Finance: Behavioral finance research investigates how psychological factors


influence trading decisions and market behaviour. Understanding investor behaviour is crucial
for designing tools like "StockUp" that support informed and rational investment decisions.

9. Regulatory Compliance: The financial industry is heavily regulated. Research in this


domain covers compliance requirements and their implications for online trading platforms. It
also examines the role of technology in meeting regulatory standards.

Downloaded by Jaisurya ([email protected])


9
lOMoARcPSD|38739388

10. Case Studies: Case studies of existing stock trading and portfolio management systems
provide valuable insights into the practical implementation of such platforms. Analyzing
successful systems and their features can inform the design and functionality of "StockUp."

CHAPTER 3

System Architecture and Design

3.1 ER Diagram

UI/UX Images

Downloaded by Jaisurya ([email protected])


10
lOMoARcPSD|38739388

Login / Sign-in UI

LANDING Page

LOGIN Page

Downloaded by Jaisurya ([email protected])


11
lOMoARcPSD|38739388

SIGN UP Page

Downloaded by Jaisurya ([email protected])


12
lOMoARcPSD|38739388

USER’s page

Login/Sign-up Workflow

Downloaded by Jaisurya ([email protected])


13
lOMoARcPSD|38739388

Order Interface

Downloaded by Jaisurya ([email protected])


14
lOMoARcPSD|38739388

BUY OR SELL

ORDER WORKFLOW

Downloaded by Jaisurya ([email protected])


15
lOMoARcPSD|38739388

CHAPTER 4

CODING

1. Create. SQL

Downloaded by Jaisurya ([email protected])


16
lOMoARcPSD|38739388

2. App.py

Downloaded by Jaisurya ([email protected])


17
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


18
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


19
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


20
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


21
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


22
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


23
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


24
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


25
lOMoARcPSD|38739388

Downloaded by Jaisurya ([email protected])


26
lOMoARcPSD|38739388

database_Credentials.txt

requirements.txt

Downloaded by Jaisurya ([email protected])


27
lOMoARcPSD|38739388

CHAPTER 5

CONCLUSION AND FUTURE SCOPE


7.1 Conclusion
The "StockUp" project has been a significant endeavour in the realm of stock trading and
portfolio management. This application was developed to provide users with a simulated
stock trading experience, enabling them to explore the intricacies of the stock market and
manage their investment portfolios in a risk-free environment. Throughout the
development and deployment of this project, several key aspects were addressed. User
registration, authentication, wallet management, and portfolio tracking were implemented
to offer a comprehensive trading experience. The application's graphical user interface
(GUI) ensures ease of use and accessibility for users of varying expertise levels. The
"StockUp" project has achieved its primary goals, including user registration and
authentication, simulated wallet management, and portfolio tracking. Users can buy and
sell virtual shares, view stock details, and stay informed about stock prices. While the
project has delivered a solid foundation for stock trading and portfolio management, there
is a vast scope for future development and expansion. Enhancements such as real-time
data integration, mobile applications, advanced trading features, and educational resources
could significantly enrich the user experience. In conclusion, the "StockUp" project serves
as an educational and engaging platform for individuals interested in stock trading and
investment. It provides an opportunity to gain practical experience and knowledge in the
financial markets. The project's success is not only in its current state but also in the
potential for growth and continuous improvement in line with user expectations and the
ever evolving world of finance. It is a testament to the possibilities that exist in the world
of virtual trading, user engagement, and financial education.

7.2 Future Scope


The "StockUp" project provides a foundation for a stock trading and portfolio
management application. While the current version fulfils the initial requirements, there is
significant potential for further development and enhancements. Here are some future
scope possibilities for the project:
1. Enhanced User Profiles: - Implement more comprehensive user profiles, including
personal information, investment preferences, and risk tolerance. - Provide options for
users to link their real brokerage accounts for live trading.

2. Real-Time Data Integration: - Integrate with real-time stock market data providers to
offer users actual market data. - Implement features like live stock quotes, real-time
charts, and news feeds.
3. Advanced Trading Features: - Add advanced trading options, such as limit orders,
stop-loss orders, and trailing stop orders. - Implement technical analysis tools for
users to make informed trading decisions.
4. Machine Learning and Predictive Analytics: - Integrate machine learning algorithms
to provide users with stock recommendations and predictions based on historical data
and user preferences.
5. Mobile Applications: - Develop mobile applications for iOS and Android to increase
accessibility for users on different devices. - Ensure synchronization of data between

Downloaded by Jaisurya ([email protected])


28
lOMoARcPSD|38739388

web and mobile platforms.


6. Social and Community Features: - Add social networking features to allow users to
follow and interact with other traders. - Implement discussion forums, chat rooms, and
the ability to share trading strategies and tips.
7. .International Markets Support: - Expand the application to support trading on
international stock markets. - Incorporate multi-currency support and exchange rate
calculations.
8. Security Enhancements: - Enhance security measures to protect user data and financial
information. - Implement two-factor authentication and encryption for sensitive data.
9. Educational Resources: - Create a section for educational resources, including articles,
tutorials, and webinars on stock trading and investment strategies.
10. API Integration: - Develop APIs to allow third-party developers to create extensions
and integrations. - Encourage the development of trading bots, algorithmic trading
systems, and additional plugins.
11. Gamification and Rewards: - Implement gamification elements to make the app more
engaging. - Reward users for reaching trading milestones or achieving certain goals.
12. . Regulatory Compliance: - Ensure compliance with financial and securities
regulations in various regions, particularly if live trading features are introduced.
13. Feedback and User Surveys: - Continuously gather user feedback and conduct surveys
to identify areas for improvement and new feature ideas.
14. Performance Optimization: - Continuously optimize the application's performance to
ensure responsive user experiences, even with a large user base.
15. Monetization Strategies: - Explore different monetization models, such as premium
subscriptions, advertisements, or freemium features.

The future scope of the "StockUp" project is expansive and can be tailored to meet the
evolving needs of traders and investors. It offers opportunities for innovation, user
engagement, and expansion into new markets, making it a promising platform for the
world of stock trading and investment.

Downloaded by Jaisurya ([email protected])


29
lOMoARcPSD|38739388

REFERENCES

[1] Constantine A. Balanis, Antenna Theory: Analysis and Design, 2nd Edition; John Wiley
Sons Inc. New York, 2001,pp12-130

[2] Inder J Gupta, Aharon A Ksienski, “Effect of Mutual Coupling on the Performance of
Adaptive Arrays” IEEE Trans. Antennas Propagat., vol. AP-31, no.5, pp.785-791, Sept. 1993

[3] S. Chen, L. Hanzo, N.N. Ahmad, and A. Wolfgang “Adaptive minimum bit error rate
beam forming assisted QPSK receiver,” Proc. IEEE International Conference on
Communications, June 2004, Paris, France

[4] J. Lundback, S. Nordebo, “Analysis of a tripole array for polarization and direction of
arrival estimation” Proc. IEEE Sensor Array and Multichannel Signal Processing Workshop
Proceedings, 2004, 18-21, July 2004, pp. 284 – 288

[5] G. Brandli and M. Dick, “Alternating current fed power supply,” U.S.Patent 4 084 217,
Nov. 4, 1978

[6] E. E. Reber, R. L. Mitchell, and C. J. Carter, “Oxygen absorption in the Earth’s


atmosphere,” Aerospace Corp., Los Angeles, CA, Tech. Rep. TR-0200 (4230-46)-3, Nov.
1968

[7] M. Duncan. “Engineering Concepts on Ice. Internet: www.iceengg.edu/staff.html, Oct.


25, 2000 [Nov. 29, 2003].

Downloaded by Jaisurya ([email protected])


30
lOMoARcPSD|38739388

SRM INSTITUTE OF SCIENCE AND


TECHNOLOGY KATTANKULATHUR – 603 203

BONAFIDE CERTIFICATE

Certified that this B. Tech project report titled “STOCK MARKET MANAGEMENT” is
the bonafide work of SANJAY KUMAR REDDY [Reg. No.: RA2111003010880] who
carried out the project work under my supervision. Certified further, that to the best of my
knowledge, the work reported herein does not form part of any other thesis or dissertation on
the basis of which a degree or award was conferred on an earlier occasion for this or any other
candidate.

SIGNATURE SIGNATURE

Faculty In – Charge HEAD OF THE DEPARTMENT


Dr. Jothi Kumar C Dr. M. Pushpalatha
Associate Professor Professor & Head
Department of Computing Technologies Department of Computing Technologies
SRM Institute of Science & Technology SRM Institute of Science & Technology

Downloaded by Jaisurya ([email protected])

You might also like