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

Rework database to accommodate multiple securities #135

Open
donjar opened this issue Dec 9, 2019 · 0 comments
Open

Rework database to accommodate multiple securities #135

donjar opened this issue Dec 9, 2019 · 0 comments

Comments

@donjar
Copy link
Contributor

donjar commented Dec 9, 2019

The database schema is built on the assumption that there is only one security (i.e. Grab shares). If we are going to have more than one securities traded in the platform, we need to rework it. Some things in mind:

  • Join users with securities table, and put can_buy, can_sell, is_committee information in the join table. Otherwise, a user can either buy all securities or not buy anything.
  • Update the matching engine to accommodate this.
  • Modify the chat tables, possibly.
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