diff --git a/ibflex/Types.py b/ibflex/Types.py index 6ab7555..648598f 100644 --- a/ibflex/Types.py +++ b/ibflex/Types.py @@ -833,6 +833,7 @@ class CashReportCurrency(FlexElement): slbNetSettledCashSec: Optional[decimal.Decimal] = None slbNetSettledCashCom: Optional[decimal.Decimal] = None slbNetSettledCashPaxos: Optional[decimal.Decimal] = None + otherIncomePaxos: Optional[decimal.Decimal] = None @dataclass(frozen=True) diff --git a/ibflex/client.py b/ibflex/client.py index f203e8b..b7c9fb4 100755 --- a/ibflex/client.py +++ b/ibflex/client.py @@ -19,9 +19,9 @@ ############################################################################### # SERVICE LOCATIONS ############################################################################### -FLEX_URL = 'https://gdcdyn.interactivebrokers.com/Universal/servlet/' -REQUEST_URL = FLEX_URL + 'FlexStatementService.SendRequest' -STMT_URL = FLEX_URL + 'FlexStatementService.GetStatement' +FLEX_URL = 'https://ndcdyn.interactivebrokers.com/AccountManagement/FlexWebService/' +REQUEST_URL = FLEX_URL + 'SendRequest' +STMT_URL = FLEX_URL + 'GetStatement' ############################################################################### @@ -136,8 +136,6 @@ def request_statement( """First part of the 2-step download process. """ url = url or REQUEST_URL - ### AKE FIX - url = 'https://ndcdyn.interactivebrokers.com/portal.flexweb/api/v1/flexQuery' response = submit_request(url, token, query=query_id) stmt_access = parse_stmt_response(response) if isinstance(stmt_access, StatementError):