Build Your Own
Call start_publisher() to make sure the engine is running before you request data. Build it step by step:
Step 1 — Import the library
import icepython as iceStep 2 — Force the publisher to start:
ice.start_publisher()Step 3 — Proceed with your data requests:
data = ice.get_quotes(['BRN 1!-ICE'], ['last'])
print(data)
Output:
start_publisher() returns nothing. Confirm success by making a request afterwards.