Build Your Own:

Use get_search_facets() to discover which facets you can filter on before running a search. Build it step by step:

Step 1 — Import the library

import icepython as ice

Step 2 — Retrieve the available facets:

facets = ice.get_search_facets()
print(facets)

Step 3 — Pick a facet and pull its filter values with get_search_filters():

filters = ice.get_search_filters('types')
print(filters)

Output:

('Classifications', 'County', 'Countries', 'Currency', 'Day', 'Exchanges', 'Locations', 'Markets', 'Mic', 'Months', 'Option Types', 'Parents', 'Roots', 'States', 'Strike', 'Suffix', 'Suppliers', 'Term', 'Types', 'Years')
(('F.TYP', 'Types', 1), ('F.TYP.10', 'Assessment', 2), ('F.TYP.7', 'Bond', 2), ('F.TYP.2', 'Cash Energy', 2), ('F.TYP.14', 'ETF', 2), ('F.TYP.5', 'Forex', 2), ('F.TYP.12', 'Fund', 2), ('F.TYP.6', 'Fundamental', 2), ('F.TYP.0', 'Future', 2), ('F.TYP.1', 'Future Option', 2), ('F.TYP.4', 'Index', 2), ('F.TYP.13', 'Prediction Market', 2), ('F.TYP.11', 'Rate', 2), ('F.TYP.3', 'Spread', 2), ('F.TYP.9', 'Stock', 2), ('F.TYP.8', 'Stock Option', 2), ('F.TYP.15', 'Treasury', 2))