Module clob

Module clob 

Source
Expand description

CLOB (Central Limit Order Book) REST API client

This module provides a client for interacting with Polymarket’s CLOB REST API, which allows fetching orderbooks, trades, and managing orders.

Structs§

BatchTokenRequest
Request for batch price/orderbook queries
ClobClient
CLOB REST API client
L2Headers
L2 authentication headers for CLOB API requests
MidpointResponse
Midpoint response from GET /midpoint endpoint
Order
Order information
Orderbook
Orderbook snapshot
PriceHistoryPoint
Historical price point
PriceHistoryResponse
Price history response
PriceLevel
Price level in the orderbook
PriceResponse
Price response from GET /price endpoint
SpreadRequest
Request for spread calculation
TokenPrices
Price data for a single token (both sides)
Trade
Trade information

Enums§

OrderStatus
Order status
OrderType
Order type
PriceInterval
Time interval for price history queries
Side
Order side (buy or sell)