Pricing / Duration

We are trying to pull a price and duration currently for a given RIC like: USFN3020=TWEB


Referenced: https://apidocs.refinitiv.com/



Which api would be appropriate?

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    @bfilkey

    Since you're subscribing to Refinitiv Eikon, the API you need to use is Eikon Data API. Here's a simple call using Eikon Data APIs for Python library that retrieves the data you're interested in.

    ek.get_data('USFN3020=TWEB',['CF_LAST','TR.FiOptionAdjustedDuration'])

Answers

  • The fields I am trying to pull specifically:


    CF_LAST

    and

    TR.FiOptionAdjustedDuration


    using a rest api