rdb_to_xts function

Transform the data.table object into a xts object