Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

Buying and selling the same stock
I think what you're asking is,  Can I buy 1000 shares of the stock at $1.  For $1000.   it goes up to $2, then sell 500 shares of the stock with proceeds of $1000, now   having my original $1000 out of it, and still owning 500 shares.    And that not create a taxable event. Since all I   did was take my cost basis back out, and didn't collect any gains.   And then I want to repeat that over and over. Nope, not in the USA anyway.   Each sale is a separate taxable event. The first sale will have proceeds of $1000 and a cost basis of $500, with $500 of capital gains, and taxes owed at the time of that sale. The remaining stock will have a cost basis of $500 and proceeds of whatever you sell it for in the future. The next batch of stock will have a cost basis of whatever you pay for it.   The only thing that works anything like the way you're thinking, is a Roth IRA...   You can put your cost basis in, pull it back out, and put it back in again, all tax free.   But every time your cost basis cycles in, that counts towed your contribution limits unless you do it fast enough to call it a rollover.