View on Github
A Stock Trading Simulator: Wall $treet Trading
Flask SQLite Python

A Stock Trading Simulator: Wall $treet Trading

Charley Yoshi

Charley Yoshi

Posted: September 17, 2021, 8:14 a.m.



Overview


Wall $treet Trading is a web application of stock trading simulator. In Wall $treet Trading, you can register for a personal trading account, in which you are able to quote stock prices, buy and sell stocks, manage history transactions, and even add extra cash value into it!



Features


Wall $treet Trading is a comprehensive demostration of Flask Web Application. As a lightweight Python web framework, Flask allows handy and flexible program development with MVC Architecture. In this project, SQLite is employeed in managing databases, serving as the backend of this Flask application. See more on Github.



Q: Where do live stock quotes come from?


A: Stock quotes are downloaded via the API (application programming interface) provided by IEX Cloud, a platform by IEX Trading that offers financial data. Learn more on API document provided by IEX Cloud.





1. Get Started


Register

register page To start off, you will first have to register. You can customize your own username and password as long as the username is not taken by others. Even though this application is just a simulator, in order to track and save your trading activity, you must trade inside your account. Therefore, it is necessary to create your own account.



Login


Once logged in, you are directed to the Home page of your account, which shows all of your portfolio holdings. Since you haven't traded yet, you only have cash in your portfolio. But the good news is you immediately have USD10000 cash ready to buy stocks. initial page (marked) Note: USD10000 is a default value that you immediately 'own' after you register. It can be easily adjusted in the backend database and has no intrinsic value in reality.




2. Features



Quote


Enter stock code like GOOG, AAPL, AMZN. quote page


Live stock price quote result page



Buy and Sell


Buy

Say you want to buy 5 share of Apple Inc. buy page

Bought!
Now it is appeared on your main portfolio page. bought page


Sell

Say you want to sell 3 shares of Apple Inc. sell page



Transaction History

Transaction History page shows the stocks you bought or sold, number of shares, at what price, and the transacted date and time, so that you can easily track and monitor your trading activity. history page



Add Cash


One of the most important features of a stock trading simulator site is to add value to your account. Here you can add unlimited amount of cash to your account. add cash page




 

Charley Yoshi

Posted: September 17, 2021, 8:14 a.m.