This guide walks you through setting up Interactive Brokers (IBKR) Flex Queries for comprehensive daily portfolio data capture. The data can be used for transaction cost analysis, risk management, ...