Open DanielPointon opened 2 years ago
We'll need to store data on stock prices and purchases over time in the database. This will require a database schema. I'm guessing:
Note duplication of data between user_purchases and user_portfolio_entries is to avoid recalculating a user's current portfolio based on their historical purchases every time they load the app. Can be thought of as a changelog.
We'll need to store data on stock prices and purchases over time in the database. This will require a database schema. I'm guessing:
Note duplication of data between user_purchases and user_portfolio_entries is to avoid recalculating a user's current portfolio based on their historical purchases every time they load the app. Can be thought of as a changelog.