TradeEndpoints

Members

(inner, constant) router

The trade router which handles the requests for creating, updating and listing trades

Source:

Methods

(inner) validateTradePayload(payload)

We validate the payload to ensure input it check the conditions

  1. Required Fields are present
  2. All values are non negative and in proper precision
Parameters:
Name Type Description
payload object

input from the client in req.body

Source: