I have invested in US Stocks from INDIA using the brokerage account TD Ameritrade(now Charles Schwab) in 2021. I moved to USA on H1B Visa in Jan 2024 and currently working in USA and also I sold my stocks for profits in Feb 2024 . This year I will file tax returns in USA. Please note that I didn’t invest in stocks after I move to USA, I only sold the the US stocks invested from INDIA.
Could you please let me know where should I pay tax on my capital gains on the stocks ? in USA or INDIA ?