DEVLOG-1(DAY-1)
I finally got the main engine to work today i introduced a fake stock market simulation where prices randomly go up and down. I also included the buy and sell functions where users can buy/ sell their share they they have invested in.
The biggest challenge that i had was that the UI was not updating when though the backend for buying the stocks was being completed i added alert messages for when
~ you don’t have enough money for shares
~you cant sell more shares than you have
~buying and selling confirmations
now users can test the website can use the simulations to practice stock investing.
##One of the most difficult features about this project was that i am new to js and this is my first actual js running project so i learnt a lot of js fundamentals and basics from this…
Future updates
more stocks to invest in
Better UI
Price being shown on the side of the menu
Profit and loss increments
Leaderboard
at first i decided to stick to line graphs but ultimately decided to go with a candle chart.
Boiler plate can be found in chart.js libraries