Kensho stats: When yen surges, this does well

A man holds a Japanese 1,000 yen banknote as he shops at a store in Tokyo.
Tomohiro Ohsumi | Bloomberg | Getty Images

Japan's currency hit an 18-month high against the U.S. dollar on Tuesday, setting up a potential trade among a basket of asset classes, if history is any guide.

Year to date, the yen is already up more than 11 percent versus the U.S. dollar, as investors bet the aggressive phase of monetary stimulus in Japan may be over.

Using data from Kensho, a tool designed to analyze historical trends, CNBC Pro investigated the best way to play a . Since 1990, there have been five major periods of yen appreciation.