Skip to main content

Module providers

Module providers 

Source
Expand description

Instrument provider for the Polymarket adapter.

Structs§

PolymarketInstrumentProvider
Provides Polymarket instruments via the Gamma API.

Functions§

build_gamma_params_from_hashmap
Builds GetGammaMarketsParams from a HashMap<String, String>.
extract_condition_id
Extracts the condition ID from an instrument symbol.
fetch_instruments
Fetches instruments from the Gamma API, respecting any configured filters.
resolve_tag_slug
Resolves a tag slug to a tag ID by querying the Gamma tags endpoint.