question

Upvotes
Accepted
3 0 0 4

FXD5 under DSS standard solution tick history venue by day file

This is with regards to FXD5 file that trigger on daily basis in tick history venue by day file. User has reported below issue - Could you please investigate


To do the file size validation and retry mechanism, I tried to print the below metadata info in trace file. Looks there is something incorrect in the file size coming from the api param. Could you check with Rifinitiv once.

Examples:

File Date: 2022-07-19

File Name: FXD5-2022-07-19-NORMALIZEDMP-Data-1-of-1.csv.gz

fileSizeFromAPIParam : 31588724 in bytes

fileSizeFromAPIDownload : 131151532 in bytes

File Date: 2022-07-20

File Name: FXD5-2022-07-20-NORMALIZEDMP-Data-1-of-1.csv.gz

fileSizeFromAPIParam : 32914637 in bytes

fileSizeFromAPIDownload : 136950082 in bytes

dss-rest-apitick-history-rest-apivenue-by-day
icon clock
10 |1500

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

Hi @shwetha.krishnaiah02 ,

Please confirm the SubscriptionId to use to pull FXD5 files?

The two SubscriptionIDs that I see on my side are:

subscriptionids.gif

And neither results in FXD5 files, it's either separately named files such as EWX-2022-07-20-NORMALIZEDMP-Dat or FXD5H files.

subscriptionids.gif (13.7 KiB)

@shwetha.krishnaiah02

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@shwetha.krishnaiah02

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@shwetha.krishnaiah02

The file size in the API is the size of the compressed file (.gz).

 {
            "PackageDeliveryId": "0x0819190d89ee0ec9",
            "UserPackageId": "0x04f9cf0081159cb1",
            "SubscriptionId": "0x0400dc1d24a00cb4",
            "Name": "FXD5-2022-07-20-NORMALIZEDMP-Data-1-of-1.csv.gz",
            "CreateDateTime": "2022-07-20T21:37:54.466Z",
            "ReleaseDateTime": "2022-07-21T01:00:00.000Z",
            "FileSizeBytes": 31588724,
            "Frequency": "Daily",
            "ContentMd5": "f18b9bec756dde5722d60f83f46de19a"
        },
        {
            "PackageDeliveryId": "0x0818c2c30a2e0e40",
            "UserPackageId": "0x04f9cf0081159cb1",
            "SubscriptionId": "0x0400dc1d24a00cb4",
            "Name": "FXD5-2022-07-19-NORMALIZEDMP-Data-1-of-1.csv.gz",
            "CreateDateTime": "2022-07-19T21:39:40.550Z",
            "ReleaseDateTime": "2022-07-20T01:00:00.000Z",
            "FileSizeBytes": 32914637,
            "Frequency": "Daily",
            "ContentMd5": "969f740b0db7b40cc492692711b59792"
        },

1658464774933.png

The fie sizes after decompressing are:

1658464923033.png

The client should disable the automatic de-compression feature when downloading the file. Then, de-compess the file on the machine.


1658464774933.png (46.1 KiB)
1658464923033.png (46.4 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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