If one invests one lac in shares in a financial year and sells few shares after say 6 months earning Rs.20,000/. Howevever the value of shares of balance shares comes down because of crashing of market to the point that total shares value becomes say 90,000/= meaning total loss of Rs.10,000/=. Still one shall have to pay tax on Rs.20,000/ earned or no?