It is actually quite simple. Do what ever you want in your IB margin account. Buy/sell stocks, buy/sell your base currency into a foreign currency, buy/sell crosses not involving your base currency, etc. At the end of the day, your account has positive and/or negative cash balances in each...