ts_index function

Indices from Levels or Percentage Rates