Im in need to create stock firm price updating using brownian motion.
This calculations have to be done using node.js as backend, with mongodb as database.
I do have some database tables already for this firm, some examples of that are in the file below.
I want to use my dummy firm, the amount of cash the firm have, the income/outcome flow, and the current stock price to calculate a new stock price using brownian motion.
I would like to simulate stock market values of the firm, if it’s profitable it’s worth more than if it’s not.
The firm have 10k stocks in total, and I would like the stock value to represents the firms buisness.
Will work like an acual stock firm, but only simulated.