-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Description
Hi,
This example from your documentation is not working:
>>> r = pricing.PricingStream(accountID=accountID, params=params)
>>> rv = api.request(r)
>>> maxrecs = 100
>>> for ticks in r:
>>> print json.dumps(R, indent=4),","
>>> if maxrecs == 0:
>>> r.terminate("maxrecs records received")
I get this error: 'PricingStream' object is not iterable
Here what I am doing:
cross = 'USD_JPY'
r = pricing.PricingStream(accountID=account_id, params={"instruments": cross})
rv = api.request(r)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels