xts error - order.by requires an appropriate time-based object
- by Samo
I can not resolve why error in simple creation of xts object
xts(rep(0, NROW(TICK.NYSE)), order.by = index(TICK.NYSE))
Error in xts(rep(0, NROW(TICK.NYSE)), order.by = index(TICK.NYSE)) :
order.by requires an appropriate time-based object
appeared while this was working perfectly 14 days ago when I last used the same code (since then the…