interface ValidationResult {
    code?: ValidationCode;
    ok: boolean;
    price?: number;
    reason?: string;
}

Properties

Properties

Machine-readable form of reason; present on every rejection.

ok: boolean
price?: number

Price after tick-size snapping (when applicable).

reason?: string