zachnicoll / trading-platform

Repository for the CAB302 major assessment piece.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop SELL Orders with Insufficient Assets

zachnicoll opened this issue · comments

Requirements

Backend

  • The POST /trades/ endpoint rejects a SELL order if the Organisation Unit placing the SELL order does not have enough quantity of a given asset

Frontend

  • The User is presented with an error message saying their OU does not have enough Assets to sell if the Server rejects the SELL order