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

Create function that implements Daily task of executing trades #145

Open
5 tasks
JAYKAY2291 opened this issue May 31, 2024 · 0 comments
Open
5 tasks

Create function that implements Daily task of executing trades #145

JAYKAY2291 opened this issue May 31, 2024 · 0 comments
Assignees

Comments

@JAYKAY2291
Copy link
Collaborator

Summary

Add function that executes trades made by student accounts. The trades will be seen as "pending" by student user and not "completed" until the end of the day when all trades will be finalized.

Things out of Scope

Adding API is not part of this issue.

Things to Consider

Stock is bought at the price at the the time of trade and API change should not be taken into account.

Criteria for Completion

  • When a Student purchases stock, it will initiate a trade.
  • Trade will be listed as "pending" until end of day.
  • At end of day, "pending" trade will convert to "completed trade."
  • This feature should only be available to student users.
  • Add an automated test proving that it works
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

3 participants