From 5bd9613f47244a42c270313af1a0a0e39df5a127 Mon Sep 17 00:00:00 2001 From: Pavel Chertalev Date: Wed, 4 Dec 2019 16:26:38 +0300 Subject: [PATCH] #448 revew fix - order timestamp more accurate now --- .../bitrich/xchangestream/kraken/KrakenOrderBookUtils.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java b/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java index 0062f373a..0d8013ee3 100644 --- a/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java +++ b/xchange-kraken/src/main/java/info/bitrich/xchangestream/kraken/KrakenOrderBookUtils.java @@ -87,10 +87,6 @@ public static KrakenPublicOrder extractKrakenPublicOrder(List list) { return new KrakenPublicOrder( new BigDecimal(list.get(0)).stripTrailingZeros(), new BigDecimal(list.get(1)).stripTrailingZeros(), - - //TODO: The XChange Kraken orderbook timestamp is a seconds format since epoch. - // But websocket order's timestamp is more accurate. It is required to improve the XChange Kraken for supporting higher precision. - // XChange method to fix: org.knowm.xchange.kraken.KrakenAdapters.adaptOrders new BigDecimal(list.get(2)).multiply(BIG_DECIMAL_1000).longValue() ); }