# CLOB

## Clob Pair

[Clob pair](https://github.com/dydxopsdao/networks/blob/fd7ee6e63e7e4b3ffab4fe600ac7cdb77c28d88d/dydx-mainnet-1/genesis.json#L618-L949) represents a Perpetual, Spot or a given product in the state. Each clob pair has the following parameters:

<table data-header-hidden><thead><tr><th width="318"></th><th></th></tr></thead><tbody><tr><td>Title</td><td>Definitions</td></tr><tr><td><code>id</code></td><td>ID of the orderbook that stores all resting liquidity for this CLOB.</td></tr><tr><td><code>status</code></td><td><p>Status of the CLOB, which could be any of the following:</p><ol><li><code>STATUS_UNSPECIFIED</code>: Default value. This value is invalid and unused.</li><li><code>STATUS_ACTIVE</code>: this represents an active clob pair.</li><li><code>STATUS_PAUSED</code>: this represents a clob pair that is paused until further notice.</li><li><code>STATUS_CANCEL_ONLY</code>: clob pairs in this state only accept cancellations.</li><li><code>STATUS_POST_ONLY</code>: clob pairs in this state only accept orders which are post-only.</li><li><code>STATUS_INITIALIZING</code>: this represents a newly-added clob pair. Clob pairs in this state only accept orders which are both short-term and post-only.</li></ol></td></tr><tr><td><code>perpetual_clob_metadata</code></td><td>Product-specific metadata.</td></tr><tr><td><code>step_base_quantums</code></td><td>Minimum increment in the size of orders on the CLOB, in base quantums.</td></tr><tr><td><code>subticks_per_tick</code></td><td>This parameter defines the tick size of the orderbook by defining how many subticks are in one tick, i.e. the subticks of any valid order must be a multiple of this value.</td></tr><tr><td><code>quantum_conversion_exponent</code></td><td><code>10^Exponent</code> gives the number of QuoteQuantums traded per BaseQuantum per Subtick.</td></tr></tbody></table>
