The Account window of the TWS lets you monitor every aspect of your account activity. Use the Available for Trading section to monitor your account values. Traders should review any line that is highlighted to ensure margin compliance. A securities account is considered to be in margin violation when the Maintenance Margin Requirement is above the Equity with Loan value.
Please watch our IBKR Short Video on how to monitor margin in real time.