IBKR Account info acquirement automatically through API/development

I hope to use the information of my IB account to do some non-high-frequency operations through code development.

The features provided by the Client Portal API are sufficient, but according to the official documentation, for security reasons, the Client Portal API requires users to manually log in every day.

This is the opposite of what I wanted. Is there any other possible solution?

r/interactivebrokers - IBKR Account info acquirement automatically through API/development

Reference: https://interactivebrokers.github.io/cpwebapi/authentication

Hi,



We are not aware of any possible solution to this for the Client Portal API, as this is a security measure to ensure the safety of your account. However, you can check the TWS API documentation once if they have a different time period of authentication as compared to the Client Portal API. Alternatively, you can also check with the IBKR support team for any plausible solutions to this.