#CS50 #Finance: A Stock Portfolio-siti
This was my final project for conclude the CS50 Introduction to Computer Sciense course.
CS, python, flask, flask web framework, web development, CS50
#Technologies Python Flask with session authentication SQL HTML Bootstrap
Video Demo: https://youtu.be/IEZ0GfAu2Rg?si=OTE4_dU1NkePl7KK Register a new or old user. Verify the database Buying and selling financial Description: Selling shares Buy shares Share shares Check inpu Transfer to a social networking site Register Allow a new user to register for an account, rendering an apology view if the form data is incomplete or if the username already exists in the database.
##Index The homepage displays a table of the logged-in user's owned stocks, number of shares, current stock price, value of each holding. This view also shows the user's imaginary "cash" balance and the total of their "cash" plus stock value.
Allows the user to submit a form to look up a stock's current price, retrieving real-time data from the IEX API. An error message is rendered if the stock symbol is invalid.
Allows the user to "buy" stocks by submitting a form with the stock's symbol and number of shares. Checks to ensure the stock symbol is valid and the user can afford the purchase at the stock's current market price with their available balance, and stores the transaction history in the database.
Allows the user to "sell" shares of any stock currently owned in their portfolio.
Displays a table summarizing the user's past transactions (all buys and sells). Each row in the table lists whether the stock was bought or sold, the stock's symbol, the buy/sell price, the number of shares, and the transaction's date/time.
Please note that the Login and Logout functions and all functions in helpers.py came with the assignment starter code and are not my work. Starter code ©2023 David J. Malan/ Harvard TODO
#About CS50 CS50 is a openware course from Havard University and taught by David J. Malan
Introduction to the intellectual enterprises of computer science and the art of programming. This course teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, and software engineering. Languages include C, Python, and SQL plus students’ choice of: HTML, CSS, and JavaScript (for web development).
Thank you for all CS50.
Please note that this repository is for storing my projects and files from Harvard University's CS50x course. It is not meant for sharing answers or encouraging academic dishonesty. If you are currently enrolled, please complete the assignments independently and refer to the course materials