book order download limit to increase performance even for a little bit

This commit is contained in:
Nullart
2018-06-15 11:07:25 +08:00
parent bd1ef7a813
commit 654c69c015
2 changed files with 6 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ def get_balances() -> dict:
@retrier
def get_order_book(pair: str, limit: Optional[int] = 1000) -> dict:
def get_order_book(pair: str, limit: Optional[int] = 100) -> dict:
try:
return _API.fetch_order_book(pair, limit)
except ccxt.NotSupported as e: