The get_currency function returns a data.frame or xts object with bid and ask columns. This object has no reference to the original currency symbol, so it might be lost if the assignment doesn't name the variable properly.
In order to correct that a new attribute containing the symbol must be set in the returned object.
The get_currency function returns a data.frame or xts object with bid and ask columns. This object has no reference to the original currency symbol, so it might be lost if the assignment doesn't name the variable properly. In order to correct that a new attribute containing the symbol must be set in the returned object.