Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by koen.breemersch · Nov 09, 2020 at 02:30 PM · eikoneikon-data-apiworkspacepythonworkspace-data-apirefinitiv-dataplatform-eikonapilipper

Extract historical Lipper fund performance data

I'm trying to extract monthly performance data for a list of Belgian Lipper funds. However, the result I obtain only shows the most recent year-to-date performance. My API request (in R, so forgive me for the slight difference in syntax with the Python syntax) for a single specific Lipper fund (LP60022034) is the following:

lipper_data<-get_data(list(LP60022034),list('TR.FundRollingPerformance.date','TR.FundRollingPerformance'), list("SDate"="-1Y","EDate"="0D"))


However, when I run the API through the excel-instrument builder, I successfully obtain what I am searching for:

=TR("LP60022034";"TR.FundRollingPerformance(Interval=M RollTimeFrame=1Y);TR.FundRollingPerformance(RollTimeFrame=1Y Interval=M).date";"CH=Fd RH=IN";B2)

Could you help me point out my error in my formula? An answer in Python syntax will do just fine, I can then translate to R.

FYI: I have no problem obtaining historical net asset value data through the very same type of R-code chunk listed above.


Many thanks in advance

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Nov 09, 2020 at 08:45 PM

Hi @koen.breemersch, Try passing in the parameters as an object:

>>> df, err = ek.get_data('LP60022034', ['TR.FundRollingPerformance.date','TR.FundRollingPerformance'], parameters={'Interval': 'M', 'RollTimeFrame': '1Y'} )
>>> df
    Instrument                  Date  Rolling Performance
0   LP60022034  2019-12-06T00:00:00Z             0.989131
1   LP60022034  2020-01-03T00:00:00Z             2.237115
2   LP60022034  2020-02-07T00:00:00Z             5.804150
3   LP60022034  2020-03-06T00:00:00Z            -9.107577
4   LP60022034  2020-04-03T00:00:00Z           -12.932246
5   LP60022034  2020-05-08T00:00:00Z             7.998068
6   LP60022034  2020-06-05T00:00:00Z             8.700028
7   LP60022034  2020-07-03T00:00:00Z            -2.843592
8   LP60022034  2020-08-07T00:00:00Z            -3.635662
9   LP60022034  2020-09-04T00:00:00Z             0.568728
10  LP60022034  2020-10-02T00:00:00Z             3.015731
11  LP60022034  2020-11-06T00:00:00Z            -4.347196
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
12 People are following this question.

Related Questions

Pull all holdings of a fund using Lipper ID or eMAXX ID

Pull All Expired Contracts

Hi. I want to fetch historical 1 minute intraday prices for a portfolio of European stocks via API. Which API is the most best for this task? Thanks

ERROR in Data

Time Zone API Details!

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges