If you sell your stock before the ex-dividend date, you also are selling away your right to the stock dividend. Your sale includes an obligation to deliver any shares acquired as a result of the dividend to the buyer of your shares, since the seller will receive an I.O.U. or "due bill" from his or her broker for the additional shares. Thus, it is ...
With securities lending, when you lend shares you don't have the right to dividends; the borrower does.
But you are talking about getting a personal loan collateralized by your securities. In this case you keep the shares and the dividends.
Here's how it works in the USA and I believe that it's the same in Canada:
The day that the public traded company declares an upcoming dividend payment to stockholders.
The first day on which a stockholder can sell their shares and still be entitled to receive the upcoming dividend payment.
The day which ...
While company valuation has merit, the company's value before and after the ex-div date doesn't determine share price on any given day because the stock market is an auction. It is the daily mindset of buyers and sellers that determines price (more buy volume than sell volume or vice versa) not some accounting analysis.
Share price is reduced on the ex-div ...
There is no bounce back because the new, lower, value is the correct value. So, depending on market fluctuations and economy, the stock may go up or down in similar way it was doing. So you are taking the same risk with buying as any other time in the year.