...package
Confusingly, this only works when using the `eikon` package, and not when using the refinitiv-dataplatform package. What am I missing? I thought the latter was a successor of the deprecated `eikon` package?
The below gives an empty dataframe, indicating no valid results were found.
import refinitiv.dataplatform as rdp
print(rdp.__version__)
"1.0.0a13"
df = rdp.get_data(
['912828N30'],
['TR.YieldToMaturityAnalytics(ValuationDate=2018-10-09)'],
)
df # empty
The below works
import eikon as ek
print(ek.__version__)
"1.1.14"
df, err = ek.get_data(
['912828N30'],
['TR.YieldToMaturityAnalytics(ValuationDate=2018-10-09)'],
)
df
InstrumentYield to Maturity0912828N303.039743