2 edited tags
| link
source | link

Question about taxes on stock in the USA

I bought 1000 of stock A at price of 20. Two hours later, the stock price for A went down to 17, and I bought 1000 more of them, and two hours later, the stock price reached 19, and I sold all 2000 stocks.

Will I be taxed on the profit: 2000*19 - 1000*17 - 1000*20 = 1000 or some other amount?

Any help would be greatly appreciated.