-
Running Concurrent Asynchronous Requests Efficiently using Refinitiv's Data Platform APIs
This question is kind of me seeking advice on this process based off of my knowledge. What I am doing right now, is that I am trying to pull data asyncrhonously using Refinitiv (financial Platform from the London Stock Exchange Group)'s APIs. There are about 5 tasks I am trying to run asynchronously using Python's Async IO…
-
How to accurately get data between your customised periods specified
Hi everyone, One thing that I am confused with regarding get_data_async, is that, depending on the datapoints I try and retrieve, I can't seem to get data within the scope of years that I specify. Say I have this for example: current_year = datetime.today().year start_year = current_year - 8 async with semaphore: #…
-
Pulling PERATIO from get_data_async
Hi everyone, I have a question regarding asynchronously pulling the PERATIO value. Here, I am following the notation as I found it in the Data Item Builder. However, when I try to pull data asynchronously with Python, it doesn't work. data = await content.fundamental_and_reference.Definition(universe='AAPL.O',…
-
Obtaining Years alongside retrieval of Fundamental Data Asynchronously
Hi everyone, I have a question regarding the Date column not coming with get_data_async function calls. When I am making calls like so: roa_datapoints = await content.fundamental_and_reference.Definition(universe=[f'{ric}'],fields=["TR.F.IncBefDiscOpsExordItems","TR.F.TotCurrAssets","TR.CommonName"],parameters={"SDate":…
-
Extractions/ExtractWithNotesResult does not honor timeout headers.
While Extractions/Extract* honors wait values passed in the Prefer header, Extractions/Extract*Result always lingers for 30 seconds. We use a serverless architecture for requesting extractions, and we're billed per second of runtime. I would prefer not to have instances alive and waiting for no reason. NOTE: I am aware of…
-
Datascope select monitoring api respond-async wait time
Hi, I am building a system to process hundreds of requests for many different users, for the Datascope select api for TickHistoryTimeAndSalesExtraction. My plan is to handle asynchronicity in the application by calling the monitor api (i.e. /RestApi/v1/Extractions/ExtractRawResult(ExtractionId='0x123456789')) every 30…
-
Datascope select asynchronous requests best practice
Given that the datascope select api typically has a rate limit duration of 60 seconds, why would I have a wait time of less than 60 seconds on an asynchronous request, given that the request will be returned as soon as a result is available anyway? Take the following example, an asynchronous request takes exactly 45…
-
streaming prices request
asyncio.get_event_loop().run_until_complete(asyncio.sleep(1)) i'm using asyncio loop to remain the ek.StreamingPrices function to remain the data stream open i need to know since i'm continuously keeping the stream open and sleeping for one second streaming_prices = ek.StreamingPrices( instruments = newlist, fields =…
-
Eikon API - AsynclibraryNotFoundError
when we use Eikon API, it shows the error message. Please tell us the cause of this error, thanks.
-
Code 221 'The access to field(s) denied.' when trying to access event data with Refinitiv Data wh...
...ile Eikon retreival works Hi, I trying to get event data using Refinitiv Data, using both sync requests as async requests. No error code is supplied for sync requests (just an empty df), but when I use async I get error code 221 'The access to field(s) denied.' I find the error strange since I have access to event data…
-
Streaming Prices | Error "coroutine 'StreamingPrice.open_async' was never awaited"?
Installed fresh python 3.11 / fresh eikon and getting below error and can't for the life of me solve it. Code is simple streaming price pull : sp = ek.StreamingPrices(instruments=["LCOc1"], fields=['CF_LAST']) sp.open() Important bit of error is: await asyncio.wait(task_list, return_when=asyncio.ALL_COMPLETED) File…
-
Support for asyncio via Python
Hi, could I check if there is anyone who has experience using, or knows how to use the Eikon API with the asyncio package for Python?
-
Synchronous method with asynchronous map
Hi, I'm using the Refinitiv Data Plataform for python and I was wondering if there is any, functional or structural, difference between use map_async with rdp.HistoricalPricing.get_summaries insted of rdp.HistoricalPricing.get_summaries_async with asyncio.
-
What is the end to end processing time for Asynchronous screening?
We are planning to implement Asynchronous screening APIs. In Claims system, we screen entities (individual/organization) when a Payment is issued. Currently, we are calling Synchronous API when a system user is trying to post Payment to verify if Payee is flagged. If there is a strong match, we throw a business error…
-
spyder 5.1.5 error,eikon data api
on import eikon i m getting this [SpyderKernelApp] ERROR | Exception in message handler: Traceback (most recent call last): File "C:\Users\adamk.ALPHA\Anaconda3\lib\site-packages\spyder_kernels\comms\frontendcomm.py", line 164, in poll_one asyncio.run(handler(out_stream, ident, msg)) File…