there is 404 error when subscribe crypto data feed
Changes:
avoid using f-string for enum
Ref:
log indicates that enum value is used for f-string replacement for this issue. CryptoFeed.US should be us in the very last line of the below.
>>> wss_client.run()
DEBUG:asyncio:Using selector: EpollSelector
INFO:alpaca.common.websocket:started data stream
INFO:alpaca.common.websocket:starting data websocket connection
DEBUG:websockets.client:= connection is CONNECTING
DEBUG:websockets.client:> GET /v1beta3/crypto/CryptoFeed.US HTTP/1.1
fixes #383
Context:
Changes:
Ref:
CryptoFeed.US
should beus
in the very last line of the below.You can test this by