coinbase / coinbase-advanced-py

The Advanced API Python SDK is a Python package that makes it easy to interact with the Coinbase Advanced API. The SDK handles authentication, HTTP connections, and provides helpful methods for interacting with the API.
https://docs.cdp.coinbase.com/advanced-trade/docs/welcome/
Apache License 2.0
101 stars 27 forks source link

How to specify granularity to Kline/Candlestick Streams? #46

Closed 5erpens closed 3 months ago

5erpens commented 3 months ago

How to specify granularity to Kline/Candlestick Streams? For example, in Binance or in KuCoin have something like this.

github-actions[bot] commented 3 months ago

Thank you for reporting! If this is an SDK specific issue, we will look into it and get back to you soon. If this is an API related request, report it in our Advanced API forum instead.

urischwartz-cb commented 3 months ago

Hi @5erpens, you can specify granularity for candles in our GetCandles REST endpoint as described in our docs here.

Our Websocket candles channel returns updates in buckets of 5 minutes as described here.

Since this is an API related question, rather than SDK specific, please reach out on our discord if you wish to follow up on this. Thank you!

5erpens commented 3 months ago

Hi @urischwartz-cb Thank you for your reply. It it possible to send me the Discord link again? not sure if that link is right. It is unfortunately not working. Thanks!!

urischwartz-cb commented 3 months ago

@5erpens yes this is the link: https://discord.com/channels/1220414409550336183/1220464268743278613

Does that not work for you?

5erpens commented 3 months ago

@urischwartz-cb Unfortunately it did not work :(

The link did not work so I tried to join it via native app but it says link is not valid. This is what I got:

Image removed

urischwartz-cb commented 3 months ago

Could you try just this link: https://discord.com/channels/1220414409550336183 That's the link to the Coinbase Developer Platform server, of which Advanced API is a sub-channel. If that doesn't work let me know and I will raise to the team.

5erpens commented 3 months ago

@urischwartz-cb The new link did not work. This is all I get.

image

Btw removed previous image. Hopefully did not doxed myself here in public lol.

urischwartz-cb commented 3 months ago

@5erpens can you try going through this invite link first: https://discord.com/invite/cdp

5erpens commented 3 months ago

This works! Thank you so much!!