Hi Team,
Hoping for your assistance in providing the Python Code for the following REST API:
POST
https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractRaw
{
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryTimeAndSalesExtractionRequest", "ContentFieldNames": [
"Trade - Price",
"Trade - Volume",
"Trade - Exchange Time",
"Trade - Qualifiers"
],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{ "Identifier": "EDc1", "IdentifierType": "Ric" }
],
"ValidationOptions": {"AllowHistoricalInstruments": true}
},
"Condition": {
"MessageTimeStampIn": "GmtUtc",
"ApplyCorrectionsAndCancellations": false,
"ReportDateRangeType": "Range",
"QueryStartDate": "2018-05-08T00:00:00.000Z",
"QueryEndDate": "2018-05-08T23:59:59.999Z",
"DisplaySourceRIC": true
}
}
}
Regards,
Sam Garcia