alpacahq / alpaca-trade-api-python

Python client for Alpaca's trade API
https://pypi.org/project/alpaca-trade-api/
Apache License 2.0
1.73k stars 535 forks source link

[Bug]: Fail to connect crypto streaming #784

Open KisCsaj68 opened 3 days ago

KisCsaj68 commented 3 days ago

Is there an existing issue for this?

Current Behavior

Try to connect to crypto streaming, gives me 404.

data websocket error, restarting connection: server rejected WebSocket connection: HTTP 404

Expected Behavior

The connection succeeds.

SDK Version I encountered this issue in

3.2.0 (currently the latest)

Steps To Reproduce

1. Instantiate the stream
2. Subscribe to the crypto stream
3. Call run on the stream

Filled out the Steps to Reproduce section?

Anything else?

No response

hiohiohio commented 1 day ago

@KisCsaj68 hey thank you for the feedback and PR. Could you please try to use alpaca-py instead as we have deprecated this alpaca-trader-api-python. If you have a feature which only have alpaca-trader-api-python and not in alpaca-py, please let us know.