bitrich-info/xchange-stream

[Kraken] Adding addOrder and cancelOrder support

Closed this issue · 1 comments

Hello. First i would like to congratulate you for the excellent work that you have done the last days, in order to merge the project with Xchange! Thank you so much for putting your precious time in this project!!!

Right now i am trying to add support for sending addOrder and cancelOrder messages using the Kraken websocket. As you know Kraken websocket supports the sending of messages in order to add and cancel orders. The thing is that, in order to send these messages you don't need to create a subscription. Because of that, i do not know how to start in order to implement these features. All the implementations,we have done, had to do with subscriptions and because i haven't experiment with message sends using this library, i don't know which function should i use in order to send messages and receive a response back. All this time we have send a subscription message using the subscribeChannel method and it worked fine, because we didn't need to send anything else. So, i would really appreciate if you could tell me/guide me, which function on the streamingservice object should i use in order to send messages through websocket connection without subscribe to any channel. Thank you so much again!

I found it. I will make a PR in the week ahead