/webApp-stock-prediction

predicting stock price using Bayesian, ANN, and LSTM with history price

Primary LanguageHTML

web App for stock prediction

•Developed a web app & web service with Struts, Bootstrap, Servlet, JSP,
•Tomcat, & RESTful API
• Acquired data with financial API, and stored data with MySQL database
• Implemented Bayesian curve fitting, ANN, and LSTM for prediction at a minimum error of 1.72%

Files:

The file directory was mainly arranged as the following requirement, and the code fold was put as the format from the project of eclipse.

|
+-------> design-image  // UML diagrams in png images
|
+-------> lib       // Java jar files
|
+-------> build     // compiled Java classes
|
+-------> src       // source code
|
+-------> WebContent    // HTML files, and prediction codes
|
+-------> database      // mySQL file

Library:

Several libs were used in this project. Multiple libs are built-in libs of python 3 and java ee. Besides, numpy and tensorflow are required.

How to compile:

All java files were already compiled, and py files have no need to complie. For re-compilation, project IDE such as eclipse is highly recommended. The complete folder can be imported to IDE and then build the entire project.