The Australian sharemarket posts cautious gains after Wall Street’s rollercoaster ride sent US stocks higher overnight.