On Wed, Nov 18, 2020 at 01:03 AM, <jsheena@...> wrote:
Is there any way to get individual lot information through the API instead of the aggregate? Thank you in advance.
No, there isn't with IB. For your open positions they only provide the total shares and the total cost of buying these shares.
You would have to build and store your own database with the details of each trade. Then you can calculate yourself what you are looking for.