The only way to avoid currency risk is to never trade outside the account's base currency. For example, if you have a margin account and trade a foreign security without converting funds prior your account will take on a short cash balance for the amount of the trade. This cash position will carry currency risk, of which you can view at the end of each day in the FX Translation Gain/Loss line in the Cash Report section of your Activity Statement. Please note, IBKR does not give any kind of trading advice and you need to decide how to manage any currency risk when trading in contracts denominated in a non-base currency or when holding non-base currency balances.
For more information, please visit the IBKR Knowledge Base and/or IBKR Short Videos. You may also view a related Finra Investor Alert titled "Currency Risk: Why it Matters to You".