A self-learning project that using Angular 4 as a front-end to monitor the stocks trading info. Nodejs is used to build HTTPS back-end server. Firebase as database server. This project included front-end UI to allow users to add their own stocks and monitor the stocks performance, and the back-end will send out nortificatons throught Email and/or SMS (Text Message) to alert users about their stocks movement. In addition, several analysises will be running daily to reveal performance and movement of stocks in the market.
Production Server - a private repo
- Authenticate by Google firebase SDK.
- Allow users login with Facebook, Google or Email account.
- Each user contains his own list of stocks.
- Front-end UI produced by Angular 4 that allow users control their own stock list and settings.
- Data transmit throught HTTPS protocol.
- The info of the stocks keep update every minute.
- Auto calculate Profit and Loss for purchased stocks.
- Auto set min price and max price for each stock.
- Auto calculate SMA & EMA and use these as a signal for stock investment.
- A scheduler run every minute (during the market trading period) to check the latest stock price and send out notification.
- A daily stocks summary send out at the morning to notify users for the stock last closing price and its performance.
- Notification can be sent throught Email and/or Text message.
- Mobile UI supported.
- A daily scheduler to analyze most of the stocks in the market and disclose their one year performance and movement.
- Display US Sector Performance (realtime & historical)
Contain several main component. header, footer, authenticaton, stock-list.component & growth-movement.component.
Contain user's purchased stocks, favorite stocks, and user config & preferences.
Contain most of the stocks in the market and its analyzed performance.
stock-list.component is protected by authGuard. Only authenticated user can access its only list in firebase.
Several schedulers will run every weekdays during the stock market trading hours to check the users' stocks position and send SMS and/or EMAIL to users in accordingly.
A scheduler will run every mid-night, it analyzes most of the stocks in the market and update it to the database, so growth-movement.component always display the latest analysis.
sudo apt-get install -y git
cd stocks-monitor
bash setup.sh
npm install
npm run build
npm run start
npm run proxy
npm run wdebug