Unless you are trading out of an IRA you will have to pay taxes on the profits made from the sell. It doesn't matter if that money is reinvested or just sits in cash. You will still have to pay taxes on it. It will be taxed at what ever tax rate you fall under since it will be a short term transaction (less then one year holding).