private static void Main() { var client = new RealtimeApi(); client.Subscribe <Ticker>(PubnubChannel.TickerFxBtcJpy, OnReceive, OnConnect, OnError); Console.ReadKey(); }
public static void TestBitFlyer() { // Test the real-time API var api = new RealtimeApi(); api.Subscribe <Exchange.Clients.BitFlyer.Ticker>(PubnubChannel.TickerFxBtcJpy, OnReceive, OnConnect, OnError); Console.ReadKey(); }
private static void Main() { var client = new RealtimeApi(); var channelName = RealtimeChannel.TickerFxBtcJpy; client.Subscribe <Ticker>(channelName, OnReceive, OnConnect, OnError).Wait(); Console.ReadKey(); }