Closed dolphinalt closed 7 months ago
BAD BAD BAD
Not good enough to be able to store the times of buy/sell of each stock, their monetary values, and other data like daily growth and etc if the user decides to keep the stock. Good start though but should improve for scalability for when we have more data. Possibly make a one-to-one relationship between the user and a new endpoint containing all of this data.
D:
Repurposed the /setStats endpoint to take info about stocks.
Format of the POST request should be as follows
A lot of processing has to be done in the frontend, so might not be the best solution