xchange-stream icon indicating copy to clipboard operation
xchange-stream copied to clipboard

Trade Type is always ASK on Poloniex2

Open stepanurban opened this issue 6 years ago • 2 comments

Hi all, I use simple example for LTC/BTC on Ploniex exchange.getStreamingMarketDataService().getTrades(pair).subscribe(trade -> { System.out.println(trade); }, throwable -> LOG.error("ERROR in getting trades: ", throwable));

and I receive trade Type always ASK Trade [type=ASK, originalAmount=0.06207470, currencyPair=LTC/BTC, price=0.02003588, timestamp=Thu Mar 15 13:48:39 CET 2018, id=15433354] Trade [type=ASK, originalAmount=2E-8, currencyPair=LTC/BTC, price=0.02004129, timestamp=Thu Mar 15 13:48:39 CET 2018, id=15433355]

On Poloniex website there is true value 2018-03-15 12:48:39 Buy 0.02004129 0.00000002 0.00000000 2018-03-15 12:48:39 Sell 0.02003588 0.06207470 0.00124372 Can it be corrected in some way

Thanks Stepan

stepanurban avatar Mar 15 '18 13:03 stepanurban

@stepanurban Can you check if this still occurs with the 4.3.11 release?

Flemingjp avatar Oct 30 '18 11:10 Flemingjp

still occurs in 4.3.16

jkolobok avatar Oct 31 '19 07:10 jkolobok