import eikon as ek import datetime ek.set_app_key('mykey') streaming_prices = ek.StreamingPrices( instruments = ['GBP=','JPY=', 'CAD='], fields = ['CF_BID','CF_ASK','OPEN_PRC', 'CF_HIGH','CF_LOW', 'CF_CLOSE'] ) streaming_prices.open(); df = streaming_prices.get_snapshot( instruments = ['JPY=', 'CAD='], fields = ['CF_BID','CF_ASK'] ) display(df) streaming_prices.close();
This is the code I am using. but it takes too much time. Still, I am not getting any response. Guide me to get real-time streaming data.