I'm trying to determine the current amount I am borrowing on margin using the iphone trading app and find myself getting really confused by the cash balances section at the bottom. I am not currently trading any currencies but I do have negative and positive cash balances in various foreign currencies, I believe because I own foreign stocks. But I don't actually remember opening some of those positions, and there are some I thought I closed in the past after I sold foreign stocks but which still seem to be open. Why would that be? Does IB open them automatically when I purchase a foreign stock? Am I able to close all of those foreign currency balances? If I want to accurately determine my current margin debt, can I do so by looking at one of these balances, and if so should I be looking at the USD cash or the total cash to determine it? Or somewhere else entirely? Thanks for your help!