play the market
play the market {v. phr.}
To try to make money on the stock market by buying and selling stocks,
John lost all his savings playing the market.
Sometimes Mr. Smith makes a lot of money when he plays the market, and sometimes he loses.
Categories:
Source: A Dictionary of American Idioms