I'm using DSS API for searching option symbols for OPR exchange.
I'm getting results such as
{
"Identifier": "SPXx182015000.U",
"IdentifierType": "Ric",
"Source": "OPQ",
"Key": "VjF8MHgwMDEwMGIwMDFhYWM1MjY4fDB4MDAxMDBiMDAxNjhlZTk4ZnxPUFF8RFZRVXxERVJWfE9QVHxEfHxTUFh4MTgyMDE1MDAwLlV8NzE1NA",
"Description": "SPX Dec0 1500.0P",
"InstrumentType": "DerivativeQuote",
"Status": "Valid",
"ExchangeCode": "OPQ",
"CurrencyCode": "USD",
"FuturesAndOptionsType": "Options",
"PutCallCode": "Put",
"ExpirationDate": "2020-12-18T00:00:00.000Z",
"StrikePrice": 1500,
"AssetStatus": "Active"
}
{
"Identifier": "FISVM152111000.U",
"IdentifierType": "Ric",
"Source": "OPQ",
"Key": "VjF8MHgwMDEwMGIwMDFkMWY2YTU4fDB4MDAxMDBiMDAxZDFmM2ZkYnxPUFF8RFZRVXxERVJWfE9QVHxEfHxGSVNWTTE1MjExMTAwMC5VfDcxNDY",
"Description": "FISV Jan1 110.0P",
"InstrumentType": "DerivativeQuote",
"Status": "Valid",
"ExchangeCode": "OPQ",
"CurrencyCode": "USD",
"FuturesAndOptionsType": "Options",
"PutCallCode": "Put",
"ExpirationDate": "2021-01-15T00:00:00.000Z",
"StrikePrice": 110,
"AssetStatus": "Active"
}
I want to get a generic logic so that i can get the RIC from the "Description" of the above result.
Is there any such logic?