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

[Transactions]: Add constraint for preventing short selling after some extent #362

Open
abesheknarayan opened this issue Apr 26, 2021 · 0 comments

Comments

@abesheknarayan
Copy link
Member

This year , we tried to add a constraint where we check in each transaction if the user has enough cash to retrieve the stocks after short selling, but in the main event as the no of transactions were high, we faced some sql lock timed out issues during first day.
Have to think about better way of doing this and also we need to write stress tests to check with lot of concurrent transactions.

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

No branches or pull requests

4 participants