alpacahq / alpacahq/alpaca-backtrader-api

Data websocket error with paper trading. Error code = 1002 (protocol error)

Ouverte
#379 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
702
Forks
160
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi,
I keep getting the following error when running any strategy (the sample python files) in paper trading mode. It was working before. Recently there has been some update in the alpaca trade api and I feel that maybe causing this error. I would appreciate any help regarding figuring out the cause and resolution for this type of error. The error message is below -

2022-03-23 14:11:54,810 starting stock data websocket connection
2022-03-23 14:11:56,289 connected to: wss://stream.data.alpaca.markets/v2/iex
2022-03-23 14:11:56,802 data websocket error, restarting connection: code = 1002 (protocol error), reason = received header with unexpected rsv bits set: true:false:false

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.