Steward: a smart stock portfolio manager that provides short-term predictions and social media sentimental analysis for stocks selections.
Team Members: Kevin Jin (kjin2
), Will Povell (wpovell
), Matt Robins (mrobins
), Philip Xu (jx24
)
Mentor: Sean Segal ([email protected]
)
-
Graphical User Interface:
The user interface of this project will be a web application. The layout is demonstrated in the mockups.
Features:-
Signup, Login and Data Retention:
Users should be able to sign up on our service using an username, password, and email.
Users should be able to log in to the service and create/edit their portfolio. That information should be retained and everytime the user logs in they should be able to have access to the same portfolio they created.
Users should also be able to log out, change their passwords, or delete their accounts. -
Portfolio Editting:
Users should be able to create and edit their portfolios using a search box through symbol or stock name query. There should be an extensive stock database containing all currently traded NYSE or more stocks.
-
Stock Information Display:
When a user clicks on a stock, for example AAPL, the stock's candlestick chart, statistics, fundamentals, predictions, should be displayed. Users should be able to zoom in on the graph, mouse over for more daily information, and draw trendlines with percentage displays. The current traded price, volumes traded, volatility, and fundamentals of the company will be displayed below the graph, and a user can click to see more details. News articles or twitter feeds regarding the stock will be displayed on the right, along with a sentamental analysis of social media feeds.
-
-
Backend Interface:
The backend interface will do the following:
- A neural network API, a stock data API, a twitter feed API, and other relevant finance news APIs such as Yahoo Finance will be used.
- A neural network will be trained using the quantitative variables of a stock’s fundamentals and a sentiment value (as obtained from using our sentiment API on relevant news data)
- At the very least, the sentiment value will be obtained by applying the sentiment API to tweets that use the stock’s ticker symbol. However, it would be ideal to extend this model by using multiple keywords to assess sentiment such as company name, CEO name, sector name, etc. through different news mediums
- The neural network will be used to make both a one-day price prediction and a five-day price prediction.
- When a stock’s home page is presented on the front end, all of the fundamentals, graph data, and prediction data will come from a GSON variable sent from the backend. This GSON will include the following key, value pairs:
- (Daily Data) “dd/mm/yyyy” contains an array of the following:
- Open, Close, Daily, High, Daily, Low, Volume
- (Minute Data) “dd/mm/yyyy@hh:mm:ss” is used for displaying a stock chart for more recent intervals, including the past week and the current day, and will contain an array of:
- Current Price, Total Daily Volume
- (Fundamental) “fundamental” i.e. P/E Ratio, Dividend Yield, Shares Outstanding, and other fundamentals will be included as key, value pairs where the key is the name of the fundamental (String) and the value is a number representing the value of the fundamental
- (5 Day prediction) “FiveDay” is generated by the neural network in the backend and contains a number representing a five-day prediction for the given stock price
- (1 Day prediction) “OneDay” is generated by the neural network in the backend and contains a number representing a one-day prediction for the given stock price
- (Daily Data) “dd/mm/yyyy” contains an array of the following:
- Predictions for stocks in the portfolio will be cached and predictions for portfolio stocks should be generated in less than 2 second.
- Predictions for stocks not in the portfolio will be generated in under twenty seconds, a loading bar with approximate time remaining will be displayed.
- User Login/Signup:
Users should be able to sign up on our service using an username, password, and email. Users should be able to log in to the service and create/edit their portfolio. That information should be retained and everytime the user logs in they should be able to have access to the same portfolio they created.
Users should also be able to log out, change their passwords, or delete their accounts. - Portfolio Management: Users will have access to a complete set of all stocks currently trading in the U.S.. Users should be able to edit their portfolio and have access to it when they re log in.
- Stock:
Users should be able to have access to all relevant stock information: Current price, fundamentals, daily open, daily close, daily low, daily low, daily volume, volatility, news articles, projections, and sentimental analysis informations.
Users should be able to draw trendlines, zoom onto graphs, have access to info on the graphs.
Minimal computations will be performed on the frontend, most of the data manipulation and preperations will be done on the backend.
- User data management.
User data will be stored in a SQL database. Insertions upon creation, and query upon login. All performance will be limited by SQL operations, which will likely O(log(n)). - Prediction.
The backend will performance prediction using APIs for recurrent neural networks and sentimental analysis. The performance of this will depend on the APIs used. After the initial run the results will be cached and any redundant queries will be retrieved from the cache instead to speed up querying. - Stock Info Querying:
The backend will provide information of charts and fundamentals. This information will be queried from a SQL database and cached for future uses.
Our app will not have any financial transactions or irreversible actions. We will store the usernames and passwords for logins on the site in a database on the server. We will find an online package to use as a password hasher.
Our portfolio manager will be a web app that supports at least Chrome that can be accessed from personal computers. Our stretch goals include support for Firefox, Safari, IE, Edge, and smartphone browsing.
We will not require any files to be provided from the client.