예제 #1
0
        private static void Main()
        {
            var client = new RealtimeApi();

            client.Subscribe <Ticker>(PubnubChannel.TickerFxBtcJpy, OnReceive, OnConnect, OnError);

            Console.ReadKey();
        }
예제 #2
0
        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();
        }
예제 #3
0
        private static void Main()
        {
            var client      = new RealtimeApi();
            var channelName = RealtimeChannel.TickerFxBtcJpy;

            client.Subscribe <Ticker>(channelName, OnReceive, OnConnect, OnError).Wait();

            Console.ReadKey();
        }