lighter.raw.markets table contains market metadata for Lighter.
Table Details
| Property | Value |
|---|---|
| Clustering Key(s) | (none) |
Table Columns
| Column Name | Description |
|---|---|
| market_id | Unique market identifier |
| symbol | Market symbol (e.g., BTC for perps, ETH/USDC for spots) |
| market_type | ’perp’ or ‘spot’ |
| base_asset_id | Base asset ID |
| base_l1_address | L1 contract address of base asset. NULL for perpetuals |
| quote_asset_id | Quote asset ID |
| base_symbol | Base asset symbol |
| quote_symbol | Quote asset symbol |
| collateral_asset_id | Collateral asset ID for perpetuals |
| collateral_symbol | Collateral asset symbol (e.g., USDC). NULL for spots |
| status | Market status (e.g., ‘active’) |
| liquidation_fee | Liquidation fee parameter |
| default_initial_margin_fraction | Default initial margin fraction for perpetuals |
| maintenance_margin_fraction | Maintenance margin fraction for perpetuals |
| closeout_margin_fraction | Closeout margin fraction for perpetuals |