Sector Returns?

Is there a method for getting the value of Returns for an entire Sector over n number of days based on the Sector ID?