-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Candles in websockets? #595
Comments
Streaming tickers is implemented in ExchangeSharp for many exchanges but not Kraken. If you'd like you submit an implementation as a Pull Request, we'd be happy to merge it! |
@vslee I'm not referring to tickers, but to OHLC candles. I thought that WS functionality for Kraken is supported, e.g. But my question is that in So to submit a PR I would need to add a new API method on the interface and presumably dummy versions for every other exchange, as well as doing the implementation? |
I see what you're saying, ExchangeSharp only had REST support for Candles, but not Websocket support. I just made a PR which adds Websocket support for candles. After my PR is merged, you can then add OHLC support to Kraken by overriding the |
* Add Candles (OHLC) websocket support in ExchangeAPI - part of #595 * changed GetCandlesWebSocketAsync() to allow for async callback
I notice that Kraken's WS API provides
ohlc
but as far as I can see ExchangeSharp only exposes the REST version.Is this a deliberate design or perhaps it's not seen as useful?
I wouldn't be surprised if there's already a utility class which will generate candles from the raw trades feed... I keep starting to write things then stumbling across existing implementations!
The text was updated successfully, but these errors were encountered: