How can I connect to polygon.io web socket via Alpaca?

69 Views Asked by At

Whenever I try to use the command:

wscat -c wss://alpaca.socket.polygon.io/stocks

I get the following error message displayed:

error: self-signed certificate

I'm using PyCharm on my 2022 MacBook Air. Can anyone help here?

  • tried this what I found online:

    npm config set strict-ssl=false

    did not work.

1

There are 1 best solutions below