play the market
US /pleɪ ðə ˈmɑːr.kɪt/
UK /pleɪ ðə ˈmɑːr.kɪt/

1.
to buy and sell shares, goods, or currencies in the hope of making a profit from changes in their value
:
•
He decided to play the market with his inheritance, hoping to get rich quickly.
•
It takes a lot of knowledge and risk to successfully play the market.