Capital gain tax pls explain!!!!

  1. 7 Posts.
    Hi there if anyone could help me with some general queries and help me for below scenario.
    I have made $5000 profit on some of the shares so after 50% discount my gain is 2500. Now i have some shares i think will not give me anything in future so i am selling them for a loss so that my net income come down but my question is should i sell $5000 or $2500 to make my net gain 0. I mean does the loss count after the discount or before.
    Thanks
 
arrow-down-2 Created with Sketch. arrow-down-2 Created with Sketch.