A C# wrapper for the Poloniex WebSockets api
This package is available on NuGet.org under the name PoloniexWebSocketsApi.
Check this JavaScript file for api reference.
static async Task Main(string[] args) { PoloniexChannel poloniexChannel = new PoloniexChannel(); poloniexChannel.MessageArrived += OnMessageArrived; await poloniexChannel.ConnectAsync(); await poloniexChannel.SendAsync(new PoloniexCommand() { Channel = 1001, Command = PoloniexCommandType.Subscribe }); await poloniexChannel.SendAsync(new PoloniexCommand() { Channel = 1002, Command = PoloniexCommandType.Subscribe }); await poloniexChannel.SendAsync(new PoloniexCommand() { Channel = 1003, Command = PoloniexCommandType.Subscribe }); await poloniexChannel.SendAsync(new PoloniexCommand() { Channel = TickerSymbol.BTC_XMR, Command = PoloniexCommandType.Subscribe }); Console.ReadLine(); } private static void OnMessageArrived(JsonSerializer serializer, object message) { Console.WriteLine(message); }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4