does anyone received the message "
Error in print.default("HTTP Error, code= ", response$status_code, sep = "") :
invalid 'digits' argument" using get_data in R?
@marcelo.hiroki
I have tested with R and the code works fine.
You may need to set debug to TRUE in order to verify the retrieved response.
@marcelo.hiroki Can you please post your complete get_data API call. Are you able to replicate the issue with a supported Python library example?
hi, thaks for your help.
library("eikonapir")
df<-get_data(as.list ('GOOG.O','FB.O'),+ list ( 'TR.PriceClose'),debug = FALSE)Error in print.default("HTTP Error, code= ", response$status_code, sep = "") : invalid 'digits' argument
regarding python, no, we dont use python here. It needs to be in R
R is not an officially supported packages, so I won't be able to help with it. As far as the data call goes, it works fine. Here is the call result in Python:
>>> ek.get_data(['GOOG.O','FB.O'], fields=['TR.PriceClose'])( Instrument Price Close0 GOOG.O 1303.051 FB.O 197.51, None)