The Australian sharemarket finished the week in the red as banks and energy companies fell, while gold miners had another positive day.