Expand description
Constants for the Polymarket adapter.
Constants§
- BATCH_
ORDER_ LIMIT - Maximum orders per
POST /ordersbatch 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.
- DUST_
SNAP_ THRESHOLD - Dust band (in shares) for fill quantity normalization. Set to one cent-share, matching Polymarket’s CLOB tick quantization.
- DUST_
SNAP_ THRESHOLD_ DEC - Decimal form of
DUST_SNAP_THRESHOLDforDecimalarithmetic paths. - GAMMA_
CONDITION_ IDS_ BATCH_ SIZE - Maximum number of
condition_idsaccepted in a single Gamma/marketsquery. - HTTP_
RATE_ LIMIT - Requests per minute.
- INVALID_
API_ KEY - LOT_
SIZE_ SCALE - MAX_
PRICE - MIN_
PRICE - POLYMARKET
- Venue identifier string.
- POLYMARKET_
NAUTILUS_ BUILDER_ CODE - Polymarket builder code for order attribution.
- PUSD
- USDC_
DECIMALS - WS_
DEFAULT_ SUBSCRIPTIONS - WS_
MAX_ SUBSCRIPTIONS
Statics§
- POLYMARKET_
CLIENT_ ID - Static client ID instance.
- POLYMARKET_
VENUE - Static venue instance.