The current portfolio assumes that all assets maintain the same proportions/weights unless changed manually. This is more like the stock indices in the real market.
To mock real positions, i.e., assuming that all assets maintain the same amount unless changed manually, we need to keep each asset's market value up to date and calculate the return rate accordingly.
The current portfolio assumes that all assets maintain the same proportions/weights unless changed manually. This is more like the stock indices in the real market. To mock real positions, i.e., assuming that all assets maintain the same amount unless changed manually, we need to keep each asset's market value up to date and calculate the return rate accordingly.
This function is pending further research.