Hello,
I'm trying to execute a IPA query and it does not work.
I got this error: ""
Here is the code
import refinitiv.data as rd
import refinitiv.data.content.ipa.financial_contracts as rdf
from refinitiv.data.content.ipa.financial_contracts import option
rd.open_session()
response = option.Definition(
instrument_tag = "EURGBP_1M",
underlying_type = option.UnderlyingType.FX,
underlying_definition = option.FxUnderlyingDefinition("EURGBP"),
barrier_definition = option.FxBarrierDefinition(barrier_mode = "American",
in_or_out = "Out",
up_or_down = "Down",
level = 0.85449),
tenor = "1M",
call_put = "Call",
exercise_style = "EURO",
strike = 0.8597,
notional_amount = 1000000,
notional_ccy = "EUR",
pricing_parameters = option.PricingParameters(valuation_date = "2023-09-15T00:00:00Z")
).get_data()
response.data.df
here is the error got :
Can someone has a look ?
Thanks:
Note: The same error occurs when trying to use a FxBinaryDefinition