• Create a Limit order type with named parameters.

    Parameters

    • price: Numeric

      Limit price as human-readable string (e.g., "0.025") or raw bigint

    • Optionaltimestamp: string

      Time-in-force expiry (Unix seconds as string)

    Returns OrderType

    const ot = limitOrder("0.025", String(Math.floor(Date.now() / 1000)));