Interest paid on a loan used to fund an investment should offset income from that investment. If interest paid in 2018 is greater than the investment income in 2018, it should carry forward.
Interest paid on loans to acquire investment income assets, are limited to the income from investment income. The end up being an itemized deduction. Thus in TT, you would look at investment income; investment expenses and interest expense.
The following link might answer some of your questions