diff --git a/pyalgotrading/algobulls/api.py b/pyalgotrading/algobulls/api.py index b0c405dd..3ee76883 100644 --- a/pyalgotrading/algobulls/api.py +++ b/pyalgotrading/algobulls/api.py @@ -9,7 +9,7 @@ import requests from .exceptions import AlgoBullsAPIBaseException, AlgoBullsAPIUnauthorizedErrorException, AlgoBullsAPIInsufficientBalanceErrorException, AlgoBullsAPIResourceNotFoundErrorException, AlgoBullsAPIBadRequestException, \ - AlgoBullsAPIInternalServerErrorException, AlgoBullsAPIForbiddenErrorException, AlgoBullsAPIGatewayTimeoutErrorException + AlgoBullsAPIInternalServerErrorException, AlgoBullsAPIForbiddenErrorException, AlgoBullsAPIGatewayTimeoutErrorException, AlgoBullsAPITooManyRequestsException from ..constants import TradingType, TradingReportType from ..utils.func import get_raw_response @@ -34,7 +34,6 @@ def __init__(self, connection): self.__key_papertrading = {} # strategy-cstc_id mapping self.__key_realtrading = {} # strategy-cstc_id mapping self.pattern = re.compile(r'(?