Calculating the daily sums for multiple columns in xts files

Could you please turn this into a minimal REPRoducible EXample (reprex) including sample data on a copy/paste friendly format? A reprex makes it much easier for others to understand your issue and figure out how to help.