Project Manager| FX & MM Operations Technology
NatWest Markets CDIO – Core Trading Solutions
We have often looked for a way to ease up our way in stock market predictions but its very hard to predict stock behaviour solely by market patterns especially for beginners ..so we thought of using our historic stock data to our advantage and predict the future trends for us.
https://stocksaint.herokuapp.com/
- BOOTSTRAP 5.0 used for building the frontend.
- Used different custom CSS templates with modifications.
- Connected the front-end to hyper for sending requests.
- Used Javascript for sliding animations and smooth scrolling.
- Added different API's for the functioning of backend
- Express Framework used.
- Stock Data taken from RESTFUL API of AlphaVantage.
- Challange was to connect Python scripts to work with NodeJS.
- Used Child Processes to connect with Python.
- Used Embedded Javascript Templating to parse User requested data to Front-End.
-
Packages used:
- Numpy - For Data Analysis
- Pandas - For Data Refining and cleaning
- Matplotlib - For creating plots
- Mplcyberpunk - For creating "Cyberpunk" Style plots
-
Process:
- API Data is recieved in CSV format.
- Pandas is used to create and clean the dataframe formed using the data.
- Calculation for the Running Average or Exponential Smoothing is done on basis of window specified.
- Matplotlib plots the Original Graph and the Trend Graph.
- The plots are generated in png format and are saved in the public/tmp folder of the Heroku/Local server.
- Slope of the graph is used to calculate the prediction and Market sentiment.
- Caluculate results are returned for display.