Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Datastream /
avatar image
Question by maarten.vanhalst · Nov 20, 2018 at 03:55 AM · datastream-apidsws-apitime-series

Datastream Functions in DSWS

Within Datastream Web Service (DSWS), I want to use Datastream Functions (link) for time series, as they exist within the TR Datastream Excel plugin.

For example 'PCH#(X(P), 3M)'

When I do a static request for a single day, I get a result.

However, when I try a time serie, I got the error

"Error - please check instruments and parameters (time series or static)"

Are Datastream function not supported for time series in DSWS?

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 Monika.Stankovic · Nov 23, 2018 at 05:00 AM

@maarten.vanhalst

Unfortunately this symbol substitution function is not available in time series request in Python. We will be working on new version of Python add-in during 2019 and we will make sure this option is included.

For now what I would suggest is creating the request with PCH# function for separate instruments, like this:

ds.get_data(tickers='PCH#(VOD(P), -3M)’, 'PCH#(U:FB(P), -3M)’, fileds=’X’, start='20180731', freq='M')

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.

avatar image
REFINITIV
Answer by Monika.Stankovic · Nov 20, 2018 at 11:50 AM

@maarten.vanhalst

Hi Maarten,

DSWS supports functions however it is difficult to say what is causing the error message based on above description. Please paste this time series request, which will help replicate what you are seeing and help advise.

Kind regards,

Monika

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.

avatar image
Answer by maarten.vanhalst · Nov 20, 2018 at 02:23 PM

@Monika.Stankovic

Thank you for your reply.

I'll make it easyier: can you provide me an example (any API or Web Service, doesn't really matter) with a function (e.g. PCH#).

I ll try to find out where I went wrong myself.

I looked around in the documentations, and I found mutliple examples but none including a Datastream function.

Best regards,

Maarten

EDIT: I add my example anyway. But would still love to have a working example from your part.

For example in python, with ds is the pyDSWS.DataStream object and ids an identifier.

The static request

ds.get_data(ids, fields=['PCH#(X(P), 3M)'], date='20180731')

returns me the value for 2018-07-31

However the time series request

df = ds.get_data(ids, fields=['PCH#(X(P), 3M)'], start='20180731', freq='M')

returns an error:

Error - please check instruments and parameters (time series or static)


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

Related Questions

How to extract ESG Pillar Scores time series with TR function?

Converting Mnemonic to RIC and getting timeseries data (RI and NR) with EIKON Data API

Get time series data for each constituent in an equity index

Python API: can not request equity indices timeseries in EUR currency

Get Open net return prices

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges