Minimum trade sizes
The firm's minimum trade sizes, the minimum trade amount for one security, and the validation of a proposed trade amount against the firm's minimum trade sizes.
List the firm's minimum trade sizes
Returns the firm's minimum trade sizes, paginated by `limit` and `offset`. The minimum trade sizes for one security symbol come first, then those for one security type, then the one for the whole firm.
Create a minimum trade size
Creates a minimum trade size for the firm and returns it. A minimum trade size names a security symbol, a security type, or neither. One that names neither applies to the whole firm.
Get the minimum trade amount for one security
Returns the minimum trade amount for one security, selected by `securitySymbol` and `securityType`. A minimum trade size for the security symbol takes precedence over one for the security type, and one for the security type takes precedence over the one for the whole firm. When no minimum trade size applies, the amount is 0.
Update one minimum trade size
Changes the fields that the body sends on the firm's minimum trade size with this `id`, and returns the minimum trade size. Fields that the body does not send keep their values. When the firm has no minimum trade size with this `id`, nothing changes, and the response has the status `200` and the body `{}`.
Delete one minimum trade size
Deletes the firm's minimum trade size with this `id`, and answers with the body `{ data: { deleted: true } }`. When the firm has no minimum trade size with this `id`, nothing is deleted, and the response has the status `200` and the body `{ data: { deleted: false } }`.
Validate a proposed trade amount
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.