Whatever provides the lowest interest rate and most convenient cash flow
You can get margin loans as low as 1% - just be sure to keep margin ratio low to avoid margin calls in a severe downturn.
A mortgage works great - <3% for 30 year, <2% for 15 year at present
HELOCs and personal loans (and credit cards) best used for very short term due to higher rates