Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocking real positions and calculating the corresponding return rate #20

Open
ForstMaple opened this issue Jan 31, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ForstMaple
Copy link
Collaborator

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.

@wsyxbcl wsyxbcl pinned this issue Jan 31, 2021
@ForstMaple ForstMaple added the enhancement New feature or request label Feb 1, 2021
@ForstMaple
Copy link
Collaborator Author

ForstMaple commented Feb 2, 2021

Should consider:
“cash" in a portfolio
attaching a "cost" attribute to the stock in a portfolio
changing positions with the net value inherited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant