BitMEX / api-connectors

Libraries for connecting to the BitMEX API.
https://www.bitmex.com/app/restAPI
910 stars 795 forks source link

Live stream on C# #129

Closed Spino1981 closed 6 years ago

Spino1981 commented 6 years ago

Is there a way to get a live stream from BitMex using C#? I see there is REST API but that would mean poll information at intervals. Is websocket available for C#? Or a way to use the node.js or python websocket to feed C#?

ryanfox commented 6 years ago

There is currently no C# websocket library. You can use the C# REST library in conjunction with delta-server to utilize websockets that way.

Spino1981 commented 6 years ago

Thank you for the reply, I see in the documentation that delta server requires node js, how does that work with C#? Luca

On Tue, 8 May 2018 at 02:22, Ryan Fox notifications@github.com wrote:

There is currently no C# websocket library. You can use the C# REST library in conjunction with delta-server https://github.com/BitMEX/api-connectors/tree/master/official-ws/delta-server to utilize websockets that way.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BitMEX/api-connectors/issues/129#issuecomment-387120234, or mute the thread https://github.com/notifications/unsubscribe-auth/AlMmzcdq15Im7an6pDegE8iUbj6th6elks5twHSsgaJpZM4TzluH .

ryanfox commented 6 years ago

It runs a server locally, that you can poll with any client you wish.