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 /
avatar image
Question by kilian · Oct 24, 2019 at 01:05 PM · get_timeseriespython get_timeseries weekly weekdayweekdayweekly

Can I choose the weekday for which I want to obtain weekly stock prices via get_timeseries? Seems like weekly price data is always located to Fridays.

no matter which date I choose, the weekly data is always shown for Fridays:

In[124]: ek.get_timeseries('ALGN.O', fields='CLOSE', start_date='2019-09-24', interval='weekly')
Out[124]: 
ALGN.O       CLOSE
Date              
2019-09-27  175.84
2019-10-04  181.59
2019-10-11  200.16
ek.get_timeseries('ALGN.O', fields='CLOSE', start_date = '2019-09-26', interval = 'weekly')
Out[125]: 
ALGN.O       CLOSE
Date              
2019-09-27  175.84
2019-10-04  181.59
2019-10-11  200.16
2019-10-18  213.88

Would be great if somebody could help along.

Thanks and regards

Kilian

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 chavalit.jintamalit · Oct 25, 2019 at 06:07 AM

Hi @kilian

The reporting date is at the end of the period.

For example, monthly - end of the month, weekly - end of the week, yearly - end of the year.

I also checked https://docs-developers.refinitiv.com/1571982546960/14684/book/en/eikon/index.html#get_timeseries and it does not support changing the end of period.

So it is not possible to change.

But if you are only interested in CLOSE field.

You can request daily data and drop out other days except for Tue.

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

Different data length between Rhistory and get_timeseries

API request returns error invalid RIC for get_timeseries

Missing dates for get_timeseries and no VWAP data for German stocks

I notice that get_timeseries() with interval = minute only allows me to retrieve minute level data up to 7 days. I am wondering is it because limitation of my subscription?

get_timeseries "normalize" parameter

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges