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 jennys · Jun 21 at 02:56 AM · datastreamdatastreamdsws2rrstudio

Running a Datastream request with more than 50 instruments per request in R Studio

Hi,
I'm tyring to run a static request for a list of stocks in "orig_sample" and get the following error message. Why am I getting this error message - is it because my "orig_sample" contains more than 50 instruments (ie, stock codes)?

static <- mydsws$snapshotRequest(instrument = orig_sample, datatype = c("NAME", "ISIN", "BETA", "ESTAT", "WC07015","INDX" ), requestDate = "0D")
Error requesting data.  HTTP message was: Server error : Internal Server Error : Server error: (500) Internal Server Error
Error in .self$.processSnapshot(format = format, myNumDatatype = myNumDatatype,  : 
  No names to use as column headings in Snapshot.  Items returned for Datatype 1.  Items in Datatype  |

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Monika.Stankovic · Jul 05 at 08:31 AM

@jennys

As we discussed offline there is possibility to divide the file for example:

mydsws <- dsws$new()

myData1 <- mydsws$snapshotRequest(instrument = orig_sample[1:50], datatype = c("NAME", "ISIN", "BETA", "ESTAT", "WC07015", "INDX"), requestDate = "0D")

mydsws <- dsws$new()

myData2 <- mydsws$snapshotRequest(instrument = orig_sample[50:76], datatype = c("NAME", "ISIN", "BETA", "ESTAT", "WC07015", "INDX"), requestDate = "0D")

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 Marvin · Jul 25 at 05:59 AM

As far as I understood the pdf-File "DSWS for Desktop - user stats and limits", the wording is "advice" rather than a strict limit for up to 50 instruments. If this is not the case, and it is a limit, is it possible to increase that limit individually?

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

Related Questions

How to get month end data in timeseries request in R 1 Answer

How to get time series of forecast data in R API 2 Answers

How to use Data Type "WC07015 - Inactive date (Security)" output 1 Answer

Package DatastreamDSWS2R error requesting acces Token 3 Answers

I can access DSWS via Excel but not via DatastreamDSWS2R 1 Answer

  • 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
  • Elektron Data Platform
  • 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
  • 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