Closed wilsonfreitas closed 2 years ago
The message error claims for a calendar but the missing arguments are term or from, to dates.
> as.spotrate(i, daycount='business/252', calendar=cal) Error in compound.spotrate(obj, term) : Missing calendar > as.spotrate(i, '1 days', daycount='business/252', calendar=cal) 0.0955667 discrete business/252 ANBIMA
The message error claims for a calendar but the missing arguments are term or from, to dates.