dbms-project-report
dbms-project-report
Submitted by
BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE ENGINEERING
with specialization in Computer Science and
Engineering
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:
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.
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
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.
CHAPTER 1
INTRODUCTION
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.
4. Educational Resources: To offer educational resources and tools that help users
understand stock market dynamics and make well-informed investment choices.
• 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.
• 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.
• 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.
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.
• Implement security measures to protect user data, including password hashing and
encryption. • Enforce user privacy and data protection.
• Ensure error handling for invalid user inputs, database connection issues, and
potential exceptions.
10. Dark/Light Mode Switch: Add a feature to switch between dark and light modes
to enhance user customization and experience.
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.
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.
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.
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.
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
3.1 ER Diagram
UI/UX Images
Login / Sign-in UI
LANDING Page
LOGIN Page
SIGN UP Page
USER’s page
Login/Sign-up Workflow
Order Interface
BUY OR SELL
ORDER WORKFLOW
CHAPTER 4
CODING
1. Create. SQL
2. App.py
database_Credentials.txt
requirements.txt
CHAPTER 5
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
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.
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
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