zachnicoll / trading-platform

Repository for the CAB302 major assessment piece.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop BUY Orders with Insufficient Credits

zachnicoll opened this issue · comments

Requirements

Backend

  • The POST /trades/ endpoint should reject BUY Orders where the total price of the order exceeds the Organisational Unit's credit balance

Frontend

  • The User should be presented with an error message if their BUY order gets rejected by the server