You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in bdh_Impl(con, securities, fields, start.date, end.date, options, :
Attempt to access value of element 'PX_VOLUME'(type: 'Float64') as 'Int32' type.
But, if I set int.as.double = TRUE everything works fine.
The error seems to be dependent on the required time horizon, if I just query one year instead of 10 years of historic data and set start.date = Sys.Date()-365 instead of start.date = Sys.Date()-365*10 the function works fine with both, int.as.double = TRUE and int.as.double = FALSE.
However, for me the best solution is to set the default of int.as.double to TRUE.
Could you advise on this?
The text was updated successfully, but these errors were encountered:
There seems to be a problem in bdh() since the implementation of the function argument
int.as.double
. Please try the following:This ends up in the following error:
But, if I set
int.as.double = TRUE
everything works fine.The error seems to be dependent on the required time horizon, if I just query one year instead of 10 years of historic data and set
start.date = Sys.Date()-365
instead ofstart.date = Sys.Date()-365*10
the function works fine with both,int.as.double = TRUE
andint.as.double = FALSE
.However, for me the best solution is to set the default of
int.as.double
toTRUE
.Could you advise on this?
The text was updated successfully, but these errors were encountered: