question

Upvotes
Accepted
3 0 1 2

TRTH - Facing error while downloading/extracting data after migration to new url

Hello, I am raising below issue on behalf of a client:

We downloaded 'Trade - Open Interest' data using TickHistoryTimeAndSales for the SPXW and AAPL options chain. But the file downloaded has some error page in it and not the expected data. Although this has happened only twice after we migrated to the new API endpoints, we would still want to know how this could be avoided and what the errors mean. Ideally, we would want the errors to appear while the connection is being made or the data is being polled.


1) I am attaching the Python code. Please check if it is correct as per the migration (issue is intermittent so I do not think its related to the code).

2) Error Code when extracting the data. Please check this file and let me know if you can find the cause of the issue. As we can get the notes file but when downloading we get this error.

download_cboe_oi_daily.py.txt20210513_spxw_opt_error.txt

tick-history-rest-apimigration
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

I can run the code properly.

I assume that the error message (20210513-spxw-opt-error.txt) was sent by the DSS server. It is better to contact the development team to verify the problem on the server.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Hi @mohamed.hisham

Is the issue still outstanding?


Click below to post an Idea Post Idea