Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gregolive/portfolio-tracker

An app to track your stock holdings.
https://github.com/gregolive/portfolio-tracker

ejs express nodejs

Last synced: 17 days ago
JSON representation

An app to track your stock holdings.

Awesome Lists containing this project

README

        

# Tendies Tracker

Keep track of your investment gains or ***tendies*** with this stock portfolio tracker app inspired by [WallStreetBets](https://www.reddit.com/r/wallstreetbets/).

[Live demo](https://tendies-trackr.herokuapp.com/) 👈

## Features

- Real-time stock data via the [finnhub API](https://finnhub.io/)
- User authentication via local strategy from [Passport.js](http://www.passportjs.org/)
- Data storage via [MongoDB](https://www.mongodb.com/) and [Moongoose](https://mongoosejs.com/)
- CRUD actions for portfolios and transactions
- Portfolio statistics (daily gain, holding growth, etc.) provided to the user on home and portfolio pages

## Functionality

- When a user signs up they are first able to build a new portfolio with a name
- Once a portfolio is created transactions can be added to the portfolio so that it's holdings can be tracked
- Transactions must include a date, stock ticker, shares traded, the average price per share, and the type of transaction (buy/sell)
- Get requests are made to the finnhub API using the portfolio's holdings's stock tickers to get current price and company details (this is currently limited to the index and portfolio detail views only due finnhub's 60req/min rate limit with a free API key)
- On certain pages, popup session messages implemented with express-session provide feedack to the user (sign up complete, successfuly update data, etc.)
- If a user deletes a portfolio, the associated transactions are also deleted, while deleting a user profile removes both the associated portfolio and any transactions

## Screenshots

tendies tracker screenshot 1

tendies tracker screenshot 2