From 0cca9e0ba6ef174d6f51643357e0cf8cac98aac7 Mon Sep 17 00:00:00 2001 From: Dr-Nuke Date: Mon, 1 Jan 2024 22:12:48 +0100 Subject: [PATCH] urls adjusted. InLieu Type added --- ibflex/Types.py | 1 + ibflex/client.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ibflex/Types.py b/ibflex/Types.py index 793489f..c8735e7 100644 --- a/ibflex/Types.py +++ b/ibflex/Types.py @@ -575,6 +575,7 @@ class CashReportCurrency(FlexElement): paymentInLieu: Optional[decimal.Decimal] = None paymentInLieuSec: Optional[decimal.Decimal] = None paymentInLieuCom: Optional[decimal.Decimal] = None + paymentInLieuIBUKL: Optional[decimal.Decimal] = None transactionTax: Optional[decimal.Decimal] = None transactionTaxSec: Optional[decimal.Decimal] = None transactionTaxCom: Optional[decimal.Decimal] = None diff --git a/ibflex/client.py b/ibflex/client.py index 041f53a..95db79f 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/' +REQUEST_URL = FLEX_URL + 'FlexWebService/SendRequest' +STMT_URL = FLEX_URL + 'FlexWebService/GetStatement' ###############################################################################