Buying or selling stocks and holding it in your account for a few days or weeks is swing trading. Investing in a stock with short time horizon to catch price movement over some news, earnings or market conditions is swing trading.

More information on swing trading click here.