Gold struggles amid trade optimism