The head of my output looks like this; when I do str(output), it seems like it is a numeric of dimension 1, and I can't seem to extract the dates and obviously xts(output) doesn't work without the dates.
2018-01-02 2018-01-03 2018-01-04 2018-01-05 2018-01-08 2018-01-09 2018-01-10
0.000 6511.339 6575.760 6584.575 6653.247 6676.615 6677.939 6662.670