Answer
Money for leveraged trading comes from borrowable pool fund which is provided by Pionex. Technically, you are borrowing fund to pool that is provided by Pionex. This is also the same as margin trading, which bot of the bot is borrowing from the borrowable pool fund.