question

Upvotes
Accepted
3 0 0 1

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.

1 Answer

Upvotes
Accepted
62.2k 174 45 65

@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.