The sharemarket has opened lower, with mining giants and banks weighing on the index.