Skip to main content

validate_create

Function validate_create 

Source
pub fn validate_create(
    request: &CreateOrderRequest,
) -> Result<(), KalshiHttpError>
Expand description

Validates one primary-account V2 create request before it is encoded.

ยงErrors

Returns an error if the account, ticker, price, count, reduce-only flag, or expiration is unsupported.