The share market has capped off its best week in almost four years as strength in the financial and resources sectors drove a fifth straight day of gains.

The share market has capped off its best week in almost four years as strength in the financial and resources sectors drove a fifth straight day of gains.