This is a web application for a paper trading portfolio that allows users to buy and sell stocks with a starting fund of $10,000 USD. It uses real-time data from a third-party API.
Flask, Postgres, Bootstrap, IEX API
application.py
defines Flask routes to access the Postgres database. There are 2 database schemas, one for user
and one for history
(for transactions). /templates
contain the HTMl/Jinja templates to be rendered. Some helper functions (currency formatting, API look-up...) are defined in helpers.py
.
- Look up stock price
- Buy stocks
- Sell stocks
- See transactions history
- User registration
- User athentication
- Change password
- Visualize current portfolio composition
- Create demo user for app demo
- Access historical stock prices
- Visualization of portfolio returns over time + other stats
- Visualization of stock price over time
- Take a look at algo trading libraries
- Jazz up the UI