The current get_portfolio function calls the positions endpoint with fixed pageId=0 and will not return all positions if the portfolio contains more than 100 positions.
I added get_portfolio_paginated which goes through all pages until the response is empty. It also adds conId to the response objects.
The current
get_portfolio
function calls the positions endpoint with fixed pageId=0 and will not return all positions if the portfolio contains more than 100 positions.I added
get_portfolio_paginated
which goes through all pages until the response is empty. It also adds conId to the response objects.