ROandaAPI icon indicating copy to clipboard operation
ROandaAPI copied to clipboard

Problem with InstrumentsList function

Open henrywjr opened this issue 7 years ago • 0 comments

Dear IFFranciscoME: Thank you for this wrapper, it is fantastic -- only problem that I am facing is that when I use InstrumentsList, an error appears:

Error in names(x) <- value : 
  'names' attribute [4] must be the same length as the vector [3]
Called from: `colnames<-`(`*tmp*`, value = c("Instrument", "DisplayName", 
    "PipSize", "MaxTradeUnits"))

I have narrowed it down to this particular line in the function:

QueryInst1 <- getURL(QueryInst,cainfo=system.file("CurlSSL","cacert.pem",
                                                    package="RCurl"),httpheader=auth)

Do you have any idea how I can fix it?

Really appreciate your effort!

Best wishes, Henrywjr

henrywjr avatar Dec 02 '17 06:12 henrywjr