From 889fc3f8898310a8c206af96e37fb0060569fc51 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Wed, 18 Apr 2018 01:53:28 +0200 Subject: [PATCH] Add limit to Binance trade synchronization --- .../coinfolio/DataManagers/ExchangeManager/BinanceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java b/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java index 402394c..993715e 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java +++ b/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java @@ -82,7 +82,7 @@ public class BinanceManager { if(!symbol.equals(pairSymbol)) { try { - presentTrades = client.getMyTrades(symbol + pairSymbol); + presentTrades = client.getMyTrades(symbol + pairSymbol, 20); } catch (BinanceApiException e) { try {