Closed alessiocastrica closed 11 months ago
When I subscribe to the websocket for both crypto or stocks I get a pydantic validation Error for the Trade, Quote and Bar models.
No response
v0.11.0
from alpaca.data.live import StockDataStream stream = StockDataStream( api_key=BROKER_KEY, secret_key=BROKER_SECRET, url_override="wss://stream.data.sandbox.alpaca.markets/v2/iex", ) symbol = "AAPL" async def handler(data): print(data) stream.subscribe_quotes(handler, symbol) stream.subscribe_trades(handler, symbol) stream.run()
Is there an existing issue for this?
Current Behavior
When I subscribe to the websocket for both crypto or stocks I get a pydantic validation Error for the Trade, Quote and Bar models.
Expected Behavior
No response
SDK Version I encountered this issue in
v0.11.0
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
No response