Hi, I'm trying to stream prices of different assets using the eikon api, but I can only stream currency prices e.g. GBP=, ETH= etc. When I try to stream equity prices such as AAPL.O or IBM it returns <NA>. Is it possible to stream prices of other instruments? Also, where can I find the full documentation for all methods including streamingprices? Thanks
import eikon as ek
import time
ek.set_app_key('~')
streaming_prices = ek.StreamingPrices(
instruments = ['AAPL.O],
fields = ['TIMACT','CF_BID','CF_ASK']
)
streaming_prices.open()
while True:
time.sleep(1)
df = streaming_prices.get_snapshot()
print(df)