andre77 / bittrex-ws-java

Bittrex Websocket Java-Client
13 stars 2 forks source link

How to get orderbook #5

Open anhtuantt opened 5 years ago

anhtuantt commented 5 years ago

Hello, It's great to have a java example code for signalr and Bittrex, I want to learn the source code, and the first example is getting orderbook, but the result are empty? What's wrong with this library? Of course, please show me the way to fix, i will try to fix and contribute back to this repository. Here is the code: BittrexWS ws = new BittrexWS(); System.out.println(ws.getOrderBook(new CurrencyPair("BTC/USDT")));

Thanks, Tuan Nguyen.

andre77 commented 5 years ago

hi @anhtuantt , no idea, what's wrong on your side. if i run the example, the result is not empty

see the Main class run it with

./gradlew myRun

type ie 'o BTC/USDT' and press enter