alpaca-ts icon indicating copy to clipboard operation
alpaca-ts copied to clipboard

Crypto Support

Open lvnr opened this issue 2 years ago • 10 comments

Would love to see support added for crypto endpoints, especially for market data streams.

The API doesn't seem to be much different, I'm guessing most of the differences are in the endpoints.

lvnr avatar Feb 12 '22 21:02 lvnr

Agreed, will tag PR for this when I have time.

117 avatar Feb 13 '22 00:02 117

+1 to this ER

dimitri-deychak avatar Apr 03 '22 06:04 dimitri-deychak

Any updates on this @117 ?

dimitri-deychak avatar May 07 '22 17:05 dimitri-deychak

Any updates on this @117 ?

It's been a busy month. This addition is on my mind 🙂! I will tag you when I have added it.

117 avatar May 08 '22 05:05 117

I know its not cool to ask, but are there any updates for Crypto support😬

CloudProDk avatar Jul 01 '22 21:07 CloudProDk

I know its not cool to ask, but are there any updates for Crypto support😬

):

117 avatar Jul 01 '22 22:07 117

@117 Please make sure to use the latest (currently v1beta3) market data endpoints whenever you implement this!

gnvk avatar Apr 06 '23 13:04 gnvk

a major version change with support for crypto is happening. will tag PR here

117 avatar Apr 06 '23 16:04 117

v7 is on the way, you can track it here #113

117 avatar Apr 06 '23 18:04 117

I was also surprised that stream.subscribe("bars") only works for stocks as it uses this hardcoded URL:

https://github.com/alpacahq/alpaca-ts/blob/d4a2b7bae909f8c4e4d80752940c1a9cd60e7617/src/endpoints.ts#L13

@117 is it possible to change the base URL to wss://stream.data.alpaca.markets/v1beta3/crypto/us?

bennycode avatar Aug 24 '23 21:08 bennycode