Add limit to Binance trade synchronization

This commit is contained in:
Tanguy Herbron 2018-04-18 01:53:28 +02:00
parent 78adcd5485
commit 889fc3f889

View File

@ -82,7 +82,7 @@ public class BinanceManager {
if(!symbol.equals(pairSymbol)) if(!symbol.equals(pairSymbol))
{ {
try { try {
presentTrades = client.getMyTrades(symbol + pairSymbol); presentTrades = client.getMyTrades(symbol + pairSymbol, 20);
} catch (BinanceApiException e) { } catch (BinanceApiException e) {
try { try {