The S&P/TSX composite index closed up 114.43 points at 14,904.91, adding to Monday's 137-point gain as the heavyweight mining, energy and financials sectors all trended higher.
In New York, the Dow Jones industrial closed up 24.29 points at 18,144.07, while the Nasdaq gained 6.12 points to a record 5,160.09 and the S&P 500 rose 1.35 points to 2,124.20.
Allan Small, senior investment adviser at Holliswealth, said the markets are trending higher as investors begin to bet that the Greek government will make a last-minute deal with creditors to stave off default and a potential exit from the euro.
"The markets, for a long time, have kind of anticipated that there would be a deal, but every time we heard some negative news it was an opportunity for the market to sell off," he said. "What you're seeing is that the markets are happy because of what's happening in Europe."
Greece faces the possibility of falling short on a 1.6-billion-euro loan repayment to the International Monetary Fund due by the end of the month if it doesn't reach an agreement to extend its current bailout deal with the European Union, which expires June 30.
The loonie was down 0.05 of a U.S. cent at 81.08 cents, and Small said the Canadian dollar could move even lower if the U.S. increases interest rates in the fall as is expected by many analysts.
"I don't believe an interest rate increase has been factored into the exchange rate as of yet," he said. "I think it's very possible that you could see our dollar fall more in the second half of this year."
In commodities, the August crude contract was up 63 cents at US$61.01 a barrel.
Small said the price of oil seems to have found an equilibrium that satisfies investors and doesn't have a significant impact on production.
"There's this point for the price of oil whereby you have a happy medium where the taps are not being opened and not being closed," he said.
August gold fell $7.50 to US$1,176.60 an ounce and July copper advanced almost five cents to US$2.61 a pound.
Amaya Inc. enjoyed a nice bounce on the Toronto Stock Exchange a day after chairman and CEO David Baazov was re-elected to the company's board at its annual general meeting despite an ongoing insider trading investigation by Quebec's securities regulator.
The stock (TSX:AYA) rose $1.29 or 3.63 per cent to $36.85 with more than one million shares changing hands, much heavier than its usual daily volume of some 650,000 shares.Suggest a correction