[edited out]
If you are thinking of borrowing to invest then you should look further into yourself whether you can afford to do so or not.
Borrowing for investment may be a good idea, but you should have alternative repayment arrangements that can be repaid within a short period of time. If you are thinking of repaying the loan through investment profits, it is better not to because you cannot predict the market conditions. But if your buying luck is good or if you get dips then the profit potential is high with repayment of your loan.
One can question how rational it can be to invest with debt. But I can say from my personal opinion, investing with debt cannot be reasonable at all. Why would you invest with debt if you can pay off the debt in a short period of time after investing with debt? You can invest in self-financing a little later, when you have the money. Borrowing has some risky aspects. For example: after taking a loan, there is doubt about whether you can pay it back within a certain period of time, you may feel stress after taking a loan, you may have to repay the borrowed money before the time if the borrower is facing danger. When you invest with debt, you cannot create any kind of funds. Because, if you have the money to build the fund, you don't have to worry about borrowing money from anyone. What would you do if you were in danger? On the one hand, the thought of paying the debt, on the other hand, the thought of freeing oneself from danger. In such a situation you can think of withdrawing money from your investment. You may have suffered a loss then. Hence, the idea of investing with debt can become self-inflicted.