79781684

Date: 2025-10-03 10:52:44
Score: 1
Natty:
Report link

Any updates on that ?

I'm trying to get real-time crypto feed but... invalid syntax

I successfully stream stock prices (websocket),

but when I try to do that with crypto ( https://docs.alpaca.markets/docs/real-time-crypto-pricing-data )

I'm connected, then authenticated, but when I try to subscribe: 400 invalid syntax

also the same happens with example python code using alpaca_trade_api - error: invalid syntax (400)

I'm sending

{"action":"subscribe","quotes":["BTC/USD"], "feed":"crypto"}

also tried without "feed":"crypto"

and also "bars":["BTC/USD"]

and symbol BTCUSD

what's the proper format? and why even official python lib doesn't work ?

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: razor