Deductions & credits

@Opus 17 

 

If we map the logic you mentioned, how the tax deduction will look like?

 
Just for an example:-
 
Usage of Funds:
Downpayment of an InvestmentProperty paid via all of the following, is eligible for interest deduction to offset rental income ?
 
Source of Funds can be:
1.)CashoutRefinance on primary
2.)CashoutRefinance on investment
3.)HELOC on primary 
4.)HELOC on investment
5.)MarginInterest 
6.)Credit Card Loan
 
Limitations:
Also is there a time limit, to show funds transfer made from loans to downPayment, to avoid losing eligibility?
Can i wait for 1-year for a better oppurtunity to arrive, and then use it for investment properties. Does that count for deduction?
Also, can i switch funds back and forth
For example, use it for:-
Stocks(First 6 months). 
Take Profit, and then invest in Rental Investment
Etc...