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

SecurityListView: Properly show short holdings for "Shares held != 0" filter #4500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Jan 29, 2025

Don't forcibly clamp negative (short) holdings to zero. However, add comment that the calculation is still not entirely correct, as it may return 0 in case one account have positive number of shares, and another - same number, but negative amount of shares.

… filter

Don't forcibly clamp negative (short) holdings to zero. However, add comment
that the calculation is still not entirely correct, as it may return 0 in
case one account have positive number of shares, and another - same number,
but negative amount of shares.
@pfalcon
Copy link
Contributor Author

pfalcon commented Jan 29, 2025

@buchen : I would like to make some steps towards (better) support short positions. It's hard, because full short support is of course very distant, and it's hard to see where even to start. Well, could start with small things, where there're ungrounded, arbitrary restrictions not compatible with short positions, like here.

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

Successfully merging this pull request may close these issues.

1 participant