interactive-brokers-api icon indicating copy to clipboard operation
interactive-brokers-api copied to clipboard

portfolio_analysis service erroring out

Open crtamaz opened this issue 4 years ago • 2 comments

Hi @areed1192, portfolio_analysis service endpoints (i.e: account_performance, account_summary, etc.) are throwing HTTPError exception. Do you know what could be causing this?

crtamaz avatar Aug 27 '21 14:08 crtamaz

Hey @crtamaz it looks like i am getting a lot of HTTPErrors as well with the various requests. I wonder if Interactive Brokers is updating the API calls making the requests from inside the python invalid? Just an idea, ill keep debugging and if i figure it out ill let you know

sweiler6420 avatar Oct 18 '21 03:10 sweiler6420

The issue is with your "account_number" variable. It does use the variable from the ibc_client, but the one you pass into each endpoint function. Once fixed, everything works.

syntaxsdev avatar Jan 03 '22 00:01 syntaxsdev