public class BitKonanMarketdataDemo extends Object
BitKonanMarketdataDemo - simple example of OrderBook and Ticker API usage.
| Constructor and Description |
|---|
BitKonanMarketdataDemo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
requestAndPrintLatestTicker(PollingMarketDataService marketDataService) |
static void |
requestAndPrintOrderBook(PollingMarketDataService marketDataService) |
static void |
setUpExchange() |
public static void setUpExchange()
public static void requestAndPrintOrderBook(PollingMarketDataService marketDataService) throws IOException
IOExceptionpublic static void requestAndPrintLatestTicker(PollingMarketDataService marketDataService) throws IOException
IOExceptionCopyright © 2012–2016 Knowm Inc.. All rights reserved.