Add limit to Binance trade synchronization
This commit is contained in:
parent
78adcd5485
commit
889fc3f889
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user