Skip to main content

Module consts

Module consts 

Source
Expand description

Constants for the Polymarket adapter.

Constants§

BATCH_ORDER_LIMIT
Maximum orders per POST /orders batch request; Polymarket caps batch submits at 15.
CANCEL_ALREADY_DONE
DUST_POSITION_THRESHOLD
Minimum position size (in shares) reported in position status reports. Smaller positions are filtered as dust during reconciliation.
HTTP_RATE_LIMIT
Requests per minute.
INVALID_API_KEY
LOT_SIZE_SCALE
MAX_PRICE
MIN_PRICE
POLYMARKET
POLYMARKET_NAUTILUS_BUILDER_CODE
Polymarket builder code for order attribution.
PUSD
SNAP_OVERFILL_ULPS
Overfill tolerance for OrderFillTracker, in ulps of the instrument size precision (resolves to 0.0001 at size_precision=6). See docs/integrations/polymarket.md (Fill quantity normalization).
SNAP_UNDERFILL_ULPS
Underfill tolerance for OrderFillTracker, in ulps of the instrument size precision (resolves to 0.01 at size_precision=6). See docs/integrations/polymarket.md (Fill quantity normalization).
USDC_DECIMALS
WS_DEFAULT_SUBSCRIPTIONS
WS_MAX_SUBSCRIPTIONS

Statics§

POLYMARKET_VENUE