• Validate a price + qty against constraints. Snaps price to the tick size and returns the snapped value; rejects out-of-band prices and bad quantities.

    price may be omitted for an order that has none (market), in which case only the quantity is checked and no price comes back. Quantity is checked first, so a request wrong in both ways reports the quantity, as it always has.

    Parameters

    Returns ValidationResult