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

DB: Add error when cash holding becomes negative #3

Open
victorbrun opened this issue Jan 21, 2021 · 1 comment
Open

DB: Add error when cash holding becomes negative #3

victorbrun opened this issue Jan 21, 2021 · 1 comment

Comments

@victorbrun
Copy link
Collaborator

There is currently no protection against moving to much cash from the cash holding for a given portfolio. Fix this by returning error from SQL server on query that tries to over withdraw cash holding.

@victorbrun victorbrun changed the title Add error when cash holding becomes negative DB: Add error when cash holding becomes negative Jan 28, 2021
@victorbrun
Copy link
Collaborator Author

Just realized that there needs to be some way of notifying the gsheet interface that a transaction did not complete due to overtrass

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

No branches or pull requests

1 participant