After installing the latest commit df672d2, the downloading of the statement stopped working.
I have reviewed the code changes and there is following code in client.py:
def request_statement(
token: str, query_id: str, url: Optional[str] = None
) -> StatementAccess:
"""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'
...
So no matter what url is provided, it is always overwritten.
After removing the line with the hardcoded url, it works again.
After installing the latest commit df672d2, the downloading of the statement stopped working.
I have reviewed the code changes and there is following code in client.py:
So no matter what url is provided, it is always overwritten.
After removing the line with the hardcoded url, it works again.