Documentation
    Preparing search index...
    • Map the generated policy layout to DelayedExecutionPolicy.

      Parameters

      • p: {
            delay_ms: bigint;
            gap_wait_ms: bigint;
            min_sell_quantity: bigint;
            mint_capacity: bigint;
            order_fee: bigint;
            per_account_cap: bigint;
            pyth_channel: number;
            pyth_price_buffer_ms: bigint;
            sell_capacity: bigint;
            settle_payout_batch: bigint;
            settle_refund_batch: bigint;
            stall_timeout_ms: bigint;
            stuck_threshold_ms: bigint;
            svi_max_age_ms: bigint;
        }
        • delay_ms: bigint

          Latest τ may fall after placement. τ rounds down to the policy channel's tick at or before t₀ + delay_ms.

        • gap_wait_ms: bigint

          Commit accepts a backup tick for a cohort only once now is this far past its τ.

        • min_sell_quantity: bigint

          Smallest early-sell close quantity.

        • mint_capacity: bigint

          Most unfinished queued mints per market.

        • order_fee: bigint

          Flat fee charged at placement. Kept on a fill and on limit or admission refunds; returned on every other refund.

        • per_account_cap: bigint

          Most unfinished queued orders per account per market.

        • pyth_channel: number

          Pyth Lazer channel new orders are priced on: 2 (fixed_rate@50ms) or 3 (fixed_rate@200ms). Its tick period is τ's grid. Each order stores the channel it was placed under.

        • pyth_price_buffer_ms: bigint

          Switches the backup tick on or off. 0 accepts only the update stamped exactly τ. Above 0, once now is gap_wait_ms past τ, a cohort also accepts its single backup: the update stamped one tick of its own stored channel after τ. The value is not a window: the setter keeps it at 0 or one tick of the policy channel.

        • sell_capacity: bigint

          Most unfinished queued sells per market.

        • settle_payout_batch: bigint

          Most records one settle_step call visits while paying Open records.

        • settle_refund_batch: bigint

          Most records one settle_step call visits while refunding leftover orders.

        • stall_timeout_ms: bigint

          Sets each order's deadline: max(min(τ + stall_timeout_ms, expiry), last deadline). At or past it the order is refunded, never filled.

        • stuck_threshold_ms: bigint

          Placement refuses new orders while an uncommitted cohort is this far past its τ with nothing newer committed, or while two or more uncommitted cohorts are each this far past their τ.

        • svi_max_age_ms: bigint

          Oldest Block Scholes SVI a placement accepts into an order's volatility snapshot.

      Returns queue.DelayedExecutionPolicy