zachnicoll / trading-platform

Repository for the CAB302 major assessment piece.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POST /trades/ Endpoint for Creating Trades

zachnicoll opened this issue · comments

Requirements

  • The POST /trades/ endpoint should create a new Trade in the database
  • The quantity of assets and current balance of the Organisational Unit making the trade must not go over/under the available resources
  • The User making the request must be authenticated
  • The User making the request must be from the Organisational Unit they are creating the Trade for