-
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: #…
-
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":…
-
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',…
-
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 =…
-
Code 221 'The access to field(s) denied.' when trying to access event data with Refinitiv Data while
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 using Eikon's Python API.…
-
Eikon API - AsynclibraryNotFoundError
when we use Eikon API, it shows the error message. Please tell us the cause of this error, thanks.
-
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.
-
Python API DataGrid endpoint
Hi, in version 1.1.5 of the eikon python package the _endpoint for the "get_data" method seems to be DataGrid_StandardAsync without having the option to be set to DataGrid. Am I correct and is there a rationale behind that choice? Many regards Manuel
-
how to bind async handle on web socket python?
Hi refinitiv community I am using Rfinitiv connector client with asyncio and websockets (python) packages Trying to bind the update handler to async function so I can await other functions on processing. the refinitiv data package use synchronic handle_update function so I can not add the async one. existing call-back…
-
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…
-
Exception handling during asyncio tasks
Hello. In following code example objs variable will be empty (the results of all tasks will be lost), because one of the tasks raised exception. How can I come over that? For example, so that one of the tasks returns a normal answer, and the other returns just None. Thank you. tasks_gather = asyncio.gather(…
-
Error: module 'anyio' has no attribute 'Lock'
Raised in behalf of user as he is getting this error though using the .NET library and so far he is having no problems. He has already installed version eikon-1.1.14. Will share link to user for him to provide additional information. Please see details below. From Eikon API [18]: ############# Eikon ###############…
-
Long Running Requests Return no Progress Update - DSS C# SDK
I have a question around the extractwithnotes async call. When running short requests I have no issue seeing the progress of the job on the callback method however when there is a larger request there is no progress or status update (as far as I can tell). The application awaits the aysnc result but it never actually…
-
async function error
Hi team, I am going to write a for loop which will generate several thousands get_data function by investor id for a list of stocks. If I am use sync method, it takes extremely long time to finish the task. Hence, I try to using Async approach to do so. Wonder it is possible? I try to implement the async approach as below…
-
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…
-
How to check if Threads are done.
I implemented a for loop to request data for various assets: String[] assets = new string[] { "Cc1", "Cc2", "ESc1", "ESc2" }; foreach(String s in assets) { TimeSeriesRequest(s); Console.WriteLine("OK"); } In the StopMessagePump() function I had to remove the Frame.Continue = false; statement because otherwise, the code…
-
WC1 Api Production Issue: Sync and Async case results missing details issue
We have an issue with WC1 api which is that when we create an asynchronous case against an individual, then we create synchronous case against the same person, Our problem is that results are mismatched. i mean there is some JSON fileds that exists in the synch results and does not exists in the async results. The missing…
-
Asynchronous Screening request not returning updated results
Hi Team, Just need confirmation from your side , when we are using Async call for rescreening , we have following steps. 1:SEQ-screen-async: Screen a case . 2:SEQ-case-audit: Retrieve the audit log for a case, check “actionType” and its value is “SCREENED_CASE”. 3:SEQ-case-investigate-results: Get screening results We are…
-
HSBC - First Screening
rlst.zip Hi, I was able to do my first Screening. Based on the answer and what I was reading I had a couple of doubts. Firstly, the service dont gave me an answer at the time, we had to wait asynchronously to obtain the result of the screening. Please confirm me if the way I am using the API is correct. 1) / v1 / groups 2)…
-
Why does my Datascope Select REST API synchronous request still return a 202?
The REST API Help Site claims "The API defaults to synchronous responses per the OData specification, ...", but when I have long running synchronous request (one where I deliberately do not provide a "Prefer: respond-async" header) I still get back a 202 continuation reply after 30 seconds.
-
What is the difference between GetInflightStatusAsync and GetInflightStatus
Greetings all Could u kindly help me to explain the difference please? When and how to use the function with Async?