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 mohammed_sabur · Jul 10, 2019 at 05:35 PM · eikoneikon-data-apiworkspacepythonworkspace-data-apirefinitiv-dataplatform-eikondatatime-seriesindex

Time-series Total Return for Index (benchmark) eg .FTLC

Hi, using TR.TotalReturn to get the monthly time series of returns for an index doesn't work e.g. df, e = ek.get_data(['.FTLC'],['TR.TotalReturn.date','TR.TotalReturn'],parameters={'SDate':'0M','EDate':'-59M','Frq':'M','CH':'Fd'}). Can you please confirm what I should be using?

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov.1 · Jul 10, 2019 at 06:59 PM

Total return for indices is not available through Eikon Data APIs. However you can get it using Datastream Web Service.

import DatastreamDSWS as dsws
ds = dsws.Datastream(username='XXXXXXX', password='XXXXXXX')
df = ds.get_data(tickers='<.FTLC>', 
                 fields=['RI'], start='-5Y', end='-0M', freq='M')
df['Total Return'] = df.pct_change()
df
If you don't have credentials for Datastream Web Service (Datastream Child ID and password), contact your Refinitiv account team.
Comment
mohammed_sabur

People who like this

1 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.

avatar image
REFINITIV
Answer by Wan Po.Lee · Jul 10, 2019 at 10:26 PM

@mohammed_sabur, I think you need to clarify what you meant by “total return” first. The RIC: “.FTLC” itself is a capital return index (CR) as the index do not include the distributions from the underlying assets (constituents). There is a total return (TR) version of the same index and its RIC is “.TRINMX”. You can check the return from the TR version is always higher than or equal to the CR version because the distributions of the underlying assets are reinvested in the TR version.

Since index itself never pays dividends, there is only one “return” you can derive from the index value itself. The return of an index is simply:

(Current index value / Previous index value) – 1

You should able to calculate that from the index time-series directly. Typically the historical value of an index can be obtained by TR.CLOSEPRICE field. You should set the “Adjusted” flag to 1 so the historical data is adjusted in case there is a split or merge event (re-base of the index), but that is very rare for indices.

Comment
mohammed_sabur

People who like this

1 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.

avatar image
Answer by mohammed_sabur · Jul 11, 2019 at 03:30 AM

Thanks. Both answers help.

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 >
9 People are following this question.

Related Questions

Requesting TR time series data for listed and delisted rics.

Retrieve Portfolio charted performances API from PORT app

Using Python api to get adjusted price of stocks

20 years of total returns

How to use get_data with RIC, date combinations?

  • 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