Validate a proposed trade amount
POST/v1/firm/trades/amount-validations
Checks a proposed trade amount for one security against the firm's minimum trade sizes, and changes nothing. The minimum is selected as GET /v1/firm/trades/minimum-size selects it, with securityCategory in the place of securityType. The amount is valid when its absolute value is at least the minimum, or when the minimum is 0.
Request
Responses
- 201
- 400
- 401
- 403
- 429
The result of the check.
The request is malformed, for one of these reasons:
- The request body does not follow the request body schema.
The request carries no bearer token, or the API does not accept the token, for example because it has expired.
The API accepts the token, but not for this operation: the role of the person the token belongs to does not permit the operation, or the token does not carry the scope that the operation requires.
The request is over a rate limit. On the limit for each client IP address, the Retry-After header gives the number of seconds to wait before the next request to this operation. On the limit for each person, the Retry-After-per-person header gives the number of seconds to wait before the next request of that person.