Please try to change the ‘user-agent’, which might have a play in the issue with ‘nasdaq.com’ [1]. If the issue still persists, have you tried to access the data from ‘nasdaq.com’ via other ways, such as writing codes or sending requests instead of using wget? This could possibly help isolate the issue.
Hope it helps!