Is there a possibility to retrieve options via Rsearch EIKON Data API (Python)?

1637757276129.png

How could I replicate the request presented on the screenshot attached in Python?

Tagged:

Best Answer

  • Hi @susskaya.anita

    Try the following:

    import refinitiv.dataplatform as rdp

    ...

    response = rdp.Search.search(
    filter = "UnderlyingQuoteRIC xeq 'SPY' and IsChain eq false and \
    CallPutOption xeq 'Put' and ExerciseStyle xeq 'A' and \
    PeriodicityCode eq 'M' and ExpiryDate ge 2022-04-01 and \
    ExpiryDate le 2022-04-30",
    order_by = "StrikePrice",
    top = 2000,
    select = "StrikePrice, ExpiryDate, RIC"
    )
    response.data.df

    ahs.png

Answers